Start trying to figure out CLSI cloudbuild
This commit is contained in:
23
cloudbuild.yaml
Normal file
23
cloudbuild.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
steps:
|
||||||
|
- name: 'gcr.io/overleaf-ops/cloud-builder'
|
||||||
|
args:
|
||||||
|
- 'build'
|
||||||
|
env:
|
||||||
|
- 'BUILD_NUMBER=$SHORT_SHA'
|
||||||
|
- 'BRANCH_NAME=$BRANCH_NAME'
|
||||||
|
- name: 'gcr.io/overleaf-ops/cloud-builder'
|
||||||
|
args:
|
||||||
|
- 'test_unit'
|
||||||
|
env:
|
||||||
|
- 'DOCKER_COMPOSE_FLAGS=-f docker-compose.ci.yml'
|
||||||
|
- 'BUILD_NUMBER=$SHORT_SHA'
|
||||||
|
- 'BRANCH_NAME=$BRANCH_NAME'
|
||||||
|
- name: 'gcr.io/overleaf-ops/cloud-builder'
|
||||||
|
args:
|
||||||
|
- 'test_acceptance'
|
||||||
|
env:
|
||||||
|
- 'DOCKER_COMPOSE_FLAGS=-f docker-compose.ci.yml'
|
||||||
|
- 'BUILD_NUMBER=$SHORT_SHA'
|
||||||
|
- 'BRANCH_NAME=$BRANCH_NAME'
|
||||||
|
images:
|
||||||
|
- 'gcr.io/$PROJECT_ID/clsi:${BRANCH_NAME}-${SHORT_SHA}'
|
||||||
Reference in New Issue
Block a user