How to run CI/CD jobs on a GKE-hosted GitLab runner¶
This short guide shows you how to run CI jobs on product's GKE-hosted GitLab runner using tags. For an explanation of why you might want to do this see the explanation on GKE-hosted runners.
- Ensure that the product in question has been configured with a GKE-hosted GitLab runner. See GKE GitLab Runners for more information.
GKE_RUNNER_TAGCI/CD variable to a job definition. For example:.gitlab-ci.yml
dummy-job: stage: test script: echo "I am a dummy job!" tags: - $GKE_RUNNER_TAG
In this guide, you learnt how to run CI jobs on a product's GKE-hosted GitLab runner.