Make it possible to run builds that have been skipped
Problem to solve
It is common problem for me that builds got skipped when doing a merge.
For example, in my .gitconfig
I'm using:
[merge]
log = true
So, many commit messages are appended to my merge commit message. It often happens that some of those messages contain [ci skip]
string, thus when this merge commit is pushed to GitLab it gets skipped, no builds are performed.
Use Cases
- I have a few build jobs and for each also a deploy job. I want to run the build jobs, but not always the deploy jobs. However, I want to be able to run the deploy job on a later moment when I decide I want a test build deploy.
- This case can be resolved with manual jobs.
- It often happens that some of those messages contain
[ci skip]
string, thus when this merge commit is pushed to GitLab it gets skipped, no builds are performed.- As we explore solutions we'll look to solve this.
Proposal
It would be nice to have an ability to run builds that has been skipped, by pressing a single button.
Other possible iterations are choosing the stages in which to play skipped jobs, choosing all the jobs manually, etc.
For the first iteration we should focus on "Play all skipped jobs".
Further details
I have a few build jobs and for each also a deploy job. I want to run the build jobs, but not always the deploy jobs. However, I want to be able to run the deploy job on a later moment when I decide I want a test build deploy.