Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch MST to use YAML pipeline for restarting app services #514

Closed
4 tasks done
angela-tran opened this issue Dec 19, 2024 · 1 comment
Closed
4 tasks done

Switch MST to use YAML pipeline for restarting app services #514

angela-tran opened this issue Dec 19, 2024 · 1 comment
Assignees
Labels
infrastructure Terraform, Azure, etc.

Comments

@angela-tran
Copy link
Member

angela-tran commented Dec 19, 2024

In #366, we defined a YAML pipeline for restarting the MST eligibliity-server app services.

Currently, we're not using it though because the pre-existing UI-configured pipeline under Pipelines > Releases was working fine.

SBMTD has been restarting its app services using the YAML pipeline all this time without problem, so let's switch over to using the YAML definition for MST as well. A benefit of doing so is that the "Restart app services" pipeline will appear in the same Pipelines section that the infra pipeline is in.

Steps in Azure DevOps:

  • Disable the UI-configured pipeline
    Image

  • Create a new pipeline that uses the YAML definition mst/azure-restart.yml

  • Run it manually to verify it works

  • Verify that scheduled runs work

@lalver1
Copy link
Member

lalver1 commented Jan 9, 2025

Thanks for your help and working with me on this one @angela-tran !

  • Disable the UI-configured pipeline
  • Create a new pipeline that uses the YAML definition mst/azure-restart.yml
  • Renamed the new pipeline to Restart app services following SBMTD's naming convention
  • Run it manually to verify it works
    • Verify that the restart occurred on the dev server and that it is running by using the /metadata endpoint
    • Verify that the restart occurred on the test server and that it is running by using the /metadata endpoint
    • Verify that the restart occurred on the prod server and that it is running by using the /metadata endpoint
  • Verify that scheduled run works

Image

@lalver1 lalver1 moved this from Todo to In progress in Digital Services Jan 9, 2025
@lalver1 lalver1 closed this as completed Jan 10, 2025
@github-project-automation github-project-automation bot moved this from In progress to Done in Digital Services Jan 10, 2025
@lalver1 lalver1 added the infrastructure Terraform, Azure, etc. label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Terraform, Azure, etc.
Projects
Status: Done
Development

No branches or pull requests

2 participants