mirror of
https://github.com/google/nomulus.git
synced 2025-08-06 01:35:17 +02:00
Deploy SQL schema from Cloud Build (#350)
Defined Docker image for schema deployment. Included schema deploymer docker in the Cloud Build release process. Defined Cloud Build config for schema deployment. TESTED=Used cloud-build-local to test deployment flow TESTED=Used docker to test schema deployer image in more ways
This commit is contained in:
parent
cb87658827
commit
bce09a3aa3
5 changed files with 266 additions and 2 deletions
|
@ -48,7 +48,7 @@ steps:
|
|||
- deploy_invoicing_pipeline
|
||||
# Save the deployed tag for the current environment on GCS. Because of b/137891685
|
||||
# which causes the for-loop in the next step to fail, this may not be the last step.
|
||||
# TODO(weiminyu): do this in last step, and use 'artifacts' section to upload the tag.
|
||||
# TODO(weiminyu): do this in last step.
|
||||
- name: 'gcr.io/${PROJECT_ID}/builder:latest'
|
||||
entrypoint: /bin/bash
|
||||
args:
|
||||
|
@ -56,7 +56,7 @@ steps:
|
|||
- |
|
||||
set -e
|
||||
echo ${TAG_NAME} | \
|
||||
gsutil cp - gs://${PROJECT_ID}-deploy/deployed_tags/nomulus.${_ENV}.tag
|
||||
gsutil cp - gs://${PROJECT_ID}-deployed-tags/nomulus.${_ENV}.tag
|
||||
# Deploy the GAE config files.
|
||||
# First authorize the gcloud tool to use the credential json file, then
|
||||
# download and unzip the tarball that contains the relevant config files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue