Skip to content

Trigger job via git commit message like [skip CI]

I use gitlab-ci to build docker images at the same time it run other jobs like tests etc..

I use docker for devops and have db images with data and local dev boxes all generated via gitlab-ci. Theese boxes take some time to generate and do not need to be updated a lot.

So let us say I have 3 jobs in my gitlab-ci file

  • test
  • build-db
  • build-lamp

The test I would have to run on all branches and it do not use a long time.

The build-db and build-lamp I wuld like to run only some times. I know I could use "when maual" but I would like to run this via a commit message.

If I commit with [runjob build-db] it would be realy cool.
Is somthing like this possible at all in gitlag-ci?