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