Skip to content

Scripts

Utility scripts for common eshars DevOps operations.

Scripts

ScriptPurpose
check-pipeline-status.ps1List recent Azure DevOps pipeline runs across all eshars repos
list-keyvault-secrets.ps1List secret names in an eshars Key Vault (never prints values)
trigger-build.ps1Trigger a build pipeline by friendly name (hisd, mobile-api, etc.)

Usage

All scripts default to the authenticaci Azure DevOps org and eshars project.

Terminal window
# See what's been building lately
./check-pipeline-status.ps1
# Trigger mobile API build on develop
./trigger-build.ps1 -Pipeline mobile-api -Branch develop
# Check what secrets exist in prod
./list-keyvault-secrets.ps1 -Environment prod

TODO

  • Verify actual pipeline names in Azure DevOps match trigger-build.ps1 name map
  • Add script for bulk environment variable comparison across App Services
  • Add script for checking App Service health endpoints across all environments
  • Add script for TMHP connectivity health check