Expire artifacts

This commit is contained in:
erik 2022-11-09 11:45:21 +01:00
parent 2dce3a2f26
commit 7b8efa783e

View file

@ -60,6 +60,7 @@ report-frontend:
- mkdir -p target/frontend-build - mkdir -p target/frontend-build
- shadow-cljs run shadow.cljs.build-report frontend target/frontend-build/build-report.html - shadow-cljs run shadow.cljs.build-report frontend target/frontend-build/build-report.html
artifacts: artifacts:
expire_in: 1h
paths: paths:
- target/frontend-build/build-report.html - target/frontend-build/build-report.html
@ -73,6 +74,7 @@ package-frontend:
- sha256sum target/frontend-build/c4k-website.js > target/frontend-build/c4k-website.js.sha256 - sha256sum target/frontend-build/c4k-website.js > target/frontend-build/c4k-website.js.sha256
- sha512sum target/frontend-build/c4k-website.js > target/frontend-build/c4k-website.js.sha512 - sha512sum target/frontend-build/c4k-website.js > target/frontend-build/c4k-website.js.sha512
artifacts: artifacts:
expire_in: 1h
paths: paths:
- target/frontend-build - target/frontend-build
@ -84,6 +86,7 @@ package-uberjar:
- sha256sum target/uberjar/c4k-website-standalone.jar > target/uberjar/c4k-website-standalone.jar.sha256 - sha256sum target/uberjar/c4k-website-standalone.jar > target/uberjar/c4k-website-standalone.jar.sha256
- sha512sum target/uberjar/c4k-website-standalone.jar > target/uberjar/c4k-website-standalone.jar.sha512 - sha512sum target/uberjar/c4k-website-standalone.jar > target/uberjar/c4k-website-standalone.jar.sha512
artifacts: artifacts:
expire_in: 1h
paths: paths:
- target/uberjar - target/uberjar
@ -101,6 +104,7 @@ release:
rules: rules:
- if: '$CI_COMMIT_TAG != null' - if: '$CI_COMMIT_TAG != null'
artifacts: artifacts:
expire_in: 24h
paths: paths:
- target/uberjar - target/uberjar
- target/frontend-build - target/frontend-build