From 6aa24d10540e8cbfa1b3ad62f05fefcc31b4d0c1 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 17 Jun 2021 16:10:53 +1000 Subject: [PATCH] gitlab CI: add a comment to explain how to actually edit the CI We tell users not to edit it, but don't tell them how to change it. Signed-off-by: Peter Hutterer --- .gitlab-ci.yml | 4 ++++ .gitlab-ci/ci.template | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7665a016..31e778d5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,10 @@ # # ######################################## +# To change the gitlab CI, edit .gitlab-ci/ci.template and/or .gitlab-ci/config.yaml +# and run ci-fairy generate-template. For details, see +# https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html#templating-gitlab-ci-yml + # This is a bit complicated for two reasons: # - we really want to run dnf/apt/... only once, updating on the test runner for # each job takes forever. So we create a container image for each distribution diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index 8c2fe1d0..c7bfe4bc 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -8,6 +8,10 @@ # # ######################################## +# To change the gitlab CI, edit .gitlab-ci/ci.template and/or .gitlab-ci/config.yaml +# and run ci-fairy generate-template. For details, see +# https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html#templating-gitlab-ci-yml + # This is a bit complicated for two reasons: # - we really want to run dnf/apt/... only once, updating on the test runner for # each job takes forever. So we create a container image for each distribution