Expire more artifacts earlier

This commit is contained in:
Peter 2021-11-17 16:30:29 +01:00
parent 02eaa3fde5
commit 432b243593
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9

View file

@ -56,6 +56,7 @@ lint:
- task deps generate protobuf-lint - task deps generate protobuf-lint
- golangci-lint run --timeout 5m --issues-exit-code 0 --out-format code-climate | tee gl-code-quality-report.json | jq -r '.[] | "\(.location.path):\(.location.lines.begin) \(.description)"' - golangci-lint run --timeout 5m --issues-exit-code 0 --out-format code-climate | tee gl-code-quality-report.json | jq -r '.[] | "\(.location.path):\(.location.lines.begin) \(.description)"'
artifacts: artifacts:
expire_in: 7 days
reports: reports:
codequality: gl-code-quality-report.json codequality: gl-code-quality-report.json
paths: paths:
@ -118,6 +119,8 @@ integration-test:
container_scanning: container_scanning:
stage: validate stage: validate
artifacts:
expire_in: 7 days
needs: needs:
- job: snapshot-release - job: snapshot-release
optional: true optional: true
@ -130,10 +133,11 @@ pages:
needs: [ ] needs: [ ]
only: only:
refs: refs:
- main - main
- tags - tags
script: script:
- mdbook build -d ./../public ./docs - mdbook build -d ./../public ./docs
artifacts: artifacts:
expire_in: 7 days
paths: paths:
- public - public