I’m working on migrating continuous deployment pipelines to from concouse ci to GitHub actions. I’m having an ah-ha moment realizing that there doesn’t appear to be a way to serialize jobs across workflows or even workflows themseves. This is very problematic as two or more merges to master branch can easily interfer with the merge that came just before. An example usecase.
merge master -> test -> publish docker images -> deploy to e2e env -> run e2e tests -> deploy to prod
Since workflows are indpendent and sequential its possible for a second merge to deploy a different set of changes to an e2e testing envrionment while the previous set of tests are being run
In the context of an aws cloudformation deployment the second merges deployment could get rejected while the first merges deployment is in progress.
Have others come up with a solution for this problem? I would love to see queueing as a first class option