mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 22:43:10 -06:00
🛠️ Substitutions for production CD.
This commit is contained in:
parent
9177911152
commit
bf0f05b8fe
|
|
@ -1,12 +1,14 @@
|
||||||
steps:
|
steps:
|
||||||
- name: gcr.io/cloud-builders/docker
|
- name: gcr.io/cloud-builders/docker
|
||||||
args: ['build', '-t', 'gcr.io/$PROJECT_ID/dendrite-monolith:$TAG_NAME', '-f', 'Dockerfile', '.']
|
args: ['build', '--build-arg', 'BUILDPLATFORM=${_BUILD_PLATFORM}', '-t', 'gcr.io/$PROJECT_ID/dendrite-monolith:$TAG_NAME', '-f', 'Dockerfile', '.']
|
||||||
- name: gcr.io/cloud-builders/kubectl
|
- name: gcr.io/cloud-builders/kubectl
|
||||||
args: ['set', 'image', 'deployment/dendrite', 'dendrite=gcr.io/$PROJECT_ID/dendrite-monolith:$TAG_NAME']
|
args: ['set', 'image', 'deployment/dendrite', 'dendrite=gcr.io/$PROJECT_ID/dendrite-monolith:$TAG_NAME']
|
||||||
env:
|
env:
|
||||||
- CLOUDSDK_CORE_PROJECT=globekeeper-production
|
- CLOUDSDK_CORE_PROJECT=globekeeper-production
|
||||||
- CLOUDSDK_COMPUTE_ZONE=europe-west2-a
|
- CLOUDSDK_COMPUTE_ZONE=europe-west2-a
|
||||||
- CLOUDSDK_CONTAINER_CLUSTER=synapse-production
|
- CLOUDSDK_CONTAINER_CLUSTER=synapse-production
|
||||||
|
substitutions:
|
||||||
|
_BUILD_PLATFORM: linux/amd64 # default
|
||||||
images:
|
images:
|
||||||
- gcr.io/$PROJECT_ID/dendrite-monolith:$TAG_NAME
|
- gcr.io/$PROJECT_ID/dendrite-monolith:$TAG_NAME
|
||||||
timeout: 480s
|
timeout: 480s
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue