hmcts/Deployment via ADO Pipeline

Updates a service image tag in the deployment repository, then triggers and monitors an ADO deployment pipeline

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
service_nameService name as it appears in the services values fileyes
image_tagNew image tag to set for the serviceyes
target_repositoryGitHub repository containing the deployment config (owner/repo)yes
target_branchBranch to update in the target repositoryyes
values_filePath to the services values YAML file within the target repositoryyes
app_idGitHub App ID for generating an installation token to push to the target repositoryno""
app_private_keyGitHub App private key for generating an installation tokenno""
deploy_keySSH deploy key for authentication to the target repositoryno""
ado_orgAzure DevOps organisation namenohmcts-cpp
ado_projectAzure DevOps project namenocpp-apps
pipeline_idID of the Azure DevOps deployment pipeline to triggeryes
ado_patAzure DevOps Personal Access Token (PAT) used for authenticationyes
template_parametersJSON string of key-value pairs to pass as template parameters to the deployment pipelineyes
ref_nameGit reference (branch) to use in the triggered pipelinenorefs/heads/main
api_versionAzure DevOps API versionno7.0
poll_intervalSeconds between status checksno30
timeoutMax seconds to wait for pipeline completion (default 30 min)no1800
tag_suffixOptional suffix to append to the image tag (e.g. _170326 for date-stamped copies)no""
waitWhether to wait for the ADO pipeline to complete (true) or fire-and-forget (false)notrue
namedescription
run_idThe ID of the triggered pipeline run
resultPipeline result (succeeded/failed/canceled)