Skip to content
New issue

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

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

Already on GitHub? # to your account

Publishing and versioning of child-resources and parents #744

Merged
merged 131 commits into from
Feb 1, 2022
Merged
Show file tree
Hide file tree
Changes from 129 commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
11f1740
Change
Nov 16, 2021
c8e7090
Added params on Get-ChangedFiles
Nov 17, 2021
aad3ee6
Blank line
Nov 17, 2021
a73247d
TL;DR - Many changes
Nov 18, 2021
b71be81
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
Dec 2, 2021
dec8f7e
update to publish
Dec 2, 2021
e9cdec6
testing
Dec 2, 2021
739354a
Prepping for test
Dec 2, 2021
76f7e3e
Test versioning
Dec 2, 2021
4c6e63e
test
Dec 2, 2021
b83a01e
test
Dec 2, 2021
8fda15e
test
Dec 2, 2021
a326aad
test
Dec 2, 2021
6deb6e1
test
Dec 2, 2021
3cfa17c
Update Child resource
MariusStorhaug Dec 5, 2021
2bfa2c6
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
MariusStorhaug Dec 5, 2021
99f330f
reset
MariusStorhaug Dec 5, 2021
9981cb6
reset
MariusStorhaug Dec 5, 2021
bb5704f
Update StorageAccount
MariusStorhaug Dec 5, 2021
033916c
Publish new stuff
MariusStorhaug Dec 5, 2021
d1f71c1
Cleaning code + doc
MariusStorhaug Dec 8, 2021
7370553
Adding prerelease function for workflow
MariusStorhaug Dec 8, 2021
5e6d209
Adding test for modules to verify existance of variable.json fole
MariusStorhaug Dec 8, 2021
cc5993b
fix
MariusStorhaug Dec 8, 2021
02d119f
update
MariusStorhaug Dec 8, 2021
00a955f
Update workflow files for all modules
MariusStorhaug Dec 9, 2021
508b14f
Added version files for all modules, setting 0.3 version
MariusStorhaug Dec 9, 2021
296e63b
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
MariusStorhaug Dec 9, 2021
2e30768
fix
MariusStorhaug Dec 9, 2021
7a61ff5
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
Jan 20, 2022
d60280c
Fix MrMCake feedback
Jan 20, 2022
45cdfcc
Fix for Template Spec condition
Jan 20, 2022
89adb70
Consistancy
Jan 20, 2022
76ef2ac
Concistency
Jan 20, 2022
86e647e
modification test
segraef Jan 21, 2022
7478796
revert
segraef Jan 21, 2022
79c1e65
leaving exception for now
segraef Jan 21, 2022
0511bc2
verbose
segraef Jan 21, 2022
dd7db4e
if
segraef Jan 22, 2022
a323b0b
'
segraef Jan 22, 2022
3556c45
condition fix
segraef Jan 22, 2022
78f04b9
applied condition fix
segraef Jan 22, 2022
5691f67
Merge branch 'users/segraef/conditionfix' of https://github.com/Azure…
Jan 22, 2022
b4ee985
Update new workflow files with correct inputs
Jan 23, 2022
c2b4fea
Cleanup comments on action
Jan 23, 2022
4612f36
Added missing version files
Jan 23, 2022
767a41d
Conform to PowerShell Best Practice
Jan 23, 2022
e9c24e9
Clean code - function name update for more clarity
Jan 23, 2022
81888da
typo
Jan 23, 2022
27fc984
typo
Jan 23, 2022
feeb525
Updated TS + BR publishing on ADO pipelines
Jan 23, 2022
adfec6f
Added firewall policies workflow
Jan 23, 2022
1b2f936
Added two TODO's as placeholders
Jan 23, 2022
9a5d435
Whitepace
Jan 23, 2022
a7e4edc
change test
segraef Jan 24, 2022
c9a640e
change test
segraef Jan 24, 2022
ffb990c
added doco
segraef Jan 26, 2022
d8b45ca
Added token and corrected feedproject param
Jan 26, 2022
dcb350c
Added feedtoken as a var
Jan 26, 2022
2bd96b4
added master on applicable default branches
Jan 26, 2022
42dcaf3
Documentation and parameter alignment
Jan 26, 2022
1c386ea
New file for publish to artifact feed
Jan 26, 2022
cb09083
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
Jan 26, 2022
d2774e5
Remove unreferences file
Jan 26, 2022
78048ca
cleanup
Jan 26, 2022
6b46c3b
testing website
Jan 26, 2022
d2161bd
Update Sites with empty line :D
Jan 26, 2022
43a7b3b
Fix token -> Bearertoken
Jan 26, 2022
b0c54b5
...
Jan 26, 2022
f986bd7
Test
Jan 26, 2022
cca93ca
Test new branch name
Jan 26, 2022
231f2c7
Test analysis services
Jan 26, 2022
464af39
Update
Jan 26, 2022
de06c08
Test
Jan 26, 2022
acc3e03
test
Jan 26, 2022
24f13fe
test
Jan 26, 2022
58b5d40
test
Jan 26, 2022
2671233
test
Jan 26, 2022
f99a9a5
fix
Jan 26, 2022
f8a78d7
Test
Jan 26, 2022
35ec42f
test
Jan 26, 2022
fdba71f
test
Jan 26, 2022
a179469
testing script
Jan 26, 2022
7f9b913
fix
Jan 26, 2022
c2cfdcf
fix
Jan 26, 2022
4a67f2d
test
Jan 26, 2022
5c3fb2a
add debug
Jan 26, 2022
3cafeb7
Testing
Jan 26, 2022
da80b2f
test
Jan 26, 2022
1729948
test
Jan 26, 2022
525ff95
test
Jan 26, 2022
fe76c33
set prerelease tag to be 'prerelease'
Jan 26, 2022
112d1b5
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
Jan 26, 2022
1366b81
cleanup comment on workflow files
Jan 26, 2022
186f26f
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
Jan 30, 2022
1915457
Update utilities/pipelines/resourcePublish/Get-ModulesToUpdate.ps1
Jan 30, 2022
7ac7d63
Update utilities/pipelines/resourcePublish/Publish-ModuleToPrivateBic…
Jan 30, 2022
7d17eb4
Update utilities/pipelines/resourcePublish/Publish-ModuleToUniversalA…
Jan 30, 2022
bfa8fa7
Update docs/wiki/PipelinesDesign.md
Jan 30, 2022
f92a291
Update utilities/pipelines/resourcePublish/Get-ModulesToUpdate.ps1
Jan 30, 2022
15c2723
Update utilities/pipelines/resourcePublish/Get-ModulesToUpdate.ps1
Jan 30, 2022
8de6044
Update utilities/pipelines/resourcePublish/Get-ModulesToUpdate.ps1
Jan 30, 2022
43983df
Update utilities/pipelines/resourcePublish/Get-ModulesToUpdate.ps1
Jan 30, 2022
df15223
Update utilities/pipelines/resourcePublish/Get-ModulesToUpdate.ps1
Jan 30, 2022
db1c5fb
Update utilities/pipelines/resourcePublish/Get-ModulesToUpdate.ps1
Jan 30, 2022
fdd4797
Update utilities/pipelines/resourcePublish/Publish-ModuleToUniversalA…
Jan 30, 2022
e4be3da
Remove empty line on analysis services
Jan 30, 2022
63e7ad4
Update Get-ModifiedFiles to singular
Jan 30, 2022
9928d88
Update utilities/pipelines/resourcePublish/Get-ModulesToUpdate.ps1
Jan 30, 2022
4e503c4
Update utilities/pipelines/resourcePublish/Get-ModulesToUpdate.ps1
Jan 30, 2022
3c6d71f
Update utilities/pipelines/resourcePublish/Get-ModulesToUpdate.ps1
Jan 30, 2022
3743b3e
Update utilities/pipelines/resourcePublish/Get-ModulesToUpdate.ps1
Jan 30, 2022
e8004f9
Update based on alex comment on change to ModifiedFiles -> ModifiedFi…
Jan 30, 2022
539f39f
Merge branch 'users/mast/publishing' of https://github.com/Azure/Reso…
Jan 30, 2022
69a1a9e
Improve gathering branch name + clean up prerelease section
Jan 30, 2022
4bc2898
Move verbose so it runs even if its merge to main
Jan 30, 2022
2da9a05
Force enable verbose
Jan 30, 2022
8fa7086
Fix comments
Jan 30, 2022
c865653
Fix firewall policies pipline
Jan 30, 2022
72800ca
Align 'Mandatory' param documentation and declaration
Jan 30, 2022
b388771
Reverted whole ToC of PipelinesDesign
Jan 30, 2022
3e47ee6
revert some wiki stuff + fix
Jan 30, 2022
99eb09f
Added unintended removed chapter
Jan 30, 2022
7bc684d
Added scenario
Jan 30, 2022
440805d
Test version degrade 0.3->0.2 to test publishing
Jan 30, 2022
a35ede7
Fix
Jan 30, 2022
bbe3f52
Update docs/wiki/PipelinesDesign.md
Jan 30, 2022
cbb86f7
Updated doc on powershell scripts
Jan 30, 2022
db4f8a9
Merge branch 'users/mast/publishing' of https://github.com/Azure/Reso…
Jan 30, 2022
c6a696d
Update docs with input from @eriqua
Jan 31, 2022
23a9c7e
Update version files
Feb 1, 2022
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
  •  
  •  
  •  
