From: Andoni Duarte Pintado Date: Thu, 23 Oct 2025 13:13:00 +0000 (+0200) Subject: Add the "publish" job X-Git-Tag: v9.21.15~33^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a27b1954f21bb04d397ccda63cffd1a0843ef80d;p=thirdparty%2Fbind9.git Add the "publish" job Add a new SSH-confirmed GitLab CI job that publishes a previously staged release to a well-known URL. The details of what specifically this entails are controlled by the staging environment. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2db0c47ab05..fa94f93b3d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1734,6 +1734,23 @@ publish-private: rules: - if: '$CI_COMMIT_TAG != null && ($CI_COMMIT_TAG =~ /-S/ || $RELEASE_TYPE == "security")' +# Job copying a staged release to a well-known location + +publish: + <<: *signer_ssh_job + variables: + SSH_SCRIPT_CLIENT: |- + ssh "${STAGING_USER_ACTIONS}@${STAGING_HOST}" "publish ${CI_COMMIT_TAG}" + artifacts: + paths: + - publish-${CI_COMMIT_TAG}.log + expire_in: "1 month" + needs: + - job: staging + artifacts: false + rules: + - if: '$CI_COMMIT_TAG != null && $CI_COMMIT_TAG !~ /-S/' + # Job creating the release announcement MR in Printing Press prepare-release-announcement: