mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-07 22:54:17 -05:00
* Add google auth creds as environment variable for CI. Add a comment why this script is helpful * Add google auth creds as environment variable for CI. Add a comment why this script is helpful
12 lines
374 B
Bash
Executable File
12 lines
374 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script serves as a wrapper around bazel to limit the scope of environment variables that
|
|
# may change the action output. Using this script should result in a higher cache hit ratio for
|
|
# cached actions with a more heremtic build.
|
|
|
|
env -i \
|
|
PATH=/usr/bin:/bin \
|
|
HOME=$HOME \
|
|
GOOGLE_APPLICATION_CREDENTIALS=$GOOGLE_APPLICATION_CREDENTIALS \
|
|
bazel "$@"
|