From 8794b3a80a461a3b0042952b660000effc96a03d Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Sat, 21 Dec 2024 10:24:43 +0100 Subject: [PATCH] fix: Utilities move - Fixed several paths (#4039) ## Description - Fixed several paths pointing to the original location ## Type of Change - [ ] Update to CI Environment or utilities (Non-module affecting changes) - [ ] Azure Verified Module updates: - [x] Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `version.json`: - [ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description. - [ ] The bug was found by the module author, and no one has opened an issue to report it yet. - [ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in `version.json`. - [ ] Breaking changes and I have bumped the MAJOR version in `version.json`. - [ ] Update to documentation --- .github/CODEOWNERS | 2 +- ...avm.ptn.authorization.policy-exemption.yml | 4 +- .../avm.ptn.authorization.role-definition.yml | 4 +- .../avm.ptn.azd.aks-automatic-cluster.yml | 4 +- .github/workflows/avm.ptn.azd.apim-api.yml | 64 +++++++++---------- .../avm.res.network.p2s-vpn-gateway.yml | 4 +- .../tests/e2e/max/main.test.bicep | 2 +- .../tests/e2e/waf-aligned/main.test.bicep | 2 +- 8 files changed, 43 insertions(+), 43 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3ef352b44f..8fc0458129 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2,7 +2,7 @@ /.github/ @Azure/bicep-admins @Azure/avm-core-team-technical-bicep /scripts/ @Azure/bicep-admins @Azure/avm-core-team-technical-bicep /avm/ @Azure/avm-core-team-technical-bicep -/avm/utilities/ @Azure/avm-core-team-technical-bicep +/utilities/ @Azure/avm-core-team-technical-bicep /avm/ptn/aca-lza/hosting-environment/ @Azure/avm-ptn-acalza-hostingenvironment-module-owners-bicep @Azure/avm-module-reviewers-bicep /avm/ptn/ai-platform/baseline/ @Azure/avm-ptn-aiplatform-baseline-module-owners-bicep @Azure/avm-module-reviewers-bicep /avm/ptn/app/container-job-toolkit/ @Azure/avm-ptn-app-containerjobtoolkit-module-owners-bicep @Azure/avm-module-reviewers-bicep diff --git a/.github/workflows/avm.ptn.authorization.policy-exemption.yml b/.github/workflows/avm.ptn.authorization.policy-exemption.yml index 5c68e6f925..e3c6a4d70c 100644 --- a/.github/workflows/avm.ptn.authorization.policy-exemption.yml +++ b/.github/workflows/avm.ptn.authorization.policy-exemption.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.authorization.policy-exemption.yml" - "avm/ptn/authorization/policy-exemption/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.authorization.role-definition.yml b/.github/workflows/avm.ptn.authorization.role-definition.yml index 3026e36233..86a37dbb4d 100644 --- a/.github/workflows/avm.ptn.authorization.role-definition.yml +++ b/.github/workflows/avm.ptn.authorization.role-definition.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.authorization.role-definition.yml" - "avm/ptn/authorization/role-definition/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.azd.aks-automatic-cluster.yml b/.github/workflows/avm.ptn.azd.aks-automatic-cluster.yml index ddf4d8fca2..e089448c5f 100644 --- a/.github/workflows/avm.ptn.azd.aks-automatic-cluster.yml +++ b/.github/workflows/avm.ptn.azd.aks-automatic-cluster.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.ptn.azd.aks-automatic-cluster.yml" - "avm/ptn/azd/aks-automatic-cluster/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/.github/workflows/avm.ptn.azd.apim-api.yml b/.github/workflows/avm.ptn.azd.apim-api.yml index f02556626c..da754ca875 100644 --- a/.github/workflows/avm.ptn.azd.apim-api.yml +++ b/.github/workflows/avm.ptn.azd.apim-api.yml @@ -1,38 +1,38 @@ name: "avm.ptn.azd.apim-api" on: - workflow_dispatch: - inputs: - staticValidation: - type: boolean - description: "Execute static validation" - required: false - default: true - deploymentValidation: - type: boolean - description: "Execute deployment validation" - required: false - default: true - removeDeployment: - type: boolean - description: "Remove deployed module" - required: false - default: true - customLocation: - type: string - description: "Default location overwrite (e.g., eastus)" - required: false - push: - branches: - - main - paths: - - ".github/actions/templates/avm-**" - - ".github/workflows/avm.template.module.yml" - - ".github/workflows/avm.ptn.azd.apim-api.yml" - - "avm/ptn/azd/apim-api/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" - - "!*/**/README.md" + workflow_dispatch: + inputs: + staticValidation: + type: boolean + description: "Execute static validation" + required: false + default: true + deploymentValidation: + type: boolean + description: "Execute deployment validation" + required: false + default: true + removeDeployment: + type: boolean + description: "Remove deployed module" + required: false + default: true + customLocation: + type: string + description: "Default location overwrite (e.g., eastus)" + required: false + push: + branches: + - main + paths: + - ".github/actions/templates/avm-**" + - ".github/workflows/avm.template.module.yml" + - ".github/workflows/avm.ptn.azd.apim-api.yml" + - "avm/ptn/azd/apim-api/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" + - "!*/**/README.md" env: modulePath: "avm/ptn/azd/apim-api" diff --git a/.github/workflows/avm.res.network.p2s-vpn-gateway.yml b/.github/workflows/avm.res.network.p2s-vpn-gateway.yml index 0c828516c1..2f1712ec31 100644 --- a/.github/workflows/avm.res.network.p2s-vpn-gateway.yml +++ b/.github/workflows/avm.res.network.p2s-vpn-gateway.yml @@ -30,8 +30,8 @@ on: - ".github/workflows/avm.template.module.yml" - ".github/workflows/avm.res.network.p2s-vpn-gateway.yml" - "avm/res/network/p2s-vpn-gateway/**" - - "avm/utilities/pipelines/**" - - "!avm/utilities/pipelines/platform/**" + - "utilities/pipelines/**" + - "!utilities/pipelines/platform/**" - "!*/**/README.md" env: diff --git a/avm/res/network/public-ip-address/tests/e2e/max/main.test.bicep b/avm/res/network/public-ip-address/tests/e2e/max/main.test.bicep index 02aed1e048..950083f7f0 100644 --- a/avm/res/network/public-ip-address/tests/e2e/max/main.test.bicep +++ b/avm/res/network/public-ip-address/tests/e2e/max/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../../avm/utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { diff --git a/avm/res/network/public-ip-address/tests/e2e/waf-aligned/main.test.bicep b/avm/res/network/public-ip-address/tests/e2e/waf-aligned/main.test.bicep index 03a5e1bd2a..827c783ef4 100644 --- a/avm/res/network/public-ip-address/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/network/public-ip-address/tests/e2e/waf-aligned/main.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // Diagnostics // =========== -module diagnosticDependencies '../../../../../../../avm/utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { +module diagnosticDependencies '../../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = { scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: {