fix
This commit is contained in:
@@ -29,9 +29,7 @@ spec:
|
||||
finally:
|
||||
- name: inform-gitea-success
|
||||
when:
|
||||
- input: "$(tasks.status)"
|
||||
operator: in
|
||||
values: ["Succeeded","Completed"]
|
||||
- cel: "$(tasks.status) in ['Succeeded','Completed']"
|
||||
params:
|
||||
- name: REPO_FULL_NAME
|
||||
value: $(params.project-path)
|
||||
@@ -47,9 +45,7 @@ spec:
|
||||
name: gitea-set-status
|
||||
- name: inform-gitea-warning
|
||||
when:
|
||||
- input: "$(tasks.status)"
|
||||
operator: in
|
||||
values: ["None"]
|
||||
- cel: "$(tasks.status) == 'None'"
|
||||
params:
|
||||
- name: REPO_FULL_NAME
|
||||
value: $(params.project-path)
|
||||
@@ -65,9 +61,7 @@ spec:
|
||||
name: gitea-set-status
|
||||
- name: inform-gitea-error
|
||||
when:
|
||||
- input: "$(tasks.status)"
|
||||
operator: in
|
||||
values: ["Failed"]
|
||||
- cel: "$(tasks.status) == 'Failed'"
|
||||
params:
|
||||
- name: REPO_FULL_NAME
|
||||
value: $(params.project-path)
|
||||
@@ -137,6 +131,7 @@ spec:
|
||||
- name: source
|
||||
- name: lint-shell
|
||||
runAfter: [detect-stages]
|
||||
onError: continue
|
||||
when:
|
||||
- input: "lint-shell"
|
||||
operator: in
|
||||
@@ -151,6 +146,7 @@ spec:
|
||||
workspace: source
|
||||
- name: lint-docker
|
||||
runAfter: [detect-stages]
|
||||
onError: continue
|
||||
when:
|
||||
- input: "lint-docker"
|
||||
operator: in
|
||||
@@ -165,6 +161,7 @@ spec:
|
||||
- name: source
|
||||
- name: lint-yaml
|
||||
runAfter: [detect-stages]
|
||||
onError: continue
|
||||
when:
|
||||
- input: "lint-yaml"
|
||||
operator: in
|
||||
@@ -179,6 +176,7 @@ spec:
|
||||
workspace: source
|
||||
- name: lint-black
|
||||
runAfter: [detect-stages]
|
||||
onError: continue
|
||||
when:
|
||||
- input: "lint-black"
|
||||
operator: in
|
||||
@@ -193,6 +191,7 @@ spec:
|
||||
workspace: source
|
||||
- name: lint-python
|
||||
runAfter: [detect-stages]
|
||||
onError: continue
|
||||
when:
|
||||
- input: "lint-python"
|
||||
operator: in
|
||||
@@ -211,14 +210,14 @@ spec:
|
||||
- input: "publish-docker"
|
||||
operator: in
|
||||
values: ["$(tasks.detect-stages.results.stages-publish[*])"]
|
||||
- input: $(params.branch-name)
|
||||
operator: in
|
||||
values: ["$(params.git-default-branch)"]
|
||||
- cel: "$(params.branch-name) == $(params.git-default-branch)"
|
||||
taskRef:
|
||||
name: buildkit-daemonless
|
||||
name: buildah
|
||||
matrix:
|
||||
params:
|
||||
- name: DOCKERFILE
|
||||
value: $(tasks.detect-stages.results.file-docker)
|
||||
- name: IMAGE
|
||||
value: $(tasks.detect-stages.results.images-name)
|
||||
workspaces:
|
||||
- name: source
|
||||
Reference in New Issue
Block a user