21 changes: 5 additions & 16 deletions .azuredevops/modulePipelines/ms.analysisservices.servers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ parameters:
displayName: Remove deployed module
type: boolean
default: true
- name: versioningOption
displayName: The mode to handle the version increments [major|minor|patch]
type: string
default: patch
values:
- patch
- minor
- major
- name: customVersion
displayName: Custom version to apply. Used only if higher than latest
type: string
default: '0.0.1'
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

trigger:
batch: true
Expand Down Expand Up @@ -55,9 +47,6 @@ stages:

- stage: Publishing
displayName: Publish module
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true')))
jobs:
- template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml
parameters:
versioningOption: '${{ parameters.versioningOption }}'
customVersion: '${{ parameters.customVersion }}'
21 changes: 5 additions & 16 deletions .azuredevops/modulePipelines/ms.apimanagement.service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ parameters:
displayName: Remove deployed module
type: boolean
default: false # Soft-delete prevents re-deployment
- name: versioningOption
displayName: The mode to handle the version increments [major|minor|patch]
type: string
default: patch
values:
- patch
- minor
- major
- name: customVersion
displayName: Custom version to apply. Used only if higher than latest
type: string
default: '0.0.1'
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

trigger:
batch: true
Expand Down Expand Up @@ -55,9 +47,6 @@ stages:

