fix
This commit is contained in:
@@ -155,7 +155,7 @@ spec:
|
||||
values: ["$(params.stages[*])"]
|
||||
params:
|
||||
- name: args
|
||||
value: $(params.shellcheck-args)
|
||||
value: $(tasks.detect-stages.results.shellcheck-args)
|
||||
taskRef:
|
||||
name: shellcheck
|
||||
workspaces:
|
||||
@@ -169,7 +169,7 @@ spec:
|
||||
values: ["$(params.stages[*])"]
|
||||
params:
|
||||
- name: args
|
||||
value: $(params.shellcheck-args)
|
||||
value: $(tasks.detect-stages.results.shellcheck-args)
|
||||
taskRef:
|
||||
resolver: git
|
||||
params:
|
||||
@@ -260,7 +260,7 @@ spec:
|
||||
values: ["$(params.stages[*])"]
|
||||
params:
|
||||
- name: args
|
||||
value: $(params.black-args)
|
||||
value: $(tasks.detect-stages.results.black-args)
|
||||
taskRef:
|
||||
name: black
|
||||
workspaces:
|
||||
@@ -274,7 +274,7 @@ spec:
|
||||
values: ["$(params.stages[*])"]
|
||||
params:
|
||||
- name: args
|
||||
value: $(params.black-args)
|
||||
value: $(tasks.detect-stages.results.black-args)
|
||||
taskRef:
|
||||
resolver: git
|
||||
params:
|
||||
@@ -295,12 +295,33 @@ spec:
|
||||
values: ["$(params.stages[*])"]
|
||||
params:
|
||||
- name: args
|
||||
value: ["$(tasks.detect-stages.results.file-python[*])"]
|
||||
value: $(tasks.detect-stages.results.pylint-args)
|
||||
taskRef:
|
||||
name: pylint
|
||||
workspaces:
|
||||
- name: shared-workspace
|
||||
workspace: source
|
||||
- name: lint-python-custom
|
||||
onError: $(params.on-error)
|
||||
when:
|
||||
- input: "lint-python"
|
||||
operator: in
|
||||
values: ["$(params.stages[*])"]
|
||||
params:
|
||||
- name: args
|
||||
value: $(tasks.detect-stages.results.pylint-args)
|
||||
taskRef:
|
||||
resolver: git
|
||||
params:
|
||||
- name: url
|
||||
value: $(params.git-url)
|
||||
- name: revision
|
||||
value: $(params.git-revision)
|
||||
- name: pathInRepo
|
||||
value: ".tekton/lint-python.yaml"
|
||||
workspaces:
|
||||
- name: shared-workspace
|
||||
workspace: source
|
||||
- name: lint-custom
|
||||
onError: $(params.on-error)
|
||||
when:
|
||||
@@ -319,7 +340,7 @@ spec:
|
||||
workspaces:
|
||||
- name: source
|
||||
- name: publish-docker
|
||||
runAfter: ["lint","lint-custom"]
|
||||
runAfter: ["lint-shell","lint-shell-custom","lint-docker","lint-docker-custom","lint-yaml","lint-yaml-custom","lint-black","lint-black-custom","lint-python","lint-python-custom","lint-custom"]
|
||||
when:
|
||||
- input: "publish-docker"
|
||||
operator: in
|
||||
|
||||
Reference in New Issue
Block a user