adds argo-worklows templates
This commit is contained in:
parent
5683cc5f79
commit
c8b676b52f
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue