Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 34cd652

Browse files
committed
Testing default registry host value in pipeline
1 parent a0cf79c commit 34cd652

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

.azuredevops/pipelines/cd-infrastructure-dev-core.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,9 @@ 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

20-
parameters:
21-
- name: imageHash
22-
type: string
23-
default: ''
24-
- name: registryHost
25-
type: string
26-
2720
variables:
2821
- group: DEV_core_backend
2922
- group: DEV_audit_backend_remote_state
@@ -50,9 +43,6 @@ stages:
5043
- checkout: self
5144
- checkout: dtos-devops-templates
5245
- template: .azuredevops/templates/steps/tf_plan.yaml@dtos-devops-templates
53-
parameters:
54-
imageHash: ${{ parameters.imageHash }}
55-
registryHost: ${{ parameters.registryHost }}
5646

5747
- stage: terraform_apply
5848
displayName: Terraform Apply

.github/workflows/cicd-1-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/ServiceLayer.API/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@
2727
.Build();
2828

2929
await host.RunAsync();
30+
31+
32+

0 commit comments

Comments
 (0)