Skip to content

Commit 3c488a3

Browse files
committed
feat: update the CI to use the new CD - in DevTest/NFT only
1 parent 6b88a5f commit 3c488a3

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/cicd-1-pull-request-devtest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,5 +156,5 @@ jobs:
156156
tenant_id: ${{ secrets.AZURE_TENANT_ID }}
157157
subscription_id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
158158
with:
159-
environments: "[\"development\"]"
159+
environments: "[\"nft\"]" # a temporary change to test the new pipeline
160160
commit_sha: ${{ github.sha }}

scripts/bash/call_ado_pipeline.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,20 @@ if [[ -n "${BRANCH_NAME}" ]]; then
2121
RUN_ID=$(az pipelines run \
2222
--branch "${BRANCH_NAME}" \
2323
--commit-id "${COMMIT_SHA}" \
24-
--name "Deploy to Azure - Core ${ENVIRONMENT_NAME}" \
24+
--name "Deploy to Azure - Unified" \
2525
--org "${organisation}" \
2626
--project "${project_name}" \
27-
--parameters "$param_image" "$param_tests" \
27+
--parameters targetEnvironment="${ENVIRONMENT_NAME}" $param_image $param_tests \
2828
--output tsv --query id)
2929
else
3030
RUN_ID=$(az pipelines run \
3131
--commit-id "${COMMIT_SHA}" \
32-
--name "Deploy to Azure - Core ${ENVIRONMENT_NAME}" \
32+
--name "Deploy to Azure - Unified" \
3333
--org "${organisation}" \
3434
--project "${project_name}" \
35-
--parameters "$param_image" "$param_tests" \
35+
--parameters targetEnvironment="${ENVIRONMENT_NAME}" $param_image $param_tests \
3636
--output tsv --query id)
3737
fi
38-
3938
echo "Click here to view the ADO pipeline: ${organisation}/${project_name}/_build/results?buildId=${RUN_ID}"
4039

41-
scripts/bash/wait_ado_pipeline.sh "$RUN_ID" "${organisation}" "${project_name}" 1800
40+
scripts/bash/wait_ado_pipeline.sh "$RUN_ID" "${organisation}" "${project_name}" 1800

0 commit comments

Comments
 (0)