This repository was archived by the owner on Jul 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ resources:
1414 - repository : dtos-devops-templates
1515 type : github
1616 name : NHSDigital/dtos-devops-templates
17- ref : main
17+ ref : feat/dtoss-9326-trigger-cd-pipeline-with-commit
1818 endpoint : NHSDigital
1919
2020parameters :
@@ -24,6 +24,7 @@ parameters:
2424 - name : registryHost
2525 type : string
2626
27+
2728variables :
2829 - group : DEV_core_backend
2930 - group : DEV_audit_backend_remote_state
@@ -43,16 +44,15 @@ stages:
4344 condition : eq(variables['Build.Reason'], 'Manual')
4445 variables :
4546 tfVarsFile : environments/$(ENVIRONMENT).tfvars
47+ imageHash : ${{ parameters.imageHash }}
48+ registryHost : ${{ parameters.registryHost }}
4649 jobs :
4750 - job : init_and_plan
4851 displayName : Init, plan, store artifact
4952 steps :
5053 - checkout : self
5154 - checkout : dtos-devops-templates
5255 - template : .azuredevops/templates/steps/tf_plan.yaml@dtos-devops-templates
53- parameters :
54- imageHash : ${{ parameters.imageHash }}
55- registryHost : ${{ parameters.registryHost }}
5656
5757 - stage : terraform_apply
5858 displayName : Terraform Apply
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ jobs:
103103 build-image-stage : # Recommended maximum execution time is 3 minutes
104104 name : Image build stage
105105 needs : [metadata, commit-stage, test-stage]
106- uses : NHSDigital/dtos-devops-templates/.github/workflows/stage-3-build.yaml@main
106+ uses : NHSDigital/dtos-devops-templates/.github/workflows/stage-3-build.yaml@feat/dtoss-9326-trigger-cd-pipeline-with-commit
107107 if : needs.metadata.outputs.does_pull_request_exist == 'true' || github.ref == 'refs/heads/main' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened'))
108108 with :
109109 docker_compose_file_csv_list : ./compose.yaml
Original file line number Diff line number Diff line change 2727 . Build ( ) ;
2828
2929await host . RunAsync ( ) ;
30+
31+
32+
You can’t perform that action at this time.
0 commit comments