fix
This commit is contained in:
@@ -42,27 +42,6 @@ spec:
|
|||||||
workspaces:
|
workspaces:
|
||||||
- name: shared-workspace
|
- name: shared-workspace
|
||||||
workspace: source
|
workspace: source
|
||||||
- name: lint-shell-custom
|
|
||||||
onError: $(params.on-error)
|
|
||||||
when:
|
|
||||||
- input: "lint-shell-custom"
|
|
||||||
operator: in
|
|
||||||
values: ["$(params.stages[*])"]
|
|
||||||
params:
|
|
||||||
- name: args
|
|
||||||
value: $(params.shellcheck-args)
|
|
||||||
taskRef:
|
|
||||||
resolver: git
|
|
||||||
params:
|
|
||||||
- name: url
|
|
||||||
value: $(params.git-url)
|
|
||||||
- name: revision
|
|
||||||
value: $(params.git-revision)
|
|
||||||
- name: pathInRepo
|
|
||||||
value: ".tekton/lint-shell.yaml"
|
|
||||||
workspaces:
|
|
||||||
- name: shared-workspace
|
|
||||||
workspace: source
|
|
||||||
- name: lint-docker
|
- name: lint-docker
|
||||||
onError: $(params.on-error)
|
onError: $(params.on-error)
|
||||||
when:
|
when:
|
||||||
@@ -77,27 +56,6 @@ spec:
|
|||||||
value: $(tasks.detect-stages.results.file-docker)
|
value: $(tasks.detect-stages.results.file-docker)
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
- name: lint-docker-custom
|
|
||||||
onError: $(params.on-error)
|
|
||||||
when:
|
|
||||||
- input: "lint-docker-custom"
|
|
||||||
operator: in
|
|
||||||
values: ["$(params.stages[*])"]
|
|
||||||
taskRef:
|
|
||||||
resolver: git
|
|
||||||
params:
|
|
||||||
- name: url
|
|
||||||
value: $(params.git-url)
|
|
||||||
- name: revision
|
|
||||||
value: $(params.git-revision)
|
|
||||||
- name: pathInRepo
|
|
||||||
value: ".tekton/lint-docker.yaml"
|
|
||||||
matrix:
|
|
||||||
params:
|
|
||||||
- name: dockerfile-path
|
|
||||||
value: $(tasks.detect-stages.results.file-docker)
|
|
||||||
workspaces:
|
|
||||||
- name: source
|
|
||||||
- name: lint-yaml
|
- name: lint-yaml
|
||||||
onError: $(params.on-error)
|
onError: $(params.on-error)
|
||||||
when:
|
when:
|
||||||
@@ -112,27 +70,6 @@ spec:
|
|||||||
workspaces:
|
workspaces:
|
||||||
- name: shared-workspace
|
- name: shared-workspace
|
||||||
workspace: source
|
workspace: source
|
||||||
- name: lint-yaml-custom
|
|
||||||
onError: $(params.on-error)
|
|
||||||
when:
|
|
||||||
- input: "lint-yaml-custom"
|
|
||||||
operator: in
|
|
||||||
values: ["$(params.stages[*])"]
|
|
||||||
params:
|
|
||||||
- name: args
|
|
||||||
value: ["."]
|
|
||||||
taskRef:
|
|
||||||
resolver: git
|
|
||||||
params:
|
|
||||||
- name: url
|
|
||||||
value: $(params.git-url)
|
|
||||||
- name: revision
|
|
||||||
value: $(params.git-revision)
|
|
||||||
- name: pathInRepo
|
|
||||||
value: ".tekton/lint-yaml.yaml"
|
|
||||||
workspaces:
|
|
||||||
- name: shared-workspace
|
|
||||||
workspace: source
|
|
||||||
- name: lint-black
|
- name: lint-black
|
||||||
onError: $(params.on-error)
|
onError: $(params.on-error)
|
||||||
when:
|
when:
|
||||||
@@ -147,27 +84,6 @@ spec:
|
|||||||
workspaces:
|
workspaces:
|
||||||
- name: shared-workspace
|
- name: shared-workspace
|
||||||
workspace: source
|
workspace: source
|
||||||
- name: lint-black-custom
|
|
||||||
onError: $(params.on-error)
|
|
||||||
when:
|
|
||||||
- input: "lint-black-custom"
|
|
||||||
operator: in
|
|
||||||
values: ["$(params.stages[*])"]
|
|
||||||
params:
|
|
||||||
- name: args
|
|
||||||
value: $(params.black-args)
|
|
||||||
taskRef:
|
|
||||||
resolver: git
|
|
||||||
params:
|
|
||||||
- name: url
|
|
||||||
value: $(params.git-url)
|
|
||||||
- name: revision
|
|
||||||
value: $(params.git-revision)
|
|
||||||
- name: pathInRepo
|
|
||||||
value: ".tekton/lint-black.yaml"
|
|
||||||
workspaces:
|
|
||||||
- name: shared-workspace
|
|
||||||
workspace: source
|
|
||||||
- name: lint-python
|
- name: lint-python
|
||||||
onError: $(params.on-error)
|
onError: $(params.on-error)
|
||||||
when:
|
when:
|
||||||
@@ -182,24 +98,3 @@ spec:
|
|||||||
workspaces:
|
workspaces:
|
||||||
- name: shared-workspace
|
- name: shared-workspace
|
||||||
workspace: source
|
workspace: source
|
||||||
- name: lint-python-custom
|
|
||||||
onError: $(params.on-error)
|
|
||||||
when:
|
|
||||||
- input: "lint-python-custom"
|
|
||||||
operator: in
|
|
||||||
values: ["$(params.stages[*])"]
|
|
||||||
params:
|
|
||||||
- name: args
|
|
||||||
value: ["$(tasks.detect-stages.results.file-python[*])"]
|
|
||||||
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
|
|
||||||
Reference in New Issue
Block a user