
This switches docs and gallery build and deployment to use Cirrus CI instead of Travis, reapplying the changes from #19925, but updating the Firebase tokens for upload, and refining docs.sh some to limit retries to five times (instead of indefinitely).
7 lines
287 B
Bash
Executable File
7 lines
287 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ -n "$CIRRUS_CI" && -n "$GCLOUD_CREDENTIALS" ]]; then
|
|
echo "$GCLOUD_CREDENTIALS" | base64 --decode | docker login -u _json_key --password-stdin https://gcr.io
|
|
else
|
|
gcloud auth print-access-token | docker login -u oauth2accesstoken --password-stdin https://gcr.io
|
|
fi |