From dea58e79c83a59a709573a9d2f3a32b3904c51c8 Mon Sep 17 00:00:00 2001 From: Uzaeir Khan Date: Wed, 22 Nov 2023 17:00:30 +0100 Subject: [PATCH] BC-5468 Check for empty values --- .github/workflows/main.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cc547e80..023e6356 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,9 +63,12 @@ jobs: default_instance=${{ github.event.inputs.instance2 }} nbc_instance=${{ github.event.inputs.instance3 }} elif [[ $workflow == *"automatic"* || $workflow == *"scheduled"* ]]; then - brb_instance=$(op document get cypress-json --vault cy-dev-brb | jq -r '.BRB') - default_instance=$(op document get cypress-json --vault cy-dev-dbc | jq -r '.DEFAULT') - nbc_instance=$(op document get cypress-json --vault cy-dev-nbc | jq -r '.NBC') + brb_instance="" + default_instance="" + nbc_instance="" + # brb_instance=$(op document get cypress-json --vault cy-dev-brb | jq -r '.BRB') + # default_instance=$(op document get cypress-json --vault cy-dev-dbc | jq -r '.DEFAULT') + # nbc_instance=$(op document get cypress-json --vault cy-dev-nbc | jq -r '.NBC') else brb_instance=${{ inputs.cypress_brb }} default_instance=${{ inputs.cypress_default }} @@ -73,9 +76,9 @@ jobs: fi # Ensure that the variables don't contain extra quotes - brb_instance=$(echo "${brb_instance}" | tr -d '"') - default_instance=$(echo "${default_instance}" | tr -d '"') - nbc_instance=$(echo "${nbc_instance}" | tr -d '"') + # brb_instance=$(echo "${brb_instance}" | tr -d '"') + # default_instance=$(echo "${default_instance}" | tr -d '"') + # nbc_instance=$(echo "${nbc_instance}" | tr -d '"') chmod +x ${{ github.workspace }}/e2e-system-tests/scripts/aggregate-json-files.sh ${{ github.workspace }}/e2e-system-tests/scripts/aggregate-json-files.sh \