Merge commit '36bca61764984ff5395653cf8377ec5daa71b709' as 'libs/protobuf'
This commit is contained in:
17
libs/protobuf/kokoro/macos/cpp/build.sh
Executable file
17
libs/protobuf/kokoro/macos/cpp/build.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
# Run from the project root directory.
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
#
|
||||
# Run build
|
||||
#
|
||||
bazel test $(kokoro/common/bazel_flags.sh) //src/...
|
||||
27
libs/protobuf/kokoro/macos/cpp/common.cfg
Normal file
27
libs/protobuf/kokoro/macos/cpp/common.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/cpp/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
1
libs/protobuf/kokoro/macos/cpp/continuous.cfg
Normal file
1
libs/protobuf/kokoro/macos/cpp/continuous.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
1
libs/protobuf/kokoro/macos/cpp/presubmit.cfg
Normal file
1
libs/protobuf/kokoro/macos/cpp/presubmit.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
12
libs/protobuf/kokoro/macos/objectivec_ios_debug/build.sh
Executable file
12
libs/protobuf/kokoro/macos/objectivec_ios_debug/build.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
objectivec/DevTools/full_mac_build.sh \
|
||||
--core-only --skip-xcode-osx --skip-xcode-tvos --skip-objc-conformance --skip-xcode-release
|
||||
27
libs/protobuf/kokoro/macos/objectivec_ios_debug/common.cfg
Normal file
27
libs/protobuf/kokoro/macos/objectivec_ios_debug/common.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/objectivec_ios_debug/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
12
libs/protobuf/kokoro/macos/objectivec_ios_release/build.sh
Executable file
12
libs/protobuf/kokoro/macos/objectivec_ios_release/build.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
objectivec/DevTools/full_mac_build.sh \
|
||||
--core-only --skip-xcode-osx --skip-xcode-tvos --skip-objc-conformance --skip-xcode-debug
|
||||
27
libs/protobuf/kokoro/macos/objectivec_ios_release/common.cfg
Normal file
27
libs/protobuf/kokoro/macos/objectivec_ios_release/common.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/objectivec_ios_release/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
12
libs/protobuf/kokoro/macos/objectivec_osx/build.sh
Executable file
12
libs/protobuf/kokoro/macos/objectivec_osx/build.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
objectivec/DevTools/full_mac_build.sh \
|
||||
--core-only --skip-xcode-ios --skip-xcode-tvos
|
||||
27
libs/protobuf/kokoro/macos/objectivec_osx/common.cfg
Normal file
27
libs/protobuf/kokoro/macos/objectivec_osx/common.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/objectivec_osx/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
1
libs/protobuf/kokoro/macos/objectivec_osx/continuous.cfg
Normal file
1
libs/protobuf/kokoro/macos/objectivec_osx/continuous.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
1
libs/protobuf/kokoro/macos/objectivec_osx/presubmit.cfg
Normal file
1
libs/protobuf/kokoro/macos/objectivec_osx/presubmit.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
21
libs/protobuf/kokoro/macos/php74/build.sh
Executable file
21
libs/protobuf/kokoro/macos/php74/build.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
# Install Dependencies
|
||||
brew cleanup
|
||||
brew install coreutils php@7.4
|
||||
|
||||
# Configure path
|
||||
PHP_FOLDER=$(find $HOMEBREW_PREFIX -type d -regex ".*php.*/7.4.[0-9_.]*" | sort -n | tail -n 1)
|
||||
test ! -z "$PHP_FOLDER"
|
||||
export PATH="$PHP_FOLDER/bin:$PATH"
|
||||
|
||||
# Test
|
||||
kokoro/macos/test_php.sh
|
||||
27
libs/protobuf/kokoro/macos/php74/common.cfg
Normal file
27
libs/protobuf/kokoro/macos/php74/common.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/php74/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
1
libs/protobuf/kokoro/macos/php74/continuous.cfg
Normal file
1
libs/protobuf/kokoro/macos/php74/continuous.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
1
libs/protobuf/kokoro/macos/php74/presubmit.cfg
Normal file
1
libs/protobuf/kokoro/macos/php74/presubmit.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
21
libs/protobuf/kokoro/macos/php80/build.sh
Executable file
21
libs/protobuf/kokoro/macos/php80/build.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
# Install Dependencies
|
||||
brew cleanup
|
||||
brew install coreutils php@8.0
|
||||
|
||||
# Configure path
|
||||
PHP_FOLDER=$(find $HOMEBREW_PREFIX -type d -regex ".*php.*/8.0.[0-9_.]*" | sort -n | tail -n 1)
|
||||
test ! -z "$PHP_FOLDER"
|
||||
export PATH="$PHP_FOLDER/bin:$PATH"
|
||||
|
||||
# Test
|
||||
kokoro/macos/test_php.sh
|
||||
27
libs/protobuf/kokoro/macos/php80/common.cfg
Normal file
27
libs/protobuf/kokoro/macos/php80/common.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/php80/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
1
libs/protobuf/kokoro/macos/php80/continuous.cfg
Normal file
1
libs/protobuf/kokoro/macos/php80/continuous.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
1
libs/protobuf/kokoro/macos/php80/presubmit.cfg
Normal file
1
libs/protobuf/kokoro/macos/php80/presubmit.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
41
libs/protobuf/kokoro/macos/prepare_build_macos_rc
Executable file
41
libs/protobuf/kokoro/macos/prepare_build_macos_rc
Executable file
@@ -0,0 +1,41 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# This script sets up a Kokoro MacOS worker for running Protobuf tests
|
||||
|
||||
set -eux
|
||||
|
||||
export HOMEBREW_PREFIX=$(brew --prefix)
|
||||
|
||||
##
|
||||
# Select Xcode version
|
||||
export DEVELOPER_DIR=/Applications/Xcode_14.app/Contents/Developer
|
||||
sudo xcode-select -s "${DEVELOPER_DIR}"
|
||||
|
||||
##
|
||||
# Use Python 2 by default (for googletest)
|
||||
pyenv global 2.7.18
|
||||
|
||||
##
|
||||
# Setup RVM
|
||||
if [[ "${KOKORO_INSTALL_RVM:-}" == "yes" ]] ; then
|
||||
git config --global --add safe.directory $HOMEBREW_PREFIX/Library/Taps/homebrew/homebrew-cask
|
||||
git config --global --add safe.directory $HOMEBREW_PREFIX/Library/Taps/homebrew/homebrew-core
|
||||
git config --global --add safe.directory $HOMEBREW_PREFIX/Library/Taps/homebrew/homebrew-services
|
||||
sudo chown -R $(whoami) $HOME/.rvm/
|
||||
fi
|
||||
|
||||
# "Install" valgrind if it doesn't exist
|
||||
##
|
||||
if [ ! -x "$(command -v valgrind)" ]; then
|
||||
echo "#! /bin/bash" > valgrind
|
||||
chmod ug+x valgrind
|
||||
sudo mv valgrind /usr/local/bin/valgrind
|
||||
fi
|
||||
|
||||
##
|
||||
# Install Virtual Python Environment
|
||||
|
||||
if [[ "${KOKORO_INSTALL_VENV:-}" == "yes" ]] ; then
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
fi
|
||||
13
libs/protobuf/kokoro/macos/python/build.sh
Executable file
13
libs/protobuf/kokoro/macos/python/build.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
KOKORO_INSTALL_VENV=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
bazel test //python/... @upb//python/... $(kokoro/common/bazel_flags.sh) \
|
||||
--macos_minimum_os=10.9
|
||||
33
libs/protobuf/kokoro/macos/python/common.cfg
Normal file
33
libs/protobuf/kokoro/macos/python/common.cfg
Normal file
@@ -0,0 +1,33 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/python/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
action {
|
||||
define_artifacts {
|
||||
regex: "**/*"
|
||||
}
|
||||
}
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
1
libs/protobuf/kokoro/macos/python/continuous.cfg
Normal file
1
libs/protobuf/kokoro/macos/python/continuous.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
1
libs/protobuf/kokoro/macos/python/presubmit.cfg
Normal file
1
libs/protobuf/kokoro/macos/python/presubmit.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
13
libs/protobuf/kokoro/macos/python_cpp/build.sh
Executable file
13
libs/protobuf/kokoro/macos/python_cpp/build.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
KOKORO_INSTALL_VENV=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
bazel test //python/... $(kokoro/common/bazel_flags.sh) \
|
||||
--macos_minimum_os=10.9 --define=use_fast_cpp_protos=true
|
||||
27
libs/protobuf/kokoro/macos/python_cpp/common.cfg
Normal file
27
libs/protobuf/kokoro/macos/python_cpp/common.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/python_cpp/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
1
libs/protobuf/kokoro/macos/python_cpp/continuous.cfg
Normal file
1
libs/protobuf/kokoro/macos/python_cpp/continuous.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
1
libs/protobuf/kokoro/macos/python_cpp/presubmit.cfg
Normal file
1
libs/protobuf/kokoro/macos/python_cpp/presubmit.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
13
libs/protobuf/kokoro/macos/ruby25/build.sh
Executable file
13
libs/protobuf/kokoro/macos/ruby25/build.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
KOKORO_INSTALL_RVM=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
cd ruby
|
||||
./travis-test.sh ruby-2.5.1
|
||||
27
libs/protobuf/kokoro/macos/ruby25/common.cfg
Normal file
27
libs/protobuf/kokoro/macos/ruby25/common.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/ruby25/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
1
libs/protobuf/kokoro/macos/ruby25/continuous.cfg
Normal file
1
libs/protobuf/kokoro/macos/ruby25/continuous.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
1
libs/protobuf/kokoro/macos/ruby25/presubmit.cfg
Normal file
1
libs/protobuf/kokoro/macos/ruby25/presubmit.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
13
libs/protobuf/kokoro/macos/ruby26/build.sh
Executable file
13
libs/protobuf/kokoro/macos/ruby26/build.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
KOKORO_INSTALL_RVM=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
cd ruby
|
||||
./travis-test.sh ruby-2.6.0
|
||||
27
libs/protobuf/kokoro/macos/ruby26/common.cfg
Normal file
27
libs/protobuf/kokoro/macos/ruby26/common.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/ruby26/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
1
libs/protobuf/kokoro/macos/ruby26/continuous.cfg
Normal file
1
libs/protobuf/kokoro/macos/ruby26/continuous.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
1
libs/protobuf/kokoro/macos/ruby26/presubmit.cfg
Normal file
1
libs/protobuf/kokoro/macos/ruby26/presubmit.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
13
libs/protobuf/kokoro/macos/ruby27/build.sh
Executable file
13
libs/protobuf/kokoro/macos/ruby27/build.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
KOKORO_INSTALL_RVM=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
cd ruby
|
||||
./travis-test.sh ruby-2.7.0
|
||||
27
libs/protobuf/kokoro/macos/ruby27/common.cfg
Normal file
27
libs/protobuf/kokoro/macos/ruby27/common.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/ruby27/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
1
libs/protobuf/kokoro/macos/ruby27/continuous.cfg
Normal file
1
libs/protobuf/kokoro/macos/ruby27/continuous.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
1
libs/protobuf/kokoro/macos/ruby27/presubmit.cfg
Normal file
1
libs/protobuf/kokoro/macos/ruby27/presubmit.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
13
libs/protobuf/kokoro/macos/ruby30/build.sh
Executable file
13
libs/protobuf/kokoro/macos/ruby30/build.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
KOKORO_INSTALL_RVM=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
cd ruby
|
||||
./travis-test.sh ruby-3.0.2
|
||||
27
libs/protobuf/kokoro/macos/ruby30/common.cfg
Normal file
27
libs/protobuf/kokoro/macos/ruby30/common.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/ruby30/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
1
libs/protobuf/kokoro/macos/ruby30/continuous.cfg
Normal file
1
libs/protobuf/kokoro/macos/ruby30/continuous.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
1
libs/protobuf/kokoro/macos/ruby30/presubmit.cfg
Normal file
1
libs/protobuf/kokoro/macos/ruby30/presubmit.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
16
libs/protobuf/kokoro/macos/ruby31/build.sh
Normal file
16
libs/protobuf/kokoro/macos/ruby31/build.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
# Change to repo root
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Fix locale issues in Monterey.
|
||||
export LC_ALL=en_US.UTF-8
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
KOKORO_INSTALL_RVM=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
cd ruby
|
||||
./travis-test.sh ruby-3.1.0
|
||||
27
libs/protobuf/kokoro/macos/ruby31/common.cfg
Normal file
27
libs/protobuf/kokoro/macos/ruby31/common.cfg
Normal file
@@ -0,0 +1,27 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/ruby31/build.sh"
|
||||
timeout_mins: 1440
|
||||
|
||||
before_action {
|
||||
fetch_keystore {
|
||||
keystore_resource {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
}
|
||||
bazel_setting {
|
||||
project_id: "protobuf-build"
|
||||
bes_backend_address: "buildeventservice.googleapis.com"
|
||||
foundry_backend_address: "remotebuildexecution.googleapis.com"
|
||||
upsalite_frontend_address: "https://source.cloud.google.com"
|
||||
local_execution: true
|
||||
|
||||
# Need to be same as the fetch_keystore entry in the previous step.
|
||||
auth_credential: {
|
||||
keystore_config_id: 77103
|
||||
keyname: "kokoro_gcp_service"
|
||||
}
|
||||
}
|
||||
1
libs/protobuf/kokoro/macos/ruby31/continuous.cfg
Normal file
1
libs/protobuf/kokoro/macos/ruby31/continuous.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
1
libs/protobuf/kokoro/macos/ruby31/presubmit.cfg
Normal file
1
libs/protobuf/kokoro/macos/ruby31/presubmit.cfg
Normal file
@@ -0,0 +1 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
16
libs/protobuf/kokoro/macos/test_php.sh
Executable file
16
libs/protobuf/kokoro/macos/test_php.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
|
||||
pushd php
|
||||
rm -rf vendor
|
||||
php -v
|
||||
php -m
|
||||
composer update
|
||||
composer test_c
|
||||
popd
|
||||
|
||||
git clean -fXd
|
||||
bazel test $(kokoro/common/bazel_flags.sh) \
|
||||
--action_env=PATH --test_env=PATH \
|
||||
//php:conformance_test_c
|
||||
Reference in New Issue
Block a user