Skip to content

Commit

Permalink
- Changed the update deployment board task to update github deployments
Browse files Browse the repository at this point in the history
- Removed the clean up deployment board workflow
  • Loading branch information
hpractv committed Feb 5, 2024
1 parent 2b44341 commit cae5072
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 86 deletions.
2 changes: 1 addition & 1 deletion workflow-templates/im-deploy-az-app-manually.yml
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ jobs:
# 1 - Update the deployment board based on the workflow conclusion
# 2 - Post a deployment status in the repo owner's Teams channel (connected to the MS_TEAMS_URI secret)
# 3 - Post a deployment status in the Deployment Notifications Teams channel if the deploy is for prod, is successful and the flag to do so is not set to false
update-deployment-board-and-send-teams-notification:
update-github-deployments-and-send-teams-notification:
needs: [set-vars, deploy-code]
if: always()
uses: im-practices/.github/.github/workflows/im-reusable-finish-deployment-workflow.yml@v2
Expand Down
4 changes: 2 additions & 2 deletions workflow-templates/im-deploy-az-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ on:
# 6. Delete the 'attestor-approval' job
# 7. Delete the 'setup-deployment-workflow' job
# 8. Under the 'deploy-az-db' job, delete the needs property
# 9. Under the 'update-deployment-board-and-send-teams-notification' job, update the needs property to be: "needs: [deploy-az-db]"
# 9. Under the 'update-github-deployments-and-send-teams-notification' job, update the needs property to be: "needs: [deploy-az-db]"
# repository_dispatch:
# types: [<deployable_name>_deploy] # TODO: Replace <deployable_name>. This will be used in the 'Deploy Multiple Items' workflow to target this deployment workflow.

Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
# 1 - Update the deployment board based on the workflow conclusion
# 2 - Post a deployment status in the repo owner's Teams channel (connected to the MS_TEAMS_URI secret)
# 3 - Post a deployment status in the Deployment Notifications Teams channel if the deploy is for prod, is successful and the flag to do so is not set to false
update-deployment-board-and-send-teams-notification:
update-github-deployments-and-send-teams-notification:
needs: [set-vars, deploy-az-db]
if: always()
uses: im-practices/.github/.github/workflows/im-reusable-finish-deployment-workflow.yml@v2
Expand Down

This file was deleted.

71 changes: 0 additions & 71 deletions workflow-templates/im-deploy-cleanup-automated-board.yml

This file was deleted.

2 changes: 1 addition & 1 deletion workflow-templates/im-deploy-iis-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ jobs:
# 1 - Update the deployment board based on the workflow conclusion
# 2 - Post a deployment status in the repo owner's Teams channel (connected to the MS_TEAMS_URI secret)
# 3 - Post a deployment status in the Deployment Notifications Teams channel if the deploy is for prod, is successful and the flag to do so is not set to false
update-deployment-board-and-send-teams-notification:
update-github-deployments-and-send-teams-notification:
needs: [set-vars, deploy-site-to-machine]
if: always()
uses: im-practices/.github/.github/workflows/im-reusable-finish-deployment-workflow.yml@v2
Expand Down
4 changes: 2 additions & 2 deletions workflow-templates/im-deploy-on-prem-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ on:
# 7. Delete the 'validate-tag-is-in-main-for-prod-deploys' job
# 8. Replace all instances of "${{ env.ENVIRONMENT }}" with "${{ github.event.client_payload.environment }}"
# 9. Under the 'deploy-on-prem-db' job, delete the needs property
# 10. Under the 'update-deployment-board-and-send-teams-notification' job, update the needs property to be: "needs: [deploy-on-prem-db]"
# 10. Under the 'update-github-deployments-and-send-teams-notification' job, update the needs property to be: "needs: [deploy-on-prem-db]"
# repository_dispatch:
# types: [<deployable_name>_deploy] # TODO: Replace <deployable_name>. This will be used in the 'Deploy Multiple Items' workflow to target this deployment workflow.

Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
# 1 - Update the deployment board based on the workflow conclusion
# 2 - Post a deployment status in the repo owner's Teams channel (connected to the MS_TEAMS_URI secret)
# 3 - Post a deployment status in the Deployment Notifications Teams channel if the deploy is for prod, is successful and the flag to do so is not set to false
update-deployment-board-and-send-teams-notification:
update-github-deployments-and-send-teams-notification:
needs: [deploy-on-prem-db]
if: always()
uses: im-practices/.github/.github/workflows/im-reusable-finish-deployment-workflow.yml@v2
Expand Down
2 changes: 1 addition & 1 deletion workflow-templates/im-deploy-tf-manual-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ jobs:
# 1 - Update the deployment board based on the workflow conclusion
# 2 - Post a deployment status in the repo owner's Teams channel (connected to the MS_TEAMS_URI secret)
# 3 - Post a deployment status in the Deployment Notifications Teams channel if the deploy is for prod, is successful and the flag to do so is not set to false
update-deployment-board-and-send-teams-notification:
update-github-deployments-and-send-teams-notification:
needs: [set-vars, tf-apply]
if: always()
uses: im-practices/.github/.github/workflows/im-reusable-finish-deployment-workflow.yml@v2
Expand Down
2 changes: 1 addition & 1 deletion workflow-templates/im-deploy-windows-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ jobs:
# 1 - Update the deployment board based on the workflow conclusion
# 2 - Post a deployment status in the repo owner's Teams channel (connected to the MS_TEAMS_URI secret)
# 3 - Post a deployment status in the Deployment Notifications Teams channel if the deploy is for prod, is successful and the flag to do so is not set to false
update-deployment-board-and-send-teams-notification:
update-github-deployments-and-send-teams-notification:
needs: [setup-deployment-workflow, deploy-files]
if: always()
uses: im-practices/.github/.github/workflows/im-reusable-finish-deployment-workflow.yml@v2
Expand Down
2 changes: 1 addition & 1 deletion workflow-templates/im-deploy-windows-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ jobs:
# 1 - Update the deployment board based on the workflow conclusion
# 2 - Post a deployment status in the repo owner's Teams channel (connected to the MS_TEAMS_URI secret)
# 3 - Post a deployment status in the Deployment Notifications Teams channel if the deploy is for prod, is successful and the flag to do so is not set to false
update-deployment-board-and-send-teams-notification:
update-github-deployments-and-send-teams-notification:
needs: [set-vars, deploy-service-to-machine]
if: always()
uses: im-practices/.github/.github/workflows/im-reusable-finish-deployment-workflow.yml@v2
Expand Down
2 changes: 1 addition & 1 deletion workflow-templates/im-run-tf-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ jobs:
# 1 - Update the deployment board based on the workflow conclusion
# 2 - Post a deployment status in the repo owner's Teams channel (connected to the MS_TEAMS_URI secret)
# 3 - Post a deployment status in the Deployment Notifications Teams channel if the deploy is for prod, is successful and the flag to do so is not set to false
update-deployment-board-and-send-teams-notification:
update-github-deployments-and-send-teams-notification:
needs: [set-vars, tf-apply]
if: always()
uses: im-practices/.github/.github/workflows/im-reusable-finish-deployment-workflow.yml@v2
Expand Down

0 comments on commit cae5072

Please sign in to comment.