inputs > gewoon params is zo een rare change

This commit is contained in:
2020-03-16 14:13:58 +01:00
parent c7474c0132
commit 51d4dd6f4e
20 changed files with 74 additions and 45 deletions

View File

@@ -1,7 +1,8 @@
apiVersion: tekton.dev/v1alpha1
kind: Condition
metadata:
name: is-equal
name: is-not-equal
namespace: tekton-pipeline-1
spec:
params:
- name: left
@@ -14,8 +15,8 @@ spec:
#!/bin/sh
if [ $(params.left) = $(params.right) ]; then
echo "$(params.left) == $(params.right)"
exit 0
exit 1
else
echo "$(params.left) != $(params.right)"
exit 1
exit 0
fi