From da050f2d36907d453cc029603a98523e126a262a Mon Sep 17 00:00:00 2001 From: Gerd Oberlechner Date: Fri, 6 Dec 2024 11:13:21 +0100 Subject: [PATCH] output chaining for mgmt-pipeline Signed-off-by: Gerd Oberlechner --- dev-infrastructure/.gitignore | 1 + .../configurations/output-region.tmpl.bicepparam | 1 + .../configurations/outputs/region.tmpl.bicepparam | 2 -- dev-infrastructure/mgmt-pipeline.yaml | 4 ++-- .../templates/{outputs/region.bicep => output-region.bicep} | 0 5 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 dev-infrastructure/configurations/output-region.tmpl.bicepparam delete mode 100644 dev-infrastructure/configurations/outputs/region.tmpl.bicepparam rename dev-infrastructure/templates/{outputs/region.bicep => output-region.bicep} (100%) diff --git a/dev-infrastructure/.gitignore b/dev-infrastructure/.gitignore index a4c761b68..635b32a0f 100644 --- a/dev-infrastructure/.gitignore +++ b/dev-infrastructure/.gitignore @@ -7,4 +7,5 @@ configurations/acr-ocp.bicepparam configurations/image-sync.bicepparam configurations/dev-role-assignments.bicepparam configurations/cs-integ-msi.bicepparam +configurations/output-region.bicepparam config.mk diff --git a/dev-infrastructure/configurations/output-region.tmpl.bicepparam b/dev-infrastructure/configurations/output-region.tmpl.bicepparam new file mode 100644 index 000000000..33534e7ad --- /dev/null +++ b/dev-infrastructure/configurations/output-region.tmpl.bicepparam @@ -0,0 +1 @@ +using '../templates/output-region.bicep' diff --git a/dev-infrastructure/configurations/outputs/region.tmpl.bicepparam b/dev-infrastructure/configurations/outputs/region.tmpl.bicepparam deleted file mode 100644 index ed6a89cce..000000000 --- a/dev-infrastructure/configurations/outputs/region.tmpl.bicepparam +++ /dev/null @@ -1,2 +0,0 @@ -using '../../templates/outputs/region.bicep' - diff --git a/dev-infrastructure/mgmt-pipeline.yaml b/dev-infrastructure/mgmt-pipeline.yaml index 5bda12bf3..825ce1606 100644 --- a/dev-infrastructure/mgmt-pipeline.yaml +++ b/dev-infrastructure/mgmt-pipeline.yaml @@ -7,8 +7,8 @@ resourceGroups: steps: - name: regionOutput action: ARM - template: templates/outputs/region.bicep - parameters: configurations/outputs/region.tmpl.bicepparam + template: templates/output-region.bicep + parameters: configurations/output-region.tmpl.bicepparam - name: {{ .mgmt.rg }} subscription: {{ .mgmt.subscription }} aksCluster: {{ .aksName }} diff --git a/dev-infrastructure/templates/outputs/region.bicep b/dev-infrastructure/templates/output-region.bicep similarity index 100% rename from dev-infrastructure/templates/outputs/region.bicep rename to dev-infrastructure/templates/output-region.bicep