adds argo-worklows templates

This commit is contained in:
franz.germann1 2024-10-24 22:47:33 +02:00
parent 5683cc5f79
commit c8b676b52f

View file

@ -135,6 +135,8 @@ spec:
mountPath: /shared-data
# How to extract artifacts
# For now this task will fail if the lint scan finds any issue with --error-on-issues
# --max-same-issues or --max-issues-per-linter also possible
- name: lint-scan
container:
image: golangci/golangci-lint:v1.61.0
@ -142,7 +144,7 @@ spec:
args:
- |
cd /shared-data/repo && \
golangci-lint run ./... --out-format=json --timeout 5m > lint-results.json; \
golangci-lint run ./... --issues-exit-code --out-format=json --timeout 5m > lint-results.json; \
cat lint-results.json
volumeMounts:
- name: shared-data