mirror of
https://github.com/google/nomulus.git
synced 2025-08-05 17:28:25 +02:00
Save current deployment tag for every environment (#332)
* Save release tag during deployment * Save current tag for every environment Store tag of the current deployment in each environment. This is used by the server-sql compatibility test. * Save current tag for every environment Store tag of the current deployment in each environment. This is used by the server-sql compatibility test.
This commit is contained in:
parent
6a3bd9418f
commit
6fe9cced3e
2 changed files with 19 additions and 2 deletions
|
@ -25,6 +25,11 @@ steps:
|
|||
# Build the tool binary and image.
|
||||
- name: 'gcr.io/${PROJECT_ID}/builder:latest'
|
||||
args: ['release/build_nomulus_for_env.sh', 'tool', 'output']
|
||||
# Save TAG_NAME in ./output/tag_name, to be uploaded later. This file is purely
|
||||
# informational. It makes it easier to tell the tag of the current 'live' release.
|
||||
- name: 'gcr.io/${PROJECT_ID}/builder:latest'
|
||||
entrypoint: /bin/bash
|
||||
args: [ '-c', 'echo ${TAG_NAME} > output/tag_name']
|
||||
# Tag the tool image and push it to the registry.
|
||||
- name: 'gcr.io/${PROJECT_ID}/builder:latest'
|
||||
entrypoint: /bin/bash
|
||||
|
@ -66,6 +71,7 @@ artifacts:
|
|||
location: 'gs://${PROJECT_ID}-deploy/${TAG_NAME}'
|
||||
paths:
|
||||
- 'output/*.tar'
|
||||
- 'output/tag_name'
|
||||
- 'output/nomulus.jar'
|
||||
- 'release/cloudbuild-tag.yaml'
|
||||
- 'release/cloudbuild-sync.yaml'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue