mirror of
https://github.com/google/nomulus
synced 2026-09-20 06:54:43 +00: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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user