Tagging pipeline steps to use shared runners

This commit is contained in:
Jeff Avallone 2018-06-05 07:18:41 -04:00
parent a0468fd06f
commit 04cec072e3

View File

@ -18,6 +18,8 @@ test:
- reports/ - reports/
script: script:
yarn test yarn test
tags:
- shared
build: build:
stage: build stage: build
@ -26,6 +28,8 @@ build:
- build/ - build/
script: script:
- yarn build - yarn build
tags:
- shared
deploy_preview: deploy_preview:
stage: deploy stage: deploy
@ -42,6 +46,8 @@ deploy_preview:
- yarn deploy - yarn deploy
only: only:
- react # TODO: Change to master once merged - react # TODO: Change to master once merged
tags:
- shared
deploy_production: deploy_production:
stage: deploy stage: deploy
@ -52,3 +58,5 @@ deploy_production:
- yarn deploy - yarn deploy
only: only:
- tags - tags
tags:
- shared