Merge commit '36bca61764984ff5395653cf8377ec5daa71b709' as 'libs/protobuf'
This commit is contained in:
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.
|
||||
Reference in New Issue
Block a user