gitlab CI: update docs for how to schedule the auth variable
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 18 Mar 2020 02:46:14 +0000 (12:46 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 18 Mar 2020 02:46:14 +0000 (12:46 +1000)
Safer to have this defined in the scheduled job only rather than the project
itself.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
.gitlab-ci.yml
.gitlab-ci/ci.template

index 5d3d5be7f3ddf694f8c39af2d1e60801d47b335e..cc49e3f15c5a87e414406ea4b1c5817843f4294b 100644 (file)
@@ -485,7 +485,7 @@ alpine:latest@container-forced-rebuild:
   script:
     # Go to your Profile, Settings, Access Tokens
     # Create a personal token with 'api' scope, copy the value.
-    # Go to Settings, CI/CD, Variables
+    # Go to CI/CD, Schedules, schedule a new monthly job (or edit the existing one)
     # Define a variable of type File named AUTHFILE. Content is that token
     # value.
     - ci-fairy -v --authfile $AUTHFILE delete-image
index a37e5e07ee04a99f97f49d7bc9bbeb446c1a6436..9aa32a4db2520211dede214845d9bad91e7fd522 100644 (file)
@@ -211,7 +211,7 @@ fedora:31@qemu-forced-rebuild:
   script:
     # Go to your Profile, Settings, Access Tokens
     # Create a personal token with 'api' scope, copy the value.
-    # Go to Settings, CI/CD, Variables
+    # Go to CI/CD, Schedules, schedule a new monthly job (or edit the existing one)
     # Define a variable of type File named AUTHFILE. Content is that token
     # value.
     - ci-fairy -v --authfile $AUTHFILE delete-image