deploy:
stage: production
tags:
- arnoldschwarzenegger
script:
- whoami
- which docker
- docker compose down
- docker compose up -d
only:
- master
And in settings → CI/CD, Runners, I created a new runner and registered it with my GCP VM. I confirmed the “tags” input value has a non-typo’d “arnoldschwarzenegger” as well as “shared” separated by a comma
Now in Pipelines for my jobs I cancelled and triggered a pipeline and each time it always says “This job has not started yet” which is questioning how I setup my tags - can anyone advise?
You don’t have admin access on gitlab.com - that is only possible when you install your own server with Gitlab. On Gitlab.com projects must have CI/CD enabled, and then you can select runners for the project under project settings.
@gatsu, when you look at the project setttings > CI/CD > runners area. Do you see your runner on the left column under project runners? If you click on the name link, are you able to see a screen like the image I am showing below?
In the “Configuration” section, if it has “Protected” can you confirm that your changes are in a protected branch?
If you don’t have “Runs untagged jobs” can you edit the runner using the pencil icon in the top right and enable it to see if that allows the pipeline to access the runner? (since you added the runner to a project it will not be shared publicly or across groups)