Skip to content

Commit 4938d73

Browse files
committed
chore: remove status SD-1405
1 parent a86684a commit 4938d73

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

charts/tekton-pipelines/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type: application
66
# This is the chart version. This version number should be incremented each time you make changes
77
# to the chart and its templates, including the app version.
88
# Versions are expected to follow Semantic Versioning (https://semver.org/)
9-
version: 2.2.14-dev.2
9+
version: 2.2.14-dev.3
1010

1111
maintainers:
1212
- url: https://www.saritasa.com/

charts/tekton-pipelines/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ saritasa-tekton-pipelines
3131

3232
## `chart.version`
3333

34-
![Version: 2.2.14-dev.2](https://img.shields.io/badge/Version-2.2.14-dev.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
34+
![Version: 2.2.14-dev.3](https://img.shields.io/badge/Version-2.2.14-dev.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
3535

3636
## Maintainers
3737

charts/tekton-pipelines/templates/common/tasks/slack-notification.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,6 @@ spec:
4949
script: |
5050
#!/bin/sh
5151
52-
status="`echo $(params.status) | tr '[:upper:]' '[:lower:]'`"
53-
54-
# Exit early if deploy succeeded
55-
if [ "$status" = "succeeded" ]; then
56-
echo "Deploy succeeded, no failed tasks to analyze"
57-
exit 0
58-
fi
59-
6052
pipelinerun_name=$(awk -F= '$1 == "tekton.dev/pipelineRun" {gsub(/"/, "", $2); print $2}' /etc/podinfo/labels)
6153
6254
# Get names of taskRuns from the pipelineRun
@@ -82,6 +74,8 @@ spec:
8274
curl -sk "https://tekton-logs-server.ci.svc.cluster.local/logs/ci/${failed_pod_name}/step-${failed_step}" | tail -c 1982 > $(results.logs.path)
8375
echo $failed_task > $(results.failed_task.path)
8476
echo $failed_step > $(results.failed_step.path)
77+
else
78+
echo 'No failed taskRuns'
8579
fi
8680
8781
- name: notification

0 commit comments

Comments
 (0)