Skip to content

Commit

Permalink
activate service account first
Browse files Browse the repository at this point in the history
  • Loading branch information
shuyama1 committed Dec 20, 2023
1 parent 18bf9e8 commit 40febc4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ today=$(date +%F)

set +e

echo $SA_KEY > sa_key.json
gcloud auth activate-service-account $GOOGLE_SERVICE_ACCOUNT --key-file=$local_path/sa_key.json --project=$GOOGLE_PROJECT

# cassette retrieval
mkdir fixtures

Expand All @@ -26,9 +29,6 @@ gsutil -m -q cp gs://ci-vcr-cassettes/beta/fixtures/* fixtures/
# incase nightly run goes wrong. this will be used to restore the cassettes
gsutil -m -q cp fixtures/* gs://vcr-nightly/beta/$today/$build_id/main_cassettes_back/fixtures/

echo $SA_KEY > sa_key.json
gcloud auth activate-service-account $GOOGLE_SERVICE_ACCOUNT --key-file=$local_path/sa_key.json --project=$GOOGLE_PROJECT

mkdir testlog
mkdir testlog/replaying
mkdir testlog/recording
Expand Down

0 comments on commit 40febc4

Please sign in to comment.