Skip to content

Commit

Permalink
Fix mad-dog to GCP invalid name errors (#3072)
Browse files Browse the repository at this point in the history
* Always lowercase branch names

* Clean fields for GCP VM name

* Dont really need sha

* Bugfix

* Since instances are deleted, not worth namespacing them
  • Loading branch information
dmanjunath committed May 11, 2022
1 parent 1e69f6e commit 5547e5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ jobs:
echo $GCLOUD_SERVICE_KEY | gcloud auth activate-service-account $GCLOUD_SERVICE_ACCOUNT_EMAIL --key-file=-
gcloud --quiet config set project ${GOOGLE_PROJECT_ID}
gcloud --quiet config set compute/zone ${GOOGLE_COMPUTE_ZONE}
GCLOUD_VM_NAME=mad-dog-test-$CIRCLE_BRANCH-$GIT_SHA-$(date +%s)
GCLOUD_VM_NAME=mad-dog-test-$(date +%s)
echo "GCLOUD_VM_NAME" $GCLOUD_VM_NAME
export PROTOCOL_DIR=/home/circleci/project
Expand Down

0 comments on commit 5547e5e

Please sign in to comment.