From 09ca6bddf65a7905550b29a945fb2037b440846b Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sun, 13 Mar 2022 18:22:24 +0100 Subject: [PATCH] ci tidyup --- bundles/build-server/files/ci | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bundles/build-server/files/ci b/bundles/build-server/files/ci index 3a73402..f3394c9 100644 --- a/bundles/build-server/files/ci +++ b/bundles/build-server/files/ci @@ -11,15 +11,12 @@ SSH_OPTIONS='-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' for INTEGRATION in "$(cat $CONFIG_PATH | jq -r '.ci | values[]')" do - - echo '-----------------------' - echo $INTEGRATION - [[ $(jq -r '.repo' <<< $INTEGRATION) = $REPO_NAME ]] || continue HOSTNAME=$(jq -r '.hostname' <<< $INTEGRATION) DESTINATION_PATH=$(jq -r '.path' <<< $INTEGRATION) DESTINATION_GROUP=$(jq -r '.group' <<< $INTEGRATION) + [[ -z "$HOSTNAME" ]] || [[ -z "$DESTINATION_PATH" ]] || [[ -z "$DESTINATION_GROUP" ]] && exit 5 cd ~