ADD: added new version of protobuf
This commit is contained in:
@@ -2,16 +2,10 @@
|
||||
#
|
||||
# Build file to set up and run tests
|
||||
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
# Run from the project root directory.
|
||||
# Change to repo root
|
||||
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/...
|
||||
./tests.sh cpp
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
11
libs/protobuf/kokoro/macos/cpp_distcheck/build.sh
Executable file
11
libs/protobuf/kokoro/macos/cpp_distcheck/build.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
|
||||
./tests.sh cpp_distcheck
|
||||
5
libs/protobuf/kokoro/macos/cpp_distcheck/continuous.cfg
Normal file
5
libs/protobuf/kokoro/macos/cpp_distcheck/continuous.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/cpp_distcheck/build.sh"
|
||||
timeout_mins: 1440
|
||||
5
libs/protobuf/kokoro/macos/cpp_distcheck/presubmit.cfg
Normal file
5
libs/protobuf/kokoro/macos/cpp_distcheck/presubmit.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/cpp_distcheck/build.sh"
|
||||
timeout_mins: 1440
|
||||
@@ -8,5 +8,4 @@ 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
|
||||
./tests.sh objectivec_ios_debug
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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"
|
||||
}
|
||||
}
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -8,5 +8,4 @@ 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
|
||||
./tests.sh objectivec_ios_release
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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"
|
||||
}
|
||||
}
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -8,5 +8,4 @@ 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
|
||||
./tests.sh objectivec_osx
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
12
libs/protobuf/kokoro/macos/php7.0_mac/build.sh
Executable file
12
libs/protobuf/kokoro/macos/php7.0_mac/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
|
||||
|
||||
# TODO(mkruskal) Re-enable this once we can get a working PHP 7.0 installed.
|
||||
#./tests.sh php7.0_mac
|
||||
5
libs/protobuf/kokoro/macos/php7.0_mac/continuous.cfg
Normal file
5
libs/protobuf/kokoro/macos/php7.0_mac/continuous.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/php7.0_mac/build.sh"
|
||||
timeout_mins: 1440
|
||||
5
libs/protobuf/kokoro/macos/php7.0_mac/presubmit.cfg
Normal file
5
libs/protobuf/kokoro/macos/php7.0_mac/presubmit.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/php7.0_mac/build.sh"
|
||||
timeout_mins: 1440
|
||||
12
libs/protobuf/kokoro/macos/php7.3_mac/build.sh
Executable file
12
libs/protobuf/kokoro/macos/php7.3_mac/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
|
||||
|
||||
# TODO(mkruskal) Re-enable this once we can get a working PHP 7.0 installed.
|
||||
#./tests.sh php7.3_mac
|
||||
5
libs/protobuf/kokoro/macos/php7.3_mac/continuous.cfg
Normal file
5
libs/protobuf/kokoro/macos/php7.3_mac/continuous.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/php7.3_mac/build.sh"
|
||||
timeout_mins: 1440
|
||||
5
libs/protobuf/kokoro/macos/php7.3_mac/presubmit.cfg
Normal file
5
libs/protobuf/kokoro/macos/php7.3_mac/presubmit.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
# Config file for running tests in Kokoro
|
||||
|
||||
# Location of the build script in repository
|
||||
build_file: "protobuf/kokoro/macos/php7.3_mac/build.sh"
|
||||
timeout_mins: 1440
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/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
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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 +0,0 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
@@ -1 +0,0 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/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
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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 +0,0 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
@@ -1 +0,0 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
@@ -6,14 +6,38 @@ set -eux
|
||||
|
||||
export HOMEBREW_PREFIX=$(brew --prefix)
|
||||
|
||||
##
|
||||
# Remove any pre-existing protobuf installation.
|
||||
brew uninstall protobuf
|
||||
|
||||
##
|
||||
# Select Xcode version
|
||||
|
||||
##
|
||||
# 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
|
||||
# Select C/C++ compilers
|
||||
|
||||
export CC=gcc
|
||||
export CXX=g++
|
||||
|
||||
##
|
||||
# Install Python 2 by default
|
||||
|
||||
eval "$(pyenv init -)"
|
||||
pyenv install -v -s 2.7.18 && pyenv global 2.7.18
|
||||
|
||||
##
|
||||
# Install Tox
|
||||
|
||||
if [[ "${KOKORO_INSTALL_TOX:-}" == "yes" ]] ; then
|
||||
pyenv install -v -s 3.7.13
|
||||
pyenv global 3.7.13
|
||||
sudo python -m pip install --upgrade pip 'tox==3.27.1' tox-pyenv
|
||||
fi
|
||||
|
||||
##
|
||||
# Setup RVM
|
||||
@@ -23,19 +47,3 @@ if [[ "${KOKORO_INSTALL_RVM:-}" == "yes" ]] ; then
|
||||
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
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
KOKORO_INSTALL_VENV=yes
|
||||
KOKORO_INSTALL_TOX=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
bazel test //python/... @upb//python/... $(kokoro/common/bazel_flags.sh) \
|
||||
--macos_minimum_os=10.9
|
||||
./tests.sh python
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
# 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 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
cd $(dirname $0)/../../..
|
||||
|
||||
# Prepare worker environment to run tests
|
||||
KOKORO_INSTALL_VENV=yes
|
||||
KOKORO_INSTALL_TOX=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
g++ --version
|
||||
|
||||
bazel test //python/... $(kokoro/common/bazel_flags.sh) \
|
||||
--macos_minimum_os=10.9 --define=use_fast_cpp_protos=true
|
||||
./tests.sh python_cpp
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -9,5 +9,4 @@ cd $(dirname $0)/../../..
|
||||
KOKORO_INSTALL_RVM=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
cd ruby
|
||||
./travis-test.sh ruby-2.5.1
|
||||
./tests.sh ruby25
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -9,5 +9,4 @@ cd $(dirname $0)/../../..
|
||||
KOKORO_INSTALL_RVM=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
cd ruby
|
||||
./travis-test.sh ruby-2.6.0
|
||||
./tests.sh ruby26
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -9,5 +9,4 @@ cd $(dirname $0)/../../..
|
||||
KOKORO_INSTALL_RVM=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
cd ruby
|
||||
./travis-test.sh ruby-2.7.0
|
||||
./tests.sh ruby27
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -9,5 +9,4 @@ cd $(dirname $0)/../../..
|
||||
KOKORO_INSTALL_RVM=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
cd ruby
|
||||
./travis-test.sh ruby-3.0.2
|
||||
./tests.sh ruby30
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -12,5 +12,4 @@ export LC_ALL=en_US.UTF-8
|
||||
KOKORO_INSTALL_RVM=yes
|
||||
source kokoro/macos/prepare_build_macos_rc
|
||||
|
||||
cd ruby
|
||||
./travis-test.sh ruby-3.1.0
|
||||
./tests.sh ruby31
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
# 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 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
# Keep this file empty! Use common.cfg instead.
|
||||
# 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
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
#!/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