mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 08:37:37 +00:00
Update bazel.sh (#5028)
* 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
This commit is contained in:
parent
0ecd83afbb
commit
6a2955d43c
5
bazel.sh
5
bazel.sh
@ -1,6 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/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 \
|
env -i \
|
||||||
PATH=/usr/bin:/bin \
|
PATH=/usr/bin:/bin \
|
||||||
HOME=$HOME \
|
HOME=$HOME \
|
||||||
|
GOOGLE_APPLICATION_CREDENTIALS=$GOOGLE_APPLICATION_CREDENTIALS \
|
||||||
bazel "$@"
|
bazel "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user