Files
clsi/cloudbuild.yaml
Christopher Hoskin ab82140128 Try some parallelism
2019-10-25 16:42:33 +01:00

39 lines
890 B
YAML

steps:
- id: texlive
name: 'gcr.io/overleaf-ops/texlive-full:2017.1'
- id: build
name: 'gcr.io/overleaf-ops/cloud-builder'
args:
- 'build'
env:
- 'BUILD_NUMBER=$SHORT_SHA'
- 'BRANCH_NAME=$BRANCH_NAME'
- id: test_unit
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'
waitFor:
- build
- id: test_acceptance
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'
- 'TEXLIVE_IMAGE=gcr.io/overleaf-ops/texlive-full:2017.1'
waitFor:
- build
- texlive
images:
- 'gcr.io/$PROJECT_ID/clsi:${BRANCH_NAME}-${SHORT_SHA}'
timeout: 1800s
options:
diskSizeGb: 200
machineType: 'N1_HIGHCPU_8'