Skip to content

Commit 1fc33fb

Browse files
committed
fix: target the ADO pipeline to use specific branch
1 parent 48c67e8 commit 1fc33fb

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/stage-4-deploy-devtest.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ jobs:
116116
param_tests="testTypes=[${test_types[$ENVIRONMENT_NAME]}]"
117117
118118
echo "Starting Azure devops pipeline \"Deploy to Azure - Core ${ENVIRONMENT_NAME}\"..."
119-
# RUN_ID=$(az pipelines run \
120-
# --branch "${BRANCH_NAME}" \
121-
# --commit-id "$COMMIT_SHA" \
122-
# --name "Deploy to Azure - Core ${ENVIRONMENT_NAME}" \
123-
# --org "${organisation}" \
124-
# --project "${project_name}" \
125-
# --parameters "$param_image" "$param_tests" \
126-
# --output tsv --query id)
127-
128-
# echo "Click here to view the ADO pipeline: ${organisation}/${project_name}/_build/results?buildId=${RUN_ID}"
129-
130-
# scripts/bash/wait_ado_pipeline.sh "$RUN_ID" "${organisation}" "${project_name}" 1800
119+
RUN_ID=$(az pipelines run \
120+
--branch "${BRANCH_NAME}" \
121+
--commit-id "$COMMIT_SHA" \
122+
--name "Deploy to Azure - Core ${ENVIRONMENT_NAME}" \
123+
--org "${organisation}" \
124+
--project "${project_name}" \
125+
--parameters "$param_image" "$param_tests" \
126+
--output tsv --query id)
127+
128+
echo "Click here to view the ADO pipeline: ${organisation}/${project_name}/_build/results?buildId=${RUN_ID}"
129+
130+
scripts/bash/wait_ado_pipeline.sh "$RUN_ID" "${organisation}" "${project_name}" 1800

0 commit comments

Comments
 (0)