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

Commit c8243cc

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

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,15 @@ stages:
4343
condition: eq(variables['Build.Reason'], 'Manual')
4444
variables:
4545
tfVarsFile: environments/$(ENVIRONMENT).tfvars
46+
imageHash: ${{ parameters.imageHash }}
47+
registryHost: ${{ parameters.registryHost }}
4648
jobs:
4749
- job: init_and_plan
4850
displayName: Init, plan, store artifact
4951
steps:
5052
- checkout: self
5153
- checkout: dtos-devops-templates
5254
- template: .azuredevops/templates/steps/tf_plan.yaml@dtos-devops-templates
53-
parameters:
54-
imageHash: ${{ parameters.imageHash }}
55-
registryHost: ${{ parameters.registryHost }}
5655

5756
- stage: terraform_apply
5857
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
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)