Add Version printout

This commit is contained in:
William Young 2022-03-30 21:19:26 +02:00
parent 40b62ecf0d
commit 4e6cd0bc0f
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,7 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
echo "Git Poll Check All v1.2"
buildconfigs=$( oc get buildconfigs -A -l gitpoller.unstable.tech/type=basic -o json ) buildconfigs=$( oc get buildconfigs -A -l gitpoller.unstable.tech/type=basic -o json )
jq ".items[]" -c <<< $buildconfigs | while read -r line; do; jq ".items[]" -c <<< $buildconfigs | while read -r line; do;