Skip to content

Commit

Permalink
Tag GAE version with commit hash when deploying to prod
Browse files Browse the repository at this point in the history
  • Loading branch information
pylipp committed Nov 12, 2024
1 parent 9d5c205 commit 64f375c
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,7 @@ jobs:
- run:
name: Deploy to GAE
command: |
if [ ! -z ${CIRCLE_TAG} ]; then
gcloud app deploy app-<< parameters.serviceName >>.yaml --version ${CIRCLE_TAG}
elif [ ! -z ${CIRCLE_SHA1} ]; then
gcloud app deploy app-<< parameters.serviceName >>.yaml --version ${CIRCLE_SHA1}
fi
gcloud app deploy app-<< parameters.serviceName >>.yaml --version ${CIRCLE_SHA1}
- slack/notify-on-failure:
only_for_branches: master,production

Expand Down Expand Up @@ -425,11 +421,7 @@ jobs:
- run:
name: Deploy to GAE
command: |
if [ ! -z ${CIRCLE_TAG} ]; then
gcloud app deploy app-<< parameters.serviceName >>.yaml --version ${CIRCLE_TAG}
elif [ ! -z ${CIRCLE_SHA1} ]; then
gcloud app deploy app-<< parameters.serviceName >>.yaml --version ${CIRCLE_SHA1}
fi
gcloud app deploy app-<< parameters.serviceName >>.yaml --version ${CIRCLE_SHA1}
- slack/notify-on-failure:
only_for_branches: master,production

Expand Down

1 comment on commit 64f375c

@pylipp
Copy link
Contributor Author

@pylipp pylipp commented on 64f375c Nov 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.