We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b03eace + e1e98f4 commit 11f01ceCopy full SHA for 11f01ce
Jenkinsfile
@@ -180,10 +180,13 @@ pipeline {
180
# Login to docker to get access to gcr.io/cloud-tpu-v2-images/libtpu
181
# SA: [email protected]
182
# To grant access to a SA, start a TPU VM with that SA once.
183
+ # Disable echo to avoid printing sensitive tokens:
184
+ set +x
185
METADATA=http://metadata.google.internal/computeMetadata/v1
186
SVC_ACCT=$METADATA/instance/service-accounts/default
187
ACCESS_TOKEN=$(/usr/bin/curl -s -H 'Metadata-Flavor: Google' $SVC_ACCT/token | cut -d'"' -f 4)
188
docker login --username oauth2accesstoken --password $ACCESS_TOKEN https://gcr.io
189
+ set -x
190
191
./tpu/build | ts
192
./push --tpu ${PRETEST_TAG}
0 commit comments