Skip to content

Commit

Permalink
DTOSS-5412: Create Dev Audit root module
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlockstar committed Nov 15, 2024
1 parent 246f4a3 commit 86dfb29
Show file tree
Hide file tree
Showing 49 changed files with 4,316 additions and 293 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,35 @@ trigger:
- infrastructure/*

pool:
#vmImage: ubuntu-latest
name: private-pool-dev-uks
vmImage: ubuntu-latest
# name: private-pool-dev-uks

resources:
repositories:
- repository: dtos-devops-templates
type: github
name: NHSDigital/dtos-devops-templates
ref: 46e5d81bf58a7b9324a35e191eac7f6cc3660dfd
ref: 6698a57ef95f35661bb668e1b929e6894a554ac6
endpoint: NHSDigital

variables:
- group: global_variable_group
- group: hub_variable_group
- group: integration_audit_variable_group
- group: DEV_audit_backend
- group: DEV_hub_backend_remote_state
- name: TF_DIRECTORY
value: $(System.DefaultWorkingDirectory)/$(System.TeamProject)/infrastructure/tf-audit
- name: TF_VERSION
value: 1.9.2
- name: TF_PLAN_ARTIFACT
value: tf_plan_audit_DEV
- name: ENVIRONMENT
value: integration
value: development

stages:
- stage: terraform_plan
displayName: Terraform Plan
condition: eq(variables['Build.Reason'], 'Manual')
variables:
tfvars: environments/$(ENVIRONMENT).tfvars
tfVarsFile: environments/$(ENVIRONMENT).tfvars
jobs:
- job: init_and_plan
displayName: Init, plan, store artifact
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,28 @@ resources:
- repository: dtos-devops-templates
type: github
name: NHSDigital/dtos-devops-templates
ref: 46e5d81bf58a7b9324a35e191eac7f6cc3660dfd
ref: 6698a57ef95f35661bb668e1b929e6894a554ac6
endpoint: NHSDigital

variables:
- group: global_variable_group
- group: hub_variable_group
- group: integration_core_variable_group
- group: DEV_core_backend
- group: DEV_audit_backend_remote_state
- group: DEV_hub_backend_remote_state
- name: TF_DIRECTORY
value: $(System.DefaultWorkingDirectory)/$(System.TeamProject)/infrastructure/tf-core
- name: TF_VERSION
value: 1.9.2
- name: TF_PLAN_ARTIFACT
value: tf_plan_core_DEV
- name: ENVIRONMENT
value: integration
value: development

stages:
- stage: terraform_plan
displayName: Terraform Plan
condition: eq(variables['Build.Reason'], 'Manual')
variables:
tfvars: environments/$(ENVIRONMENT).tfvars
tfVarsFile: environments/$(ENVIRONMENT).tfvars
jobs:
- job: init_and_plan
displayName: Init, plan, store artifact
Expand Down
63 changes: 0 additions & 63 deletions .azuredevops/pipelines/cd-infrastructure-dev.yaml

This file was deleted.

59 changes: 0 additions & 59 deletions .azuredevops/pipelines/cd-infrastructure-nft.yaml

This file was deleted.

62 changes: 0 additions & 62 deletions .azuredevops/pipelines/cd-infrastructure-preprod-audit.yaml

This file was deleted.

62 changes: 0 additions & 62 deletions .azuredevops/pipelines/cd-infrastructure-preprod-core.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,3 @@ MESHSHAREDKEY="" #Shared Key for the MESH Mailbox, For local sandbox this is set
MESHKEYPASSPHRASE="" #Passpharse for the private key for authenticating against the MESH Mailbox, for the local sandbox this is defined when creating the private key and certificate, production and integration this will be issues when provisining the environment.
MESHAPIBASEURL=http://localhost:8700/messageexchange #Mesh mailbox URL host.docker.internal for mac and localhost for windows
BSSMAILBOX=X26ABC1 #Mesh mailbox name




1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*vulnerabilities*report*.json
*report*json.zip
.version
.DS_Store

*.code-workspace
!project.code-workspace
Expand Down
2 changes: 2 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[submodule "src/Shared/dotnet-mesh-client"]
# path = src/Shared/dotnet-mesh-client
path = src/Shared/dotnet-mesh-client
url = https://github.com/NHSDigital/dotnet-mesh-client
branch = main
Loading

0 comments on commit 86dfb29

Please sign in to comment.