c-hive / guides

Guides for code style, way of working and other development concerns
MIT License
26 stars 5 forks source link

Revise GL CI parallelization and dependencies #22

Closed thisismydesign closed 5 years ago

thisismydesign commented 5 years ago

So if I understand it correctly we should have the following stages and jobs:

stages:
  - verification
  - deploy

lint:
  stage: verification

test:
  stage: verification

apiary-validate:
  stage: verification

code-quality:
  stage: verification

heroku-deploy:
  stage: deploy

gl-pages-deploy:
  stage: deploy

apiary-deploy:
  stage: deploy

This would result in maximum parallelization while making sure deploys only run if verifications are successful.

gomorizsolt commented 5 years ago

That's it, all the jobs under the verification stage run in parallel, whereas the deploy runs completely separately.

gomorizsolt commented 5 years ago

Resolved by #23.