- stage: Publishing
displayName: Publish module
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true')))
jobs:
- template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml
parameters:
versioningOption: '${{ parameters.versioningOption }}'
customVersion: '${{ parameters.customVersion }}'
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ parameters:
displayName: Remove deployed module
type: boolean
default: true
- name: versioningOption
displayName: The mode to handle the version increments [major|minor|patch]
type: string
default: patch
values:
- patch
- minor
- major
- name: customVersion
displayName: Custom version to apply. Used only if higher than latest
type: string
default: '0.0.1'
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

trigger:
batch: true
Expand Down Expand Up @@ -57,9 +49,6 @@ stages:

- stage: Publishing
displayName: Publish module
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true')))
jobs:
- template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml
parameters:
versioningOption: '${{ parameters.versioningOption }}'
customVersion: '${{ parameters.customVersion }}'
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ parameters:
displayName: Remove deployed module
type: boolean
default: true
- name: versioningOption
displayName: The mode to handle the version increments [major|minor|patch]
type: string
default: patch
values:
- patch
- minor
- major
- name: customVersion
displayName: Custom version to apply. Used only if higher than latest
type: string
default: '0.0.1'
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

trigger:
batch: true
Expand Down Expand Up @@ -57,9 +49,6 @@ stages:

- stage: Publishing
displayName: Publish module
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true')))
jobs:
- template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml
parameters:
versioningOption: '${{ parameters.versioningOption }}'
customVersion: '${{ parameters.customVersion }}'
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ parameters:
displayName: Remove deployed module
type: boolean
default: true
- name: versioningOption
displayName: The mode to handle the version increments [major|minor|patch]
type: string
default: patch
values:
- patch
- minor
- major
- name: customVersion
displayName: Custom version to apply. Used only if higher than latest
type: string
default: '0.0.1'
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

trigger:
batch: true
Expand Down Expand Up @@ -57,9 +49,6 @@ stages:

