Create an app
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Nikolai Rodionov 2024-05-04 20:19:54 +02:00
parent dfedadb1e6
commit 8bed95dd3e
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
1 changed files with 0 additions and 27 deletions

View File

@ -1,27 +0,0 @@
#!/usr/bin/env bash
if [[ $1 == "--config" ]] ; then
cat <<EOF
configVersion: v1
kubernetes:
- name: Watch bootstrap configmaps getting removed
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
executeHookOnSynchronization: false
executeHookOnEvent: ["Modified"]
jqFilter: ".status."
labelSelector:
matchExpressions:
- key: "component"
operator: "In"
values: ["bootstrap"]
EOF
else
# -------------------------------------------------------------------
# If status is succeeded, remove pipelinerun
# If failed, print a warning (till we have a notification system)
# -------------------------------------------------------------------
echo todo
fi