These have already been migrated, this just deleted dead code PiperOrigin-RevId: 506768877pull/11769/head
parent
f1e746c491
commit
ddd848fb32
47 changed files with 0 additions and 550 deletions
@ -1,12 +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 |
||||
|
||||
objectivec/DevTools/full_mac_build.sh \ |
||||
--core-only --skip-xcode-osx --skip-xcode-tvos --skip-objc-conformance --skip-xcode-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_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 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1,12 +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 |
||||
|
||||
objectivec/DevTools/full_mac_build.sh \ |
||||
--core-only --skip-xcode-osx --skip-xcode-tvos --skip-objc-conformance --skip-xcode-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_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 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1,12 +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 |
||||
|
||||
objectivec/DevTools/full_mac_build.sh \ |
||||
--core-only --skip-xcode-ios --skip-xcode-tvos |
@ -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 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1,22 +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 |
||||
# PHP 7.4 is already installed on the machine |
||||
brew cleanup |
||||
brew install coreutils |
||||
|
||||
# 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. |
@ -1,42 +0,0 @@ |
||||
#!/bin/bash |
||||
# |
||||
# This script sets up a Kokoro MacOS worker for running Protobuf tests |
||||
|
||||
set -eux |
||||
|
||||
export HOMEBREW_PREFIX=$(brew --prefix) |
||||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 # Do not automatically update packages. |
||||
|
||||
## |
||||
# 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 |
@ -1,14 +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 |
||||
KOKORO_INSTALL_VENV=yes |
||||
source kokoro/macos/prepare_build_macos_rc |
||||
|
||||
bazel test //python/... @upb//python/... //python:python_version \ |
||||
$(kokoro/common/bazel_flags.sh) \ |
||||
--macos_minimum_os=10.9 |
@ -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 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1,15 +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 |
||||
KOKORO_INSTALL_VENV=yes |
||||
source kokoro/macos/prepare_build_macos_rc |
||||
|
||||
bazel test //python/... //python:python_version \ |
||||
$(kokoro/common/bazel_flags.sh) \ |
||||
--macos_minimum_os=10.9 \ |
||||
--define=use_fast_cpp_protos=true |
@ -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 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1,8 +0,0 @@ |
||||
#!/bin/bash |
||||
# |
||||
# Build file to set up and run tests |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
bash -l kokoro/macos/test_ruby.sh ruby-2.6.0 |
@ -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 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1,8 +0,0 @@ |
||||
#!/bin/bash |
||||
# |
||||
# Build file to set up and run tests |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
bash -l kokoro/macos/test_ruby.sh ruby-2.7.0 |
@ -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 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1,8 +0,0 @@ |
||||
#!/bin/bash |
||||
# |
||||
# Build file to set up and run tests |
||||
|
||||
# Change to repo root |
||||
cd $(dirname $0)/../../.. |
||||
|
||||
bash -l kokoro/macos/test_ruby.sh ruby-3.0.2 |
@ -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 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1,11 +0,0 @@ |
||||
#!/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 |
||||
|
||||
bash -l kokoro/macos/test_ruby.sh ruby-3.1.0 |
@ -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 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -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 |
@ -1,24 +0,0 @@ |
||||
#!/bin/bash |
||||
|
||||
set -eux |
||||
|
||||
VERSION=$1 |
||||
|
||||
# Prepare worker environment to run tests |
||||
KOKORO_INSTALL_RVM=yes |
||||
source kokoro/macos/prepare_build_macos_rc |
||||
|
||||
# wget is required for ruby compatibility tests. |
||||
brew install wget |
||||
|
||||
# Configure system ruby. |
||||
# We need to disable unbound variable errors, due to a known issue described in |
||||
# https://github.com/rvm/rvm/issues/4618. |
||||
set +u |
||||
rvm install $VERSION |
||||
rvm use $VERSION |
||||
rvm current | grep -qe "${RUBY_VERSION}.*" || exit 1; |
||||
set -u |
||||
|
||||
# Run tests |
||||
bazel test //ruby/... --test_env=KOKORO_RUBY_VERSION=$VERSION |
Loading…
Reference in new issue