From 19ccf22c406d5336ec45e5097c906c38aaf1632d Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Mon, 6 Dec 2021 17:49:13 +0100 Subject: [PATCH] [ci] Add spaces between stages definitions, rm redshift tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since this issue is fixed and can be fixed by disabling 1000i100’s runner --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ab3711c..4aad0a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,9 +19,9 @@ build-job: - public/ name: build expire_in: 7 days + package-job: stage: package - tags: [redshift] # Used to prevent runner 1000i100 from picking up this stage image: curlimages/curl:latest script: - PACKAGE_VERSION="$(date +%Y.%m).${CI_PIPELINE_IID}" @@ -33,9 +33,9 @@ package-job: - 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file $HOME/website.tar ${PACKAGE_REGISTRY_URL}/website.tar' rules: - if: '$CI_COMMIT_BRANCH == "master"' + release-job: stage: release - tags: [redshift] # Used to prevent runner 1000i100 from picking up this stage image: registry.gitlab.com/gitlab-org/release-cli:latest rules: - if: '$CI_COMMIT_BRANCH == "master"' @@ -47,11 +47,10 @@ release-job: pages: stage: deploy - tags: [redshift] rules: - if: '$CI_COMMIT_BRANCH == "master"' script: - echo "Publishing to Gitlab pages" artifacts: paths: - - public/ \ No newline at end of file + - public/ -- GitLab