I am new to Gitlab CI/CD and hence this question might seem very basic to others.
I have created two jobs - one is picked up by GitlabRunner configured on a VM and other should run on specified docker image.
my .gitlab-ci.yml looks like this:
stages:
- build
- deploy
job1:
stage: build
script:
- *do something*
tags:
- matlab # specific gitlab runner is configured for this tag
job2:
image: *docker-image* # this is the docker image i want to use
stage: deploy
script:
- *do something*
I am observing that sometimes, GitLab CI/CD runs job2 also on VM configured for matlab tags.
This does seem unusual. Has anyone observed this before?
Thanks!