3 ms·
Can you nest stages? Say I want something like this: 1. Sequential: stage "build", build-type agent. 2. Sequential: stage "tests" (this is just a wrapper
by oblio 9y ago
Can you nest stages?
Say I want something like this:
1. Sequential: stage "build", build-type agent.
2. Sequential: stage "tests" (this is just a wrapper/container)
2.1 Parallel: stage "integration tests #1", integration #1-type agent
2.2 Parallel: stage "integration tests #2, integration #2-type agent
2.3 Parallel: stage "deploy and functional tests" (this is just a wrapper/container)
2.3.1 Sequential: stage "deploy", deploy-type agent
2.3.2 Sequential: stage "functional tests", functional-type agent
Is it doable?
- Tushon 9y agoYes, that should be doable but not quite how you have it sketched out. See here: https://docs.gitlab.com/ee/ci/pipelines.html https://docs.gitlab.com/ee/ci/pipelines.html
- Chico75 9y agoNo, you can define jobs and stages. Stages run one after the others and all jobs inside the same stage will run in parallel, that's it, unless you start triggering remote jobs but then it becomes a lot let maintainable.
- Tushon 9y agoI don't have personal experience with this, but it seems to be that OP could have done this using their pipelines and maybe the graphs? https://docs.gitlab.com/ee/ci/pipelines.html#pipeline-graphs https://docs.gitlab.com/ee/ci/pipelines.html#pipeline-graphs
- tyho 9y agoIt is with https://concourse-ci.org https://concourse-ci.org