Extending the use [ci skip]
We have quite a large .NET project with multiple solutions and we are migrating from TeamCity to Gitlab-CI. Because of this we have quite a few stages in our .yml file and the rules on when to build and what to build can become quite complex.
Would it be possible to build some intelligence into the [ci skip] and perhaps even extend it further so that the [ci] tag in a commit can be used to execute specific jobs/stages?
For example:
[ci stage:build] # only run the build stage
[ci !stage:deploy] # execute all stages except deploy
I realise this can become complex in itself especially if a stage depends on a previous stage but in those cases a failure would be expected.
Another use case may be to add variables to commit message that can be used by the stages, for example to execute tests against a specific server:
[ci VARIABLE:DB_SOURCE_SERVER=DEVB10]