mirror of
https://github.com/bvanroll/stage-infra.git
synced 2025-08-29 20:12:46 +00:00
inputs > gewoon params is zo een rare change
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user