temp commit die ga falen

This commit is contained in:
2020-03-16 13:04:01 +01:00
parent defdbaa3ab
commit c7474c0132
11 changed files with 120 additions and 9 deletions

View File

@@ -0,0 +1,21 @@
apiVersion: tekton.dev/v1alpha1
kind: Condition
metadata:
name: is-equal
spec:
params:
- name: left
type: string
- name: right
type: string
check:
image: alpine
script: |
#!/bin/sh
if [ $(params.left) = $(params.right) ]; then
echo "$(params.left) == $(params.right)"
exit 0
else
echo "$(params.left) != $(params.right)"
exit 1
fi