From 64f715d0e4e8e3431b3aac6aa9ed80c7cab8d694 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Fri, 7 Feb 2020 13:36:28 -0800 Subject: [PATCH] Add electron 8.0 --- .../tools/buildgen/gen_build_yaml.py | 2 +- .../kokoro/linux/electron_8.0_ia32_glibc.cfg | 39 +++++++++++++++++++ .../kokoro/linux/electron_8.0_x64_glibc.cfg | 39 +++++++++++++++++++ .../kokoro/macos/electron_8.0_ia32.cfg | 35 +++++++++++++++++ .../release/kokoro/macos/electron_8.0_x64.cfg | 35 +++++++++++++++++ .../kokoro/windows/electron_8.0_ia32.cfg | 35 +++++++++++++++++ .../kokoro/windows/electron_8.0_x64.cfg | 35 +++++++++++++++++ 7 files changed, 219 insertions(+), 1 deletion(-) create mode 100644 tools/release/kokoro/linux/electron_8.0_ia32_glibc.cfg create mode 100644 tools/release/kokoro/linux/electron_8.0_x64_glibc.cfg create mode 100644 tools/release/kokoro/macos/electron_8.0_ia32.cfg create mode 100644 tools/release/kokoro/macos/electron_8.0_x64.cfg create mode 100644 tools/release/kokoro/windows/electron_8.0_ia32.cfg create mode 100644 tools/release/kokoro/windows/electron_8.0_x64.cfg diff --git a/packages/grpc-native-core/tools/buildgen/gen_build_yaml.py b/packages/grpc-native-core/tools/buildgen/gen_build_yaml.py index 998e48f8..17e746a6 100644 --- a/packages/grpc-native-core/tools/buildgen/gen_build_yaml.py +++ b/packages/grpc-native-core/tools/buildgen/gen_build_yaml.py @@ -21,7 +21,7 @@ import sys import yaml node_versions = ["4", "5", "6", "7", "8", "9", "10", "11", "12", "13"] -electron_versions = ["1.0", "1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", "1.8", "2.0", "3.0", "3.1", "4.1", "4.2", "5.0", "6.0", "6.1", "7.0", "7.1"] +electron_versions = ["1.0", "1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", "1.8", "2.0", "3.0", "3.1", "4.1", "4.2", "5.0", "6.0", "6.1", "7.0", "7.1", "8.0"] def gen_linux_configs(): configs = [] diff --git a/tools/release/kokoro/linux/electron_8.0_ia32_glibc.cfg b/tools/release/kokoro/linux/electron_8.0_ia32_glibc.cfg new file mode 100644 index 00000000..b0b86657 --- /dev/null +++ b/tools/release/kokoro/linux/electron_8.0_ia32_glibc.cfg @@ -0,0 +1,39 @@ +# Copyright 2020 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) + +build_file: "grpc-node/packages/grpc-native-core/tools/run_tests/artifacts/build_one_artifact_linux.sh" +env_vars { + key: "RUNTIME" + value: "electron" +} +env_vars { + key: "ARCH" + value: "ia32" +} +env_vars { + key: "VERSION" + value: "8.0.0" +} +env_vars { + key: "LIBC" + value: "glibc" +} +action { + define_artifacts { + regex: "github/grpc-node/artifacts/**", + strip_prefix: "github/grpc-node/artifacts" + } +} diff --git a/tools/release/kokoro/linux/electron_8.0_x64_glibc.cfg b/tools/release/kokoro/linux/electron_8.0_x64_glibc.cfg new file mode 100644 index 00000000..2e79736f --- /dev/null +++ b/tools/release/kokoro/linux/electron_8.0_x64_glibc.cfg @@ -0,0 +1,39 @@ +# Copyright 2020 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) + +build_file: "grpc-node/packages/grpc-native-core/tools/run_tests/artifacts/build_one_artifact_linux.sh" +env_vars { + key: "RUNTIME" + value: "electron" +} +env_vars { + key: "ARCH" + value: "x64" +} +env_vars { + key: "VERSION" + value: "8.0.0" +} +env_vars { + key: "LIBC" + value: "glibc" +} +action { + define_artifacts { + regex: "github/grpc-node/artifacts/**", + strip_prefix: "github/grpc-node/artifacts" + } +} diff --git a/tools/release/kokoro/macos/electron_8.0_ia32.cfg b/tools/release/kokoro/macos/electron_8.0_ia32.cfg new file mode 100644 index 00000000..01b9e92f --- /dev/null +++ b/tools/release/kokoro/macos/electron_8.0_ia32.cfg @@ -0,0 +1,35 @@ +# Copyright 2020 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) + +build_file: "grpc-node/packages/grpc-native-core/tools/run_tests/artifacts/build_one_artifact_macos.sh" +env_vars { + key: "RUNTIME" + value: "electron" +} +env_vars { + key: "ARCH" + value: "ia32" +} +env_vars { + key: "VERSION" + value: "8.0.0" +} +action { + define_artifacts { + regex: "github/grpc-node/artifacts/**", + strip_prefix: "github/grpc-node/artifacts" + } +} diff --git a/tools/release/kokoro/macos/electron_8.0_x64.cfg b/tools/release/kokoro/macos/electron_8.0_x64.cfg new file mode 100644 index 00000000..dec384ed --- /dev/null +++ b/tools/release/kokoro/macos/electron_8.0_x64.cfg @@ -0,0 +1,35 @@ +# Copyright 2020 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) + +build_file: "grpc-node/packages/grpc-native-core/tools/run_tests/artifacts/build_one_artifact_macos.sh" +env_vars { + key: "RUNTIME" + value: "electron" +} +env_vars { + key: "ARCH" + value: "x64" +} +env_vars { + key: "VERSION" + value: "8.0.0" +} +action { + define_artifacts { + regex: "github/grpc-node/artifacts/**", + strip_prefix: "github/grpc-node/artifacts" + } +} diff --git a/tools/release/kokoro/windows/electron_8.0_ia32.cfg b/tools/release/kokoro/windows/electron_8.0_ia32.cfg new file mode 100644 index 00000000..ca01fd57 --- /dev/null +++ b/tools/release/kokoro/windows/electron_8.0_ia32.cfg @@ -0,0 +1,35 @@ +# Copyright 2020 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) + +build_file: "grpc-node/packages/grpc-native-core/tools/run_tests/artifacts/build_one_artifact.bat" +env_vars { + key: "RUNTIME" + value: "electron" +} +env_vars { + key: "ARCH" + value: "ia32" +} +env_vars { + key: "VERSION" + value: "8.0.0" +} +action { + define_artifacts { + regex: "github/grpc-node/artifacts/**", + strip_prefix: "github/grpc-node/artifacts" + } +} diff --git a/tools/release/kokoro/windows/electron_8.0_x64.cfg b/tools/release/kokoro/windows/electron_8.0_x64.cfg new file mode 100644 index 00000000..988322a4 --- /dev/null +++ b/tools/release/kokoro/windows/electron_8.0_x64.cfg @@ -0,0 +1,35 @@ +# Copyright 2020 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) + +build_file: "grpc-node/packages/grpc-native-core/tools/run_tests/artifacts/build_one_artifact.bat" +env_vars { + key: "RUNTIME" + value: "electron" +} +env_vars { + key: "ARCH" + value: "x64" +} +env_vars { + key: "VERSION" + value: "8.0.0" +} +action { + define_artifacts { + regex: "github/grpc-node/artifacts/**", + strip_prefix: "github/grpc-node/artifacts" + } +}