mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 14:39:59 -04:00
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.
This commit is contained in:
parent
1d88db4d63
commit
a27b1954f2
1 changed files with 17 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue