Try some parallelism

This commit is contained in:
Christopher Hoskin
2019-10-25 16:42:33 +01:00
parent 4d81b2ca53
commit ab82140128

View File

@@ -1,19 +1,25 @@
steps: steps:
- name: 'gcr.io/overleaf-ops/texlive-full:2017.1' - id: texlive
- name: 'gcr.io/overleaf-ops/cloud-builder' name: 'gcr.io/overleaf-ops/texlive-full:2017.1'
- id: build
name: 'gcr.io/overleaf-ops/cloud-builder'
args: args:
- 'build' - 'build'
env: env:
- 'BUILD_NUMBER=$SHORT_SHA' - 'BUILD_NUMBER=$SHORT_SHA'
- 'BRANCH_NAME=$BRANCH_NAME' - 'BRANCH_NAME=$BRANCH_NAME'
- name: 'gcr.io/overleaf-ops/cloud-builder' - id: test_unit
name: 'gcr.io/overleaf-ops/cloud-builder'
args: args:
- 'test_unit' - 'test_unit'
env: env:
- 'DOCKER_COMPOSE_FLAGS=-f docker-compose.ci.yml' - 'DOCKER_COMPOSE_FLAGS=-f docker-compose.ci.yml'
- 'BUILD_NUMBER=$SHORT_SHA' - 'BUILD_NUMBER=$SHORT_SHA'
- 'BRANCH_NAME=$BRANCH_NAME' - 'BRANCH_NAME=$BRANCH_NAME'
- name: 'gcr.io/overleaf-ops/cloud-builder' waitFor:
- build
- id: test_acceptance
name: 'gcr.io/overleaf-ops/cloud-builder'
args: args:
- 'test_acceptance' - 'test_acceptance'
env: env:
@@ -21,6 +27,9 @@ steps:
- 'BUILD_NUMBER=$SHORT_SHA' - 'BUILD_NUMBER=$SHORT_SHA'
- 'BRANCH_NAME=$BRANCH_NAME' - 'BRANCH_NAME=$BRANCH_NAME'
- 'TEXLIVE_IMAGE=gcr.io/overleaf-ops/texlive-full:2017.1' - 'TEXLIVE_IMAGE=gcr.io/overleaf-ops/texlive-full:2017.1'
waitFor:
- build
- texlive
images: images:
- 'gcr.io/$PROJECT_ID/clsi:${BRANCH_NAME}-${SHORT_SHA}' - 'gcr.io/$PROJECT_ID/clsi:${BRANCH_NAME}-${SHORT_SHA}'
timeout: 1800s timeout: 1800s