#!/bin/bash -eo pipefail
# Store service account
echo $MAU_DASHBOARDS_KEY > ${HOME}/gcloud-service-key.json
# Initialize gcloud CLI
gcloud auth activate-service-account --key-file=${HOME}/gcloud-service-key.json
gcloud --quiet config set project $MAU_DASHBOARDS_PROJECT
gcloud --quiet config set compute/zone $GOOGLE_COMPUTE_ZONE
ERROR: (gcloud.auth.activate-service-account) There was a problem refreshing your current auth tokens: invalid_grant: Invalid grant: account not found
https://app.circleci.com/pipelines/github/mozilla/docker-etl/92/workflows/6717bfcd-03d2-4cfc-9ce5-f68e9f7906db/jobs/257