From 8dd73f4635c58f8a0419a566c1c565e64f4bea14 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Thu, 14 May 2020 11:18:45 -0700 Subject: [PATCH] Remove kokoro build scripts and configs --- test/kokoro-nodejs-build-test.bat | 23 ------------- test/kokoro-nodejs-build-test.sh | 20 ----------- test/kokoro/linux-build-nodejs.cfg | 19 ----------- test/kokoro/macos-build-nodejs.cfg | 19 ----------- test/kokoro/windows-build-nodejs.cfg | 19 ----------- tools/release/kokoro-grpc-tools.bat | 27 --------------- tools/release/kokoro-grpc-tools.sh | 37 --------------------- tools/release/kokoro/linux-grpc-tools.cfg | 25 -------------- tools/release/kokoro/macos-grpc-tools.cfg | 25 -------------- tools/release/kokoro/windows-grpc-tools.cfg | 25 -------------- 10 files changed, 239 deletions(-) delete mode 100644 test/kokoro-nodejs-build-test.bat delete mode 100755 test/kokoro-nodejs-build-test.sh delete mode 100644 test/kokoro/linux-build-nodejs.cfg delete mode 100644 test/kokoro/macos-build-nodejs.cfg delete mode 100644 test/kokoro/windows-build-nodejs.cfg delete mode 100644 tools/release/kokoro-grpc-tools.bat delete mode 100755 tools/release/kokoro-grpc-tools.sh delete mode 100644 tools/release/kokoro/linux-grpc-tools.cfg delete mode 100644 tools/release/kokoro/macos-grpc-tools.cfg delete mode 100644 tools/release/kokoro/windows-grpc-tools.cfg diff --git a/test/kokoro-nodejs-build-test.bat b/test/kokoro-nodejs-build-test.bat deleted file mode 100644 index ea45c3f8..00000000 --- a/test/kokoro-nodejs-build-test.bat +++ /dev/null @@ -1,23 +0,0 @@ -@rem Copyright 2019 gRPC authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem http://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. - -cd /d %~dp0 -cd .. - -call ./tools/release/kokoro-grpc-tools.bat || goto :error - -goto :EOF - -:error -exit /b 1 \ No newline at end of file diff --git a/test/kokoro-nodejs-build-test.sh b/test/kokoro-nodejs-build-test.sh deleted file mode 100755 index d3b2a546..00000000 --- a/test/kokoro-nodejs-build-test.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# Copyright 2019 gRPC authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -e -cd $(dirname $0)/.. -base_dir=$(pwd) - -./tools/release/kokoro-grpc-tools.sh \ No newline at end of file diff --git a/test/kokoro/linux-build-nodejs.cfg b/test/kokoro/linux-build-nodejs.cfg deleted file mode 100644 index ba2f49f2..00000000 --- a/test/kokoro/linux-build-nodejs.cfg +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2018 gRPC authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Config file for Kokoro (in protobuf text format) - -# Location of the continuous shell script in repository. -build_file: "grpc-node/test/kokoro-nodejs-build-test.sh" -timeout_mins: 60 diff --git a/test/kokoro/macos-build-nodejs.cfg b/test/kokoro/macos-build-nodejs.cfg deleted file mode 100644 index ba2f49f2..00000000 --- a/test/kokoro/macos-build-nodejs.cfg +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2018 gRPC authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Config file for Kokoro (in protobuf text format) - -# Location of the continuous shell script in repository. -build_file: "grpc-node/test/kokoro-nodejs-build-test.sh" -timeout_mins: 60 diff --git a/test/kokoro/windows-build-nodejs.cfg b/test/kokoro/windows-build-nodejs.cfg deleted file mode 100644 index 87f44370..00000000 --- a/test/kokoro/windows-build-nodejs.cfg +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2018 gRPC authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Config file for Kokoro (in protobuf text format) - -# Location of the continuous shell script in repository. -build_file: "grpc-node/test/kokoro-nodejs-build-test.bat" -timeout_mins: 60 diff --git a/tools/release/kokoro-grpc-tools.bat b/tools/release/kokoro-grpc-tools.bat deleted file mode 100644 index 6b1e2fb4..00000000 --- a/tools/release/kokoro-grpc-tools.bat +++ /dev/null @@ -1,27 +0,0 @@ -@rem Copyright 2019 gRPC authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem http://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. - -cd /d %~dp0 -cd ../.. - -git submodule update --init --recursive - -@rem make sure msys binaries are preferred over cygwin binaries -set PATH=C:\tools\msys64\usr\bin;%PATH% -set ARTIFACTS_OUT=%cd%/artifacts -powershell -File ./packages/grpc-tools/build_binaries.ps1 || goto :error -goto :EOF - -:error -exit /b 1 \ No newline at end of file diff --git a/tools/release/kokoro-grpc-tools.sh b/tools/release/kokoro-grpc-tools.sh deleted file mode 100755 index 267d6cc2..00000000 --- a/tools/release/kokoro-grpc-tools.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -# Copyright 2019 gRPC authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Deleting Ruby. -rm -rf ~/.rvm - -set -e -cd $(dirname $0)/../.. -base_dir=$(pwd) - -OS=$(uname) - -git submodule update --init --recursive - -uname -a - -case $OS in -Linux) - docker build -t kokoro-native-image tools/release/native - docker run -v /var/run/docker.sock:/var/run/docker.sock -v $base_dir:$base_dir -e ARTIFACTS_OUT=$base_dir/artifacts kokoro-native-image $base_dir/packages/grpc-tools/build_binaries.sh - ;; -Darwin) - ARTIFACTS_OUT=$base_dir/artifacts ./packages/grpc-tools/build_binaries.sh - ;; -esac \ No newline at end of file diff --git a/tools/release/kokoro/linux-grpc-tools.cfg b/tools/release/kokoro/linux-grpc-tools.cfg deleted file mode 100644 index 0925db77..00000000 --- a/tools/release/kokoro/linux-grpc-tools.cfg +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2019 gRPC authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Config file for Kokoro (in protobuf text format) - -# Location of the continuous shell script in repository. -build_file: "grpc-node/tools/release/kokoro-grpc-tools.sh" -timeout_mins: 60 -action { - define_artifacts { - regex: "github/grpc-node/artifacts/**", - strip_prefix: "github/grpc-node/artifacts" - } -} diff --git a/tools/release/kokoro/macos-grpc-tools.cfg b/tools/release/kokoro/macos-grpc-tools.cfg deleted file mode 100644 index 0925db77..00000000 --- a/tools/release/kokoro/macos-grpc-tools.cfg +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2019 gRPC authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Config file for Kokoro (in protobuf text format) - -# Location of the continuous shell script in repository. -build_file: "grpc-node/tools/release/kokoro-grpc-tools.sh" -timeout_mins: 60 -action { - define_artifacts { - regex: "github/grpc-node/artifacts/**", - strip_prefix: "github/grpc-node/artifacts" - } -} diff --git a/tools/release/kokoro/windows-grpc-tools.cfg b/tools/release/kokoro/windows-grpc-tools.cfg deleted file mode 100644 index db649afc..00000000 --- a/tools/release/kokoro/windows-grpc-tools.cfg +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2019 gRPC authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Config file for Kokoro (in protobuf text format) - -# Location of the continuous shell script in repository. -build_file: "grpc-node/tools/release/kokoro-grpc-tools.bat" -timeout_mins: 60 -action { - define_artifacts { - regex: "github/grpc-node/artifacts/**", - strip_prefix: "github/grpc-node/artifacts" - } -}