[OPS-547] Don't allow release and snapshot workflows to run concurrently#108
[OPS-547] Don't allow release and snapshot workflows to run concurrently#108
Conversation
Signed-off-by: Alex Lourie <alex.lourie@zepben.com>
| echo "There was an error in the mvn deploy command above." | ||
| echo "##########################################################################" | ||
| echo "# There was an error in the mvn deploy command above (Mvn Package Step) #" | ||
| echo "##########################################################################" |
There was a problem hiding this comment.
eh, this sneaked in after playing with clearer error messages. I bet no one will notice.
|
question: Won't this still have the same problem? t0: kick off snapshot with hash 1 |
That's a fair point, I'll run the tests to validate. |
|
@charlta tested, you're correct. Need to come up with something else. |
Description
We had a couple of releases fail due to the
snapshotand thereleaseworkflows running at the same time and messing with the git tree. This change groups thesnapshotandreleaseworkflows into the same concurrency group, which only allows 1 workflow to execute at a time, placing another into aPENDINGstate while waiting for another workflow to finalise. The following is the type of message the waiting workflow (in this case, a release workflow) will get: