Run Auto DevOps jobs when KUBECONFIG is present
What does this MR do and why?
Adds support for running Auto DevOps whenever a KUBECONFIG
is present. Part of Auto DevOps for working with the CI/CD tunnel
Manual QA
- Pipeline https://gitlab.com/hfyngvason/rails-with-agent/-/pipelines/406755924
- The deployments will fail because I didn't fully configure things and deleted my cluster before things finished, the important thing is observing that the correct jobs are triggered
-
.gitlab-ci.yml
for pipeline, also pasted below - agent config
include:
- file:
- lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
- lib/gitlab/ci/templates/Jobs/DAST-Default-Branch-Deploy.gitlab-ci.yml
- lib/gitlab/ci/templates/Jobs/Deploy.gitlab-ci.yml
- lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
- lib/gitlab/ci/templates/Jobs/Browser-Performance-Testing.gitlab-ci.yml
project: gitlab-org/gitlab
ref: add-kubeconfig-condition-to-auto-devops
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Hordur Freyr Yngvason