Skip to content

Commit c98c455

Browse files
committed
feat: devtest using the pr number
1 parent 0f4f2fe commit c98c455

1 file changed

Lines changed: 12 additions & 15 deletions

File tree

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

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,15 @@ jobs:
111111
param_image="dockerImageTag=${DEVTEST_PR_NUM_TAG}"
112112
param_tests="testTypes=[${test_types[$ENVIRONMENT_NAME]}]"
113113
114-
echo "Pipeline params test:"
115-
echo "Param_image: ${param_image}"
116-
117-
# echo "Starting Azure devops pipeline \"Deploy to Azure - Core ${ENVIRONMENT_NAME}\"..."
118-
# RUN_ID=$(az pipelines run \
119-
# --commit-id "$COMMIT_SHA" \
120-
# --name "Deploy to Azure - Core ${ENVIRONMENT_NAME}" \
121-
# --org "${organisation}" \
122-
# --project "${project_name}" \
123-
# --parameters "$param_image" "$param_tests" \
124-
# --output tsv --query id)
125-
126-
# echo "Click here to view the ADO pipeline: ${organisation}/${project_name}/_build/results?buildId=${RUN_ID}"
127-
128-
# scripts/bash/wait_ado_pipeline.sh "$RUN_ID" "${organisation}" "${project_name}" 1800
114+
echo "Starting Azure devops pipeline \"Deploy to Azure - Core ${ENVIRONMENT_NAME}\"..."
115+
RUN_ID=$(az pipelines run \
116+
--commit-id "$COMMIT_SHA" \
117+
--name "Deploy to Azure - Core ${ENVIRONMENT_NAME}" \
118+
--org "${organisation}" \
119+
--project "${project_name}" \
120+
--parameters "$param_image" "$param_tests" \
121+
--output tsv --query id)
122+
123+
echo "Click here to view the ADO pipeline: ${organisation}/${project_name}/_build/results?buildId=${RUN_ID}"
124+
125+
scripts/bash/wait_ado_pipeline.sh "$RUN_ID" "${organisation}" "${project_name}" 1800

0 commit comments

Comments
 (0)