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
|
mountPath: /shared-data
|
||||||
# How to extract artifacts
|
# 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
|
- name: lint-scan
|
||||||
container:
|
container:
|
||||||
image: golangci/golangci-lint:v1.61.0
|
image: golangci/golangci-lint:v1.61.0
|
||||||
|
@ -142,7 +144,7 @@ spec:
|
||||||
args:
|
args:
|
||||||
- |
|
- |
|
||||||
cd /shared-data/repo && \
|
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
|
cat lint-results.json
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: shared-data
|
- name: shared-data
|
||||||
|
|
Loading…
Reference in a new issue