chore(gitlab-ci): use separate parse test changelog
This commit is contained in:
parent
dc14600478
commit
ccfe440530
@ -293,6 +293,29 @@ parse changelog:
|
|||||||
expire_in: "1 day"
|
expire_in: "1 day"
|
||||||
retry: 2
|
retry: 2
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
parse test changelog:
|
||||||
|
stage: prepare release
|
||||||
|
needs:
|
||||||
|
- job: node dependencies
|
||||||
|
artifacts: true
|
||||||
|
rules: *test-release-rules
|
||||||
|
before_script: *nix-before
|
||||||
|
script:
|
||||||
|
- xzcat node-dependencies.nar.xz | nix-store --import
|
||||||
|
- source .gitlab-ci/construct-flake-url.sh
|
||||||
|
- nix -L run "${FLAKE}#jqChangelogJson" -- -r '.versions[0].version' > .current-version
|
||||||
|
- nix -L run "${FLAKE}#jqChangelogJson" -- -r '.versions[0].body' > .current-changelog.md
|
||||||
|
- echo "VERSION=$(cat .current-version)" >> build.env
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
dotenv: build.env
|
||||||
|
paths:
|
||||||
|
- .current-version
|
||||||
|
- .current-changelog.md
|
||||||
|
name: "changelog-${CI_COMMIT_SHORT_SHA}"
|
||||||
|
expire_in: "1 day"
|
||||||
|
retry: 2
|
||||||
|
interruptible: true
|
||||||
|
|
||||||
upload container:
|
upload container:
|
||||||
variables:
|
variables:
|
||||||
@ -342,7 +365,7 @@ upload test container:
|
|||||||
artifacts: false
|
artifacts: false
|
||||||
- job: test container
|
- job: test container
|
||||||
artifacts: true
|
artifacts: true
|
||||||
- job: parse changelog
|
- job: parse test changelog
|
||||||
artifacts: true
|
artifacts: true
|
||||||
- job: check # sanity
|
- job: check # sanity
|
||||||
artifacts: false
|
artifacts: false
|
||||||
@ -381,5 +404,5 @@ test release:
|
|||||||
needs:
|
needs:
|
||||||
- job: check # sanity
|
- job: check # sanity
|
||||||
artifacts: false
|
artifacts: false
|
||||||
- job: parse changelog
|
- job: parse test changelog
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
|||||||
Reference in New Issue
Block a user