From f9302c18b7c01be629d3b6b64f02bc7c5384f8e0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 18 Mar 2020 12:46:14 +1000 Subject: [PATCH] gitlab CI: update docs for how to schedule the auth variable Safer to have this defined in the scheduled job only rather than the project itself. Signed-off-by: Peter Hutterer --- .gitlab-ci.yml | 2 +- .gitlab-ci/ci.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5d3d5be..cc49e3f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index a37e5e0..9aa32a4 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -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