ci: fix release url and name

ci: keep source artifacts forever
This commit is contained in:
Max Lübke 2023-03-20 14:27:02 +01:00 committed by Max Luebke
parent 4ac93e3a53
commit 1bc2b12184

View File

@ -25,7 +25,7 @@ stages: # List of stages for jobs, and their order of execution
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
SOURCE_ARCHIVE_NAME: 'port_${CI_COMMIT_TAG}_sources.tar.gz' SOURCE_ARCHIVE_NAME: 'poet_${CI_COMMIT_TAG}_sources.tar.gz'
CHANGELOG_FILE: 'commit_changelog.md' CHANGELOG_FILE: 'commit_changelog.md'
build-poet: # This job runs in the build stage, which runs first. build-poet: # This job runs in the build stage, which runs first.
@ -58,6 +58,7 @@ archive-sources: # This job runs in the build stage, which runs first.
artifacts: artifacts:
paths: paths:
- ${SOURCE_ARCHIVE_NAME} - ${SOURCE_ARCHIVE_NAME}
expire_in: never
reports: reports:
dotenv: archives.env dotenv: archives.env
rules: rules:
@ -91,12 +92,12 @@ release-create:
artifacts: true artifacts: true
release: release:
tag_name: $CI_COMMIT_TAG tag_name: $CI_COMMIT_TAG
name: 'PORT $CI_COMMIT_TAG' name: 'POET $CI_COMMIT_TAG'
description: ${CHANGELOG_FILE} description: ${CHANGELOG_FILE}
assets: assets:
links: links:
- name: '${SOURCE_ARCHIVE_NAME}' - name: '${SOURCE_ARCHIVE_NAME}'
url: 'https://git.gfz-potsdam.de/sec34/port/-/jobs/${ARCHIVE_JOB_ID}/artifacts/file/${SOURCE_ARCHIVE_NAME}' url: 'https://git.gfz-potsdam.de/naaice/poet/-/jobs/${ARCHIVE_JOB_ID}/artifacts/file/${SOURCE_ARCHIVE_NAME}'
pages: pages:
stage: release stage: release