Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Modules] [BPR alignment] Remove Microsoft. prefix and rename README.md files - part 1/2 #3165

Merged
merged 65 commits into from
May 10, 2023
Merged
Show file tree
Hide file tree
Changes from 53 commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
535f3ca
rename folder and pipeline
eriqua Mar 25, 2023
d765e5b
set module readme and readme
eriqua Mar 25, 2023
57ef60d
gh workflow name
eriqua Mar 25, 2023
d3d8320
ado pipeline
eriqua Mar 26, 2023
89c88d3
support both
eriqua Mar 29, 2023
b806e03
merge late3st
eriqua May 4, 2023
af1fb90
update cross reference pester test
eriqua May 4, 2023
b2c3ba8
remove renamed folder
eriqua May 4, 2023
7c8e9e3
cleanup
eriqua May 4, 2023
643982e
old folder
eriqua May 4, 2023
0070151
rename rp and readme rename
eriqua May 4, 2023
7c369d1
rename avd module files
eriqua May 5, 2023
e274e3b
replace avd module references
eriqua May 5, 2023
76e1a3a
merge latest
eriqua May 5, 2023
800b969
ms prefix workflows avd
eriqua May 5, 2023
f9b7307
readme in tests
eriqua May 5, 2023
621e40d
foldername workflows avd
eriqua May 5, 2023
2c3b9d7
foldername avd
eriqua May 5, 2023
f2d2a58
foldername avdback
eriqua May 5, 2023
6171110
foldername workflows avd sp
eriqua May 5, 2023
d4df88b
foldername workflows avd sp back
eriqua May 5, 2023
a2d1b19
foldername workflows avd hp
eriqua May 5, 2023
e630746
foldername workflows avd hp back
eriqua May 5, 2023
fa84d51
foldername hp
eriqua May 5, 2023
09a6c56
foldername hp back
eriqua May 5, 2023
4906e29
fix leftover
eriqua May 6, 2023
cc5c2c4
temp pester
eriqua May 8, 2023
01799be
temp pester else
eriqua May 8, 2023
05de06d
temp pester else out
eriqua May 8, 2023
957b477
temp pester else out
eriqua May 8, 2023
2b9cb80
call set-modulereadme
eriqua May 8, 2023
5ebd698
readme utilities
eriqua May 8, 2023
f043a60
readme docs
eriqua May 8, 2023
96ba317
update avd readme
eriqua May 8, 2023
bee8fe7
storage module
eriqua May 8, 2023
327729d
storage workflow
eriqua May 8, 2023
c6656c8
network module
eriqua May 8, 2023
f006588
network module ref
eriqua May 8, 2023
76e103f
pester cleanup
eriqua May 8, 2023
96bd72d
authorization namespace
eriqua May 8, 2023
f223b41
authorization workflow
eriqua May 8, 2023
f0b2a71
authorization pipelines
eriqua May 8, 2023
04f0615
authorization workflow 2
eriqua May 8, 2023
d2343e5
remove comments
eriqua May 8, 2023
5275f15
update ado docs
eriqua May 8, 2023
4475d41
update gh readme comments
eriqua May 8, 2023
2231890
update gh docs
eriqua May 8, 2023
75627e9
update gh readme comments
eriqua May 8, 2023
31abd68
update docs
eriqua May 8, 2023
d14568b
update policyassignments
eriqua May 8, 2023
df4d055
update set module readme
eriqua May 8, 2023
48c30b0
update ado pipelines avd storage
eriqua May 8, 2023
ee5e1d1
Remove Microsoft prefix from all modules
eriqua May 8, 2023
03aad54
Update utilities/pipelines/staticValidation/module.tests.ps1
eriqua May 9, 2023
2618810
Update utilities/pipelines/staticValidation/module.tests.ps1
eriqua May 9, 2023
5bcb587
Update utilities/pipelines/staticValidation/module.tests.ps1
eriqua May 9, 2023
59c91f3
Update utilities/pipelines/staticValidation/module.tests.ps1
eriqua May 9, 2023
c276f10
Remove other Microsoft prefix occurrences from docs
eriqua May 9, 2023
1f55aff
temp publish test
eriqua May 9, 2023
c51f159
temp remove storage lock
eriqua May 9, 2023
e98eb4a
revert temp remove storage lock
eriqua May 9, 2023
da6f370
update hp version
eriqua May 9, 2023
a23ecb2
remove microsoft. occurrences
eriqua May 9, 2023
fb46e05
revert temp changes
eriqua May 9, 2023
f81b6fb
remove microsoft. occurrences from ts references
eriqua May 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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/*'
eriqua marked this conversation as resolved.
Show resolved Hide resolved
- '/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
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
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