eager-keyboard-3082302/21/2023, 2:02 PM
? Trying to figure out how to login to the docker registry on the deployment runner.
brainy-church-7812002/21/2023, 5:54 PM
eager-keyboard-3082302/21/2023, 10:17 PM
The fetched credentials are published as a credential configuration in theI’m unsure of what these fetched credentials actually are. Are they the path to a credentials file, are they the base64 encoded JSON credentials, or some third option?environment variable.
brainy-church-7812002/22/2023, 3:11 AM
eager-keyboard-3082302/24/2023, 2:02 PM
command. It didn’t work for GCR, but works fine for the artifact registry.
- but then pushing images fails later. 😩
acoustic-lock-5241602/24/2023, 10:31 PM
m unsure of what these fetched credentials actually are. Are they the path to a credentials file, are they the base64 encoded JSON credentials, or some third option?@eager-keyboard-30823 to answer this, they are the base64 encoded JSON creds. Have any additional context on the error received from Artifact Registry on push? Rest of the deploy team is back on Monday and we will have additional brain trust if it’s a relatively obscure error
eager-keyboard-3082302/24/2023, 10:58 PM
#6 importing cache manifest from <redacted> #6 ERROR: failed to authorize: rpc error: code = Unknown desc = failed to fetch oauth token: unexpected status: 403 Forbidden
impersonating the service account that the OIDC pool uses, logging in and pushing to docker locally works just fine.
gcloud auth print-access-token
acoustic-lock-5241602/24/2023, 11:18 PM
eager-keyboard-3082302/24/2023, 11:18 PM
acoustic-lock-5241603/02/2023, 7:26 PM
eager-keyboard-3082303/02/2023, 7:47 PM
witty-candle-6600703/03/2023, 7:12 PM
preRunCommands: [ "# install the gcloud CLI - see: <https://cloud.google.com/sdk/docs/install>", "echo \"$GOOGLE_CREDENTIALS\" >/google-creds.json", "gcloud auth login --brief --cred-file=/google-creds.json", "gcloud auth configure-docker" "npm --prefix ./src/infra install ./src/infra", ],
eager-keyboard-3082303/03/2023, 7:30 PM
witty-candle-6600703/03/2023, 10:15 PM