- stage: Publishing
displayName: Publish module
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true')))
jobs:
- template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml
parameters:
versioningOption: '${{ parameters.versioningOption }}'
customVersion: '${{ parameters.customVersion }}'
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ parameters:
displayName: Remove deployed module
type: boolean
default: true
- name: versioningOption
displayName: The mode to handle the version increments [major|minor|patch]
type: string
default: patch
values:
- patch
- minor
- major
- name: customVersion
displayName: Custom version to apply. Used only if higher than latest
type: string
default: '0.0.1'
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

trigger:
batch: true
Expand Down Expand Up @@ -57,9 +49,6 @@ stages:

- stage: Publishing
displayName: Publish module
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true')))
jobs:
- template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml
parameters:
versioningOption: '${{ parameters.versioningOption }}'
customVersion: '${{ parameters.customVersion }}'
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ parameters:
displayName: Remove deployed module
type: boolean
default: true
- name: versioningOption
displayName: The mode to handle the version increments [major|minor|patch]
type: string
default: patch
values:
- patch
- minor
- major
- name: customVersion
displayName: Custom version to apply. Used only if higher than latest
type: string
default: '0.0.1'
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

trigger:
batch: true
Expand Down Expand Up @@ -57,9 +49,6 @@ stages:

- stage: Publishing
displayName: Publish module
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true')))
jobs:
- template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml
parameters:
versioningOption: '${{ parameters.versioningOption }}'
customVersion: '${{ parameters.customVersion }}'
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ parameters:
displayName: Remove deployed module
type: boolean
default: true
- name: versioningOption
displayName: The mode to handle the version increments [major|minor|patch]
type: string
default: patch
values:
- patch
- minor
- major
- name: customVersion
displayName: Custom version to apply. Used only if higher than latest
type: string
default: '0.0.1'
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

trigger:
batch: true
Expand Down Expand Up @@ -57,9 +49,6 @@ stages:

- stage: Publishing
displayName: Publish module
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true')))
jobs:
- template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml
parameters:
versioningOption: '${{ parameters.versioningOption }}'
customVersion: '${{ parameters.customVersion }}'
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ parameters:
displayName: Remove deployed module
type: boolean
default: true
- name: versioningOption
displayName: The mode to handle the version increments [major|minor|patch]
type: string
default: patch
values:
- patch
- minor
- major
- name: customVersion
displayName: Custom version to apply. Used only if higher than latest
type: string
default: '0.0.1'
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

trigger:
batch: true
Expand Down Expand Up @@ -55,9 +47,6 @@ stages:

- stage: Publishing
displayName: Publish module
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true')))
jobs:
- template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml
parameters:
versioningOption: '${{ parameters.versioningOption }}'
customVersion: '${{ parameters.customVersion }}'
21 changes: 5 additions & 16 deletions .azuredevops/modulePipelines/ms.batch.batchaccounts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ parameters:
displayName: Remove deployed module
type: boolean
default: true
- name: versioningOption
displayName: The mode to handle the version increments [major|minor|patch]
type: string
default: patch
values:
- patch
- minor
- major
- name: customVersion
displayName: Custom version to apply. Used only if higher than latest
type: string
default: '0.0.1'
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

trigger:
batch: true
Expand Down Expand Up @@ -54,9 +46,6 @@ stages:

- stage: Publishing
displayName: Publish module
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true')))
jobs:
- template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml
parameters:
versioningOption: '${{ parameters.versioningOption }}'
customVersion: '${{ parameters.customVersion }}'
21 changes: 5 additions & 16 deletions .azuredevops/modulePipelines/ms.cognitiveservices.accounts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ parameters:
displayName: Remove deployed module
type: boolean
default: false # Soft-delete prevents re-deployment
- name: versioningOption
displayName: The mode to handle the version increments [major|minor|patch]
type: string
default: patch
values:
- patch
- minor
- major
- name: customVersion
displayName: Custom version to apply. Used only if higher than latest
type: string
default: '0.0.1'
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

trigger:
batch: true
Expand Down Expand Up @@ -54,9 +46,6 @@ stages:

- stage: Publishing
displayName: Publish module
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq('${{ parameters.prerelease }}', 'true')))
jobs:
- template: /.azuredevops/pipelineTemplates/jobs.publishModule.yml
parameters:
versioningOption: '${{ parameters.versioningOption }}'
customVersion: '${{ parameters.customVersion }}'
Loading