hmcts/Deployment via ADO Pipeline
Updates a service image tag in the deployment repository, then triggers and monitors an ADO deployment pipeline
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| service_name | Service name as it appears in the services values file | yes | — |
| image_tag | New image tag to set for the service | yes | — |
| target_repository | GitHub repository containing the deployment config (owner/repo) | yes | — |
| target_branch | Branch to update in the target repository | yes | — |
| values_file | Path to the services values YAML file within the target repository | yes | — |
| app_id | GitHub App ID for generating an installation token to push to the target repository | no | "" |
| app_private_key | GitHub App private key for generating an installation token | no | "" |
| deploy_key | SSH deploy key for authentication to the target repository | no | "" |
| ado_org | Azure DevOps organisation name | no | hmcts-cpp |
| ado_project | Azure DevOps project name | no | cpp-apps |
| pipeline_id | ID of the Azure DevOps deployment pipeline to trigger | yes | — |
| ado_pat | Azure DevOps Personal Access Token (PAT) used for authentication | yes | — |
| template_parameters | JSON string of key-value pairs to pass as template parameters to the deployment pipeline | yes | — |
| ref_name | Git reference (branch) to use in the triggered pipeline | no | refs/heads/main |
| api_version | Azure DevOps API version | no | 7.0 |
| poll_interval | Seconds between status checks | no | 30 |
| timeout | Max seconds to wait for pipeline completion (default 30 min) | no | 1800 |
| tag_suffix | Optional suffix to append to the image tag (e.g. _170326 for date-stamped copies) | no | "" |
| wait | Whether to wait for the ADO pipeline to complete (true) or fire-and-forget (false) | no | true |
Outputs
| name | description |
|---|---|
| run_id | The ID of the triggered pipeline run |
| result | Pipeline result (succeeded/failed/canceled) |