Skip to content
Snippets Groups Projects
Commit 1f92c17b authored by Matt Kwong's avatar Matt Kwong
Browse files

Enable BQ access for Kokoro Macs

parent 1d27c66d
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,11 @@ ulimit -n 10000 ...@@ -27,6 +27,11 @@ ulimit -n 10000
# show current limits # show current limits
ulimit -a ulimit -a
# Add GCP credentials for BQ access
# pip does not install google-api-python-client properly, so use easy_install
sudo easy_install --upgrade google-api-python-client
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/GrpcTesting-d0eeee2db331.json
gcloud auth activate-service-account --key-file=$GOOGLE_APPLICATION_CREDENTIALS
# required to build protobuf # required to build protobuf
brew install gflags brew install gflags
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
# Location of the continuous shell script in repository. # Location of the continuous shell script in repository.
build_file: "grpc/tools/internal_ci/macos/grpc_run_tests_matrix.sh" build_file: "grpc/tools/internal_ci/macos/grpc_run_tests_matrix.sh"
gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/GrpcTesting-d0eeee2db331.json"
timeout_mins: 240 timeout_mins: 240
action { action {
define_artifacts { define_artifacts {
...@@ -26,5 +27,5 @@ action { ...@@ -26,5 +27,5 @@ action {
env_vars { env_vars {
key: "RUN_TESTS_FLAGS" key: "RUN_TESTS_FLAGS"
value: "-f basictests macos --internal_ci -j 2 --inner_jobs 4" value: "-f basictests macos --internal_ci -j 2 --inner_jobs 4 --bq_result_table aggregate_results"
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment