Skip to content

Commit

Permalink
[Modules] [BPR alignment] Remove Microsoft. prefix and rename `READ…
Browse files Browse the repository at this point in the history
…ME.md` files - part 1/2 (#3165)

* rename folder and pipeline

* set module readme and readme

* gh workflow name

* ado pipeline

* support both

* update cross reference pester test

* remove renamed folder

* cleanup

* old folder

* rename rp and readme rename

* rename avd  module files

* replace avd module references

* ms prefix workflows avd

* readme in tests

* foldername workflows avd

* foldername avd

* foldername avdback

* foldername workflows avd sp

* foldername workflows avd sp back

* foldername workflows avd hp

* foldername workflows avd hp back

* foldername hp

* foldername hp back

* fix leftover

* temp pester

* temp pester else

* temp pester else out

* temp pester else out

* call set-modulereadme

* readme utilities

* readme docs

* update avd readme

* storage module

* storage workflow

* network module

* network module ref

* pester cleanup

* authorization namespace

* authorization workflow

* authorization pipelines

* authorization workflow 2

* remove comments

* update ado docs

* update gh readme comments

* update gh docs

* update gh readme comments

* update docs

* update policyassignments

* update set module readme

* update ado pipelines avd storage

* Remove Microsoft prefix from all modules
  • Loading branch information
eriqua authored May 10, 2023
1 parent 0e309b5 commit 0f05a13
Show file tree
Hide file tree
Showing 1,734 changed files with 252 additions and 237 deletions.
4 changes: 2 additions & 2 deletions .azuredevops/modulePipelines/ms.authorization.locks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trigger:
include:
- '/.azuredevops/modulePipelines/ms.authorization.locks.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.Authorization/locks/*'
- '/modules/Authorization/locks/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand All @@ -39,7 +39,7 @@ variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.Authorization/locks'
value: '/modules/Authorization/locks'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trigger:
include:
- '/.azuredevops/modulePipelines/ms.authorization.policyassignments.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.Authorization/policyAssignments/*'
- '/modules/Authorization/policyAssignments/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand All @@ -39,7 +39,7 @@ variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.Authorization/policyAssignments'
value: '/modules/Authorization/policyAssignments'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trigger:
include:
- '/.azuredevops/modulePipelines/ms.authorization.policydefinitions.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.Authorization/policyDefinitions/*'
- '/modules/Authorization/policyDefinitions/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand All @@ -39,7 +39,7 @@ variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.Authorization/policyDefinitions'
value: '/modules/Authorization/policyDefinitions'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trigger:
include:
- '/.azuredevops/modulePipelines/ms.authorization.policyexemptions.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.Authorization/policyExemptions/*'
- '/modules/Authorization/policyExemptions/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand All @@ -39,7 +39,7 @@ variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.Authorization/policyExemptions'
value: '/modules/Authorization/policyExemptions'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trigger:
include:
- '/.azuredevops/modulePipelines/ms.authorization.policysetdefinitions.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.Authorization/policySetDefinitions/*'
- '/modules/Authorization/policySetDefinitions/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand All @@ -39,7 +39,7 @@ variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.Authorization/policySetDefinitions'
value: '/modules/Authorization/policySetDefinitions'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trigger:
include:
- '/.azuredevops/modulePipelines/ms.authorization.roleassignments.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.Authorization/roleAssignments/*'
- '/modules/Authorization/roleAssignments/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand All @@ -39,7 +39,7 @@ variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.Authorization/roleAssignments'
value: '/modules/Authorization/roleAssignments'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trigger:
include:
- '/.azuredevops/modulePipelines/ms.authorization.roledefinitions.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.Authorization/roleDefinitions/*'
- '/modules/Authorization/roleDefinitions/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand All @@ -39,7 +39,7 @@ variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.Authorization/roleDefinitions'
value: '/modules/Authorization/roleDefinitions'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trigger:
include:
- '/.azuredevops/modulePipelines/ms.desktopvirtualization.applicationgroups.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.DesktopVirtualization/applicationgroups/*'
- '/modules/DesktopVirtualization/applicationGroups/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand All @@ -39,7 +39,7 @@ variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.DesktopVirtualization/applicationgroups'
value: '/modules/DesktopVirtualization/applicationGroups'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trigger:
include:
- '/.azuredevops/modulePipelines/ms.desktopvirtualization.hostpools.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.DesktopVirtualization/hostpools/*'
- '/modules/DesktopVirtualization/hostPools/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand All @@ -39,7 +39,7 @@ variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.DesktopVirtualization/hostpools'
value: '/modules/DesktopVirtualization/hostPools'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trigger:
include:
- '/.azuredevops/modulePipelines/ms.desktopvirtualization.scalingplans.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.DesktopVirtualization/scalingplans/*'
- '/modules/DesktopVirtualization/scalingPlans/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand All @@ -39,7 +39,7 @@ variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.DesktopVirtualization/scalingplans'
value: '/modules/DesktopVirtualization/scalingPlans'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ trigger:
include:
- '/.azuredevops/modulePipelines/ms.desktopvirtualization.workspaces.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.DesktopVirtualization/workspaces/*'
- '/modules/DesktopVirtualization/workspaces/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand All @@ -39,7 +39,7 @@ variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.DesktopVirtualization/workspaces'
value: '/modules/DesktopVirtualization/workspaces'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
Expand Down
6 changes: 3 additions & 3 deletions .azuredevops/modulePipelines/ms.storage.storageaccounts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ trigger:
- main
paths:
include:
- '/modules/Microsoft.Storage/storageAccounts/*'
- '/modules/Microsoft.Network/privateEndpoints/*'
- '/modules/Storage/storageAccounts/*'
- '/modules/Network/privateEndpoints/*'
- '/.azuredevops/modulePipelines/ms.storage.storageaccounts.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/utilities/pipelines/*'
Expand All @@ -40,7 +40,7 @@ variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.Storage/storageAccounts'
value: '/modules/Storage/storageAccounts'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
## | vmImage | '$(vmImage)' | You can provide either a [poolname] or [vmImage] to run the job on. | 'ubuntu20.04' |
## | defaultJobTimeoutInMinutes | 120 | The timeout for the job in this pipeline. | 120 |
## | removeDeployment | 'true' | Set to [true] to flag resources for removal. If not provided, defaults to true. | 'true' |
## | templateFilePath | '' | Path to the template file to deploy. | 'arm/Microsoft.AnalysisServices/servers/main.bicep' |
## | templateFilePath | '' | Path to the template file to deploy. | 'modules/AnalysisServices/servers/main.bicep' |
## | customTokens | '' | Additional token pairs in json format. | '{"tokenName":"tokenValue"}' |
## | jobDisplayName | '' | The display name of the job. | 'Deploy module' |
## | modulePath | '$(modulePath)' | The path to the module to deploy. | 'c:/KeyVault' |
Expand Down
6 changes: 3 additions & 3 deletions .azuredevops/platformPipelines/platform.updateReadMe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- checkout: self
persistCredentials: true

# Update the root ReadMe Module Pipelines table ([`/readme.md`](https://github.com/Azure/ResourceModules/blob/main/README.md))
# Update the root ReadMe Module Pipelines table ([`/README.md`](https://github.com/Azure/ResourceModules/blob/main/README.md))
- task: PowerShell@2
displayName: 'Update Module Pipelines table'
inputs:
Expand All @@ -64,7 +64,7 @@ jobs:
Set-ReadMeModuleTable @functionInput -Verbose
# Update the `modules` folder ReadMe ([`/modules/readme.md`](https://github.com/Azure/ResourceModules/blob/main/modules/README.md))
# Update the `modules` folder ReadMe ([`/modules/README.md`](https://github.com/Azure/ResourceModules/blob/main/modules/README.md))
- task: PowerShell@2
displayName: 'Update module folder ReadMe'
inputs:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
Set-ModuleOverviewTable @functionInput -Verbose
# Update the root ReadMe Platform Pipelines table ([`/readme.md`](https://github.com/Azure/ResourceModules/blob/main/README.md))
# Update the root ReadMe Platform Pipelines table ([`/README.md`](https://github.com/Azure/ResourceModules/blob/main/README.md))
- task: PowerShell@2
displayName: 'Update Platform Pipelines table'
inputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/templates/publishModule/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
## |===========================================================================================================================================================================================================|
## | Parameter | Required | Default | Description | Example |
## |--------------------------|----------|---------|--------------------------------------------------------------------------------------------------|--------------------------------------------------------|
## | templateFilePath | true | '' | The path to the template file to publish | 'modules/Microsoft.ApiManagement/service/main.bicep' |
## | templateFilePath | true | '' | The path to the template file to publish | 'modules/ApiManagement/service/main.bicep' |
## | templateSpecsRgName | false | '' | Required to publish to template spec. ResourceGroup of the template spec to publish to | 'artifacts-rg' |
## | templateSpecsRgLocation | false | '' | Required to publish to template spec. Location of the template spec resource group | 'WestEurope' |
## | templateSpecsDescription | false | '' | Required to publish to template spec. Description of the template spec to publish to | 'This is an API-Management service template' |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## |=====================================================================================================================================================================================|
## | Parameter | Required | Default | Description | Example |
## |---------------------------|----------|---------|-------------------------------------------------------|----------------------------------------------------------------------------|
## | templateFilePath | true | '' | The path to the template file to use for deployment | 'modules/Microsoft.ApiManagement/service/main.bicep' |
## | templateFilePath | true | '' | The path to the template file to use for deployment | 'modules/ApiManagement/service/main.bicep' |
## | location | true | '' | The location to use for deployment | 'WestEurope' |
## | subscriptionId | false | '' | The subscriptionId to deploy to | '1a97b80a-4dda-4f50-ab53-349e29344654' |
## | managementGroupId | false | '' | The managementGroupId to deploy to | '1a97b80a-4dda-4f50-ab53-349e29344654' |
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/templates/validateModulePSRule/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
## |=================================================================================================================================================================|
## | Parameter | Required | Default | Description | Example |
## |--------------------------|----------|---------|--------------------------------------|--------------------------------------------------------------------------|
## | templateFilePath | true | '' | The path to the module PSRule tests. | 'modules/Microsoft.ApiManagement/service/.test/common/main.test.bicep' |
## | templateFilePath | true | '' | The path to the module PSRule tests. | 'modules/ApiManagement/service/.test/common/main.test.bicep' |
## | subscriptionId | false | '' | The subscriptionId to deploy to | '1a97b80a-4dda-4f50-ab53-349e29344654' |
## | managementGroupId | false | '' | The managementGroupId to deploy to | '1a97b80a-4dda-4f50-ab53-349e29344654' |
## |=================================================================================================================================================================|
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/templates/validateModulePester/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
## |==================================================================================================================================================|
## | Parameter | Required | Default | Description | Example |
## |--------------------------|----------|---------|--------------------------------------|-----------------------------------------------------------|
## | modulePath | true | '' | The path to the module's folder | 'modules/Microsoft.ApiManagement/service' |
## | modulePath | true | '' | The path to the module's folder | 'modules/ApiManagement/service' |
## | moduleTestFilePath | true | '' | The path to the module Pester tests. | 'utilities/pipelines/staticValidation/module.tests.ps1' |
## |==================================================================================================================================================|
##
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ms.authorization.locks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ on:
- '.github/actions/templates/**'
- '.github/workflows/template.module.yml'
- '.github/workflows/ms.authorization.locks.yml'
- 'modules/Microsoft.Authorization/locks/**'
- 'modules/Authorization/locks/**'
- 'utilities/pipelines/**'
- '!utilities/pipelines/deploymentRemoval/**'
- '!*/**/readme.md'

env:
modulePath: 'modules/Microsoft.Authorization/locks'
modulePath: 'modules/Authorization/locks'
workflowPath: '.github/workflows/ms.authorization.locks.yml'

concurrency:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ms.authorization.policyassignments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ on:
- '.github/actions/templates/**'
- '.github/workflows/template.module.yml'
- '.github/workflows/ms.authorization.policyassignments.yml'
- 'modules/Microsoft.Authorization/policyAssignments/**'
- 'modules/Authorization/policyAssignments/**'
- 'utilities/pipelines/**'
- '!utilities/pipelines/deploymentRemoval/**'
- '!*/**/readme.md'

env:
modulePath: 'modules/Microsoft.Authorization/policyAssignments'
modulePath: 'modules/Authorization/policyAssignments'
workflowPath: '.github/workflows/ms.authorization.policyassignments.yml'

concurrency:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ms.authorization.policydefinitions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ on:
- '.github/actions/templates/**'
- '.github/workflows/template.module.yml'
- '.github/workflows/ms.authorization.policydefinitions.yml'
- 'modules/Microsoft.Authorization/policyDefinitions/**'
- 'modules/Authorization/policyDefinitions/**'
- 'utilities/pipelines/**'
- '!utilities/pipelines/deploymentRemoval/**'
- '!*/**/readme.md'

env:
modulePath: 'modules/Microsoft.Authorization/policyDefinitions'
modulePath: 'modules/Authorization/policyDefinitions'
workflowPath: '.github/workflows/ms.authorization.policydefinitions.yml'

concurrency:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ms.authorization.policyexemptions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ on:
- '.github/actions/templates/**'
- '.github/workflows/template.module.yml'
- '.github/workflows/ms.authorization.policyexemptions.yml'
- 'modules/Microsoft.Authorization/policyExemptions/**'
- 'modules/Authorization/policyExemptions/**'
- 'utilities/pipelines/**'
- '!utilities/pipelines/deploymentRemoval/**'
- '!*/**/readme.md'

env:
modulePath: 'modules/Microsoft.Authorization/policyExemptions'
modulePath: 'modules/Authorization/policyExemptions'
workflowPath: '.github/workflows/ms.authorization.policyexemptions.yml'

concurrency:
Expand Down
Loading

0 comments on commit 0f05a13

Please sign in to comment.