We would like to wrap multiple consecutive jobs in one serial group. For example, we run automated testing against a deployed ECS container. We don't want to one run to deploy the service while a previous run is in the middle of testing against the deployed service. This causes inconsistent test results as some of the tests could be running against the new instance of the service which could have different behaviour.
Current pseudo-config:
main-workflow:
jobs:
- checkout-and-build
- test-unit
- deploy-service <- serial group 1
- test-end-to-end <- serial group 2
- deploy-prod <- serial group 3
proposed:
main-workflow:
jobs:
- checkout-and-build
- test-unit
- deploy-service <- serial group 1
- test-end-to-end <- serial group 1
- deploy-prod <- serial group 2