Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
317 commits
Select commit Hold shift + click to select a range
2297c64
action from push if
Oct 7, 2021
6b71da4
action from push if spaces
Oct 7, 2021
a9378f6
cleanup
Oct 8, 2021
51ead4c
env
Oct 8, 2021
8a3da4b
input
Oct 8, 2021
24671e6
input
Oct 8, 2021
989f5cf
apace
Oct 8, 2021
c23918a
inputs
Oct 8, 2021
97bbc85
main run
Oct 8, 2021
dc9c6fa
analisys services
Oct 8, 2021
bb158b9
analisys services comment actions
Oct 8, 2021
502f9a9
analisys services uncomment actions
Oct 8, 2021
f06a181
analisys services comment test actions
Oct 8, 2021
5b0edcb
analisys services uncomment
Oct 8, 2021
5e09b8b
cleanup
Oct 8, 2021
31cb17c
refactor
Oct 8, 2021
c11b17e
uncomment for push
Oct 8, 2021
e7abe59
script out
Oct 11, 2021
6725d52
cleanup
Oct 11, 2021
0299a42
cleanup
Oct 11, 2021
e97fbd6
avset bicep
Oct 14, 2021
c6ddc5b
avset bicep workflow name
Oct 14, 2021
5c6cbaf
avset bicep readme
Oct 14, 2021
5779592
avset bicep push
Oct 14, 2021
9684d07
merge upstream
Oct 14, 2021
d6b12a1
proximity placement group
Oct 14, 2021
e717871
Merge branch 'Azure:main' into main
eriqua Oct 14, 2021
fb18fc7
lowercase workflow
Oct 15, 2021
64b68bf
Merge branch 'Azure:main' into main
eriqua Oct 15, 2021
d44f1fc
Merge branch 'main' of https://github.com/eriqua/ResourceModules
Oct 15, 2021
3ddb462
temp change
Oct 15, 2021
8e585cf
temp change
Oct 15, 2021
183f9da
Merge branch 'main' of https://github.com/Azure/ResourceModules
Oct 15, 2021
98a982c
change back
Oct 15, 2021
1b7e210
Merge branch 'main' of https://github.com/Azure/ResourceModules
Oct 25, 2021
4bdf393
Merge branch 'Azure:main' into main
eriqua Oct 25, 2021
5221ed1
Merge branch 'main' of https://github.com/eriqua/ResourceModules
Oct 25, 2021
022604d
dependency pipeline
Oct 25, 2021
3e37434
dependency pipeline param
Oct 25, 2021
2e60d20
dependency pipeline param list
Oct 25, 2021
45e7026
msi param list
Oct 25, 2021
92b17a6
msi job name
Oct 25, 2021
6a1526e
workflow rename
Oct 25, 2021
7a7285f
workflow rename push path
Oct 25, 2021
41924b4
remove dependencies rg
Oct 25, 2021
3449da4
Merge branch 'main' of https://github.com/Azure/ResourceModules
Oct 25, 2021
9fdfd3c
Merge branch 'main' of https://github.com/Azure/ResourceModules
Oct 25, 2021
e5b7be0
Merge branch 'main' of https://github.com/Azure/ResourceModules
Oct 26, 2021
afb0ba5
Merge branch 'main' of https://github.com/Azure/ResourceModules
Oct 27, 2021
86178cf
Merge branch 'main' of https://github.com/Azure/ResourceModules
Oct 27, 2021
20d9414
Merge branch 'Azure:main' into main
eriqua Nov 2, 2021
2c75807
kv secrets
Nov 2, 2021
8aa2c0d
kv secrets dep
Nov 2, 2021
b3e529d
kv keys
Nov 2, 2021
de35fb4
kv access policies
Nov 2, 2021
06e4ff7
kv access policies objId
Nov 2, 2021
eae4748
kv secret opt
Nov 2, 2021
1658830
input options
Nov 17, 2021
6114e18
input options versioning
Nov 17, 2021
126a210
merge main
Dec 28, 2021
72afb4b
reuse
Dec 28, 2021
b6115b2
bicep registry
Dec 28, 2021
6eff8f7
uses root
Dec 28, 2021
8dcc761
simple call
Dec 28, 2021
ea41b8d
workflow path
Dec 28, 2021
af06574
no env
Dec 28, 2021
8913f2c
template input
Dec 28, 2021
01e79dd
string all
Dec 28, 2021
c34ba6a
env
Dec 28, 2021
e3e96a3
env sec
Dec 28, 2021
f0c6e1f
test input
Dec 28, 2021
24c198c
echo sec
Dec 28, 2021
27561a1
echo sec pass
Dec 28, 2021
8aa85f9
echo sec pass hardcoded
Dec 28, 2021
e2847bc
echo sec pass hardcoded in
Dec 28, 2021
78a7405
echo sec pass hardcoded in req
Dec 28, 2021
392f710
cleanup
Dec 28, 2021
43d9274
secrets in
Dec 28, 2021
3af9300
all secrets check
Dec 28, 2021
f43af7e
pester on
Dec 28, 2021
1dcb14b
set input on
Dec 28, 2021
937a51b
set input on needs
Dec 28, 2021
c7e402f
set input on needs job
Dec 28, 2021
cb2f3a3
deployment on
Dec 28, 2021
cdbb43c
comment echo
Dec 28, 2021
8727d78
vnet
Dec 29, 2021
7f79a13
reusable workflow name
Dec 29, 2021
005e43d
bicep registry
Dec 29, 2021
c4d8c56
nsg dep and publish
Dec 29, 2021
7888c0d
dep
Dec 29, 2021
71b2685
repo var
Dec 29, 2021
b5ba90a
modulePath
Dec 29, 2021
8385e42
align
Dec 29, 2021
8ed2514
modulepath output
Dec 29, 2021
8736a53
change dep name
Dec 29, 2021
a9fe2fd
dependencies q
Dec 29, 2021
9585180
msi q
Dec 29, 2021
cc2bf67
step dep msi
Dec 29, 2021
bb07071
get msi id
Dec 29, 2021
6200616
get msi output
Dec 29, 2021
a4852dc
new dep print
Dec 29, 2021
577c959
new dep print key
Dec 29, 2021
1594b33
new dep print key2
Dec 29, 2021
8851a94
new dep print value
Dec 30, 2021
ab15ae1
allOut
Dec 30, 2021
3e5bb18
allOut right
Dec 30, 2021
dc571e1
allOut hash
Dec 30, 2021
0a634d5
allOut hash and action out
Dec 30, 2021
0636bae
echo next step
Dec 30, 2021
2e87f86
echo next step right
Dec 30, 2021
93db473
echo next job
Dec 30, 2021
53e9d14
echo out json
Dec 30, 2021
d4b4f55
echo one line
Dec 30, 2021
8becb42
out string
Dec 30, 2021
4da4900
out string in dep
Dec 30, 2021
01786d2
out string in dep )
Dec 30, 2021
039205e
cast
Dec 30, 2021
02aa3f8
double entry
Dec 30, 2021
84a7f9a
double entry out
Dec 30, 2021
0770203
brace out
Dec 30, 2021
74e142b
last
Dec 30, 2021
69638a5
least
Dec 30, 2021
1fedf34
beast
Dec 30, 2021
b29dfe4
bast
Dec 30, 2021
0b5bc33
back
Dec 30, 2021
edd05e4
black
Dec 30, 2021
2cbc3e4
merge main
Jan 6, 2022
16ccbb8
remove custom naming
Jan 6, 2022
39a782e
fetch upstream
Feb 1, 2022
d928be7
solutions module
eriqua Jun 8, 2022
1c96b31
rke settings
eriqua Jun 8, 2022
40289a3
workflow
eriqua Jun 8, 2022
8976890
skip validation
eriqua Jun 8, 2022
df46d20
law and automation account
eriqua Jun 8, 2022
f4eb712
readme
eriqua Jun 8, 2022
964358b
law and automation account skip pester
eriqua Jun 8, 2022
d60d13d
ado
eriqua Jun 8, 2022
fcb0242
Merge branch 'main' of https://github.com/Azure/ResourceModules
eriqua Jun 8, 2022
3073190
enable pester
eriqua Jun 8, 2022
b41c970
fix static val location
eriqua Jun 8, 2022
d900fb3
carml tokens
eriqua Jun 8, 2022
9c198ba
fix input
eriqua Jun 8, 2022
555b9ea
rke
eriqua Jun 8, 2022
27651f4
carml
eriqua Jun 8, 2022
07303eb
disabling telemetry
eriqua Jun 8, 2022
20760e1
gallery param
eriqua Jun 8, 2022
17b13cb
telemetry
eriqua Jun 8, 2022
6647423
readme note
eriqua Jun 8, 2022
63ba035
merge main
eriqua Jun 8, 2022
b2f5b57
enableReferencedModulesTelemetry
eriqua Jun 8, 2022
d80e5fb
ado pipeline trigger
eriqua Jun 8, 2022
097577e
ado pipeline min par
eriqua Jun 8, 2022
e4b85e3
third party
eriqua Jun 8, 2022
cf2a042
third party param
eriqua Jun 8, 2022
676fe52
disable test
eriqua Jun 8, 2022
0dd6f95
test third party
eriqua Jun 8, 2022
aed9b34
Merge pull request #3 from eriqua/users/erikag/solutions
eriqua Jun 8, 2022
d134551
workspace readme
eriqua Jun 8, 2022
697d3d1
Merge branch 'main' of https://github.com/eriqua/ResourceModules
eriqua Jun 8, 2022
bec0582
carml
eriqua Jun 8, 2022
c2526cb
rke
eriqua Jun 10, 2022
fe38662
acr
eriqua Jun 10, 2022
262d297
Merge pull request #4 from eriqua/use3rs/erikag/sol
eriqua Jun 10, 2022
2ba6715
readme
eriqua Jun 10, 2022
55dd628
carml
eriqua Jun 10, 2022
6caf58b
Merge branch 'main' of https://github.com/Azure/ResourceModules
eriqua Jun 16, 2022
ea25413
lock 0.1
eriqua Jun 16, 2022
ca0fdad
rke
eriqua Jun 16, 2022
aea153f
skip pester
eriqua Jun 16, 2022
24dad16
testrg02
eriqua Jun 17, 2022
30dc763
test from rg module
eriqua Jun 17, 2022
664dd38
publish
eriqua Jun 17, 2022
0c2c36c
validation
eriqua Jun 17, 2022
2ca53d6
validation new line
eriqua Jun 17, 2022
6715436
ado
eriqua Jun 17, 2022
424c684
scope
eriqua Jun 17, 2022
7d504f3
location
eriqua Jun 17, 2022
f6aca2a
update lock name
eriqua Jun 17, 2022
41ce2e0
carml
eriqua Jun 17, 2022
8ddab8a
lock rg dependencies
eriqua Jun 17, 2022
b928ec3
lock rg dependencies in pipeline
eriqua Jun 17, 2022
f90c407
carml
eriqua Jun 17, 2022
1c7e308
subscription lock
eriqua Jun 20, 2022
6de4305
sub locks
eriqua Jun 20, 2022
d715fda
Merge branch 'Azure:main' into main
eriqua Jun 20, 2022
808f594
no name
eriqua Jun 20, 2022
1b407aa
disable sub level lock deployment
eriqua Jun 20, 2022
6ce1398
enable sub level lock deployment
eriqua Jun 20, 2022
a494138
merge main
eriqua Jul 3, 2022
782eae3
Merge branch 'main' of https://github.com/eriqua/ResourceModules
eriqua Nov 25, 2022
14b5ec5
linter trigger
eriqua Nov 25, 2022
5edec04
merge latest
eriqua Dec 2, 2022
697cdfd
Update platform.assignIssueToProject.yml
eriqua Dec 12, 2022
ecf6a17
merge main
eriqua Jan 16, 2023
b3502c2
remove arm
eriqua Jan 16, 2023
c012340
Merge branch 'main' of https://github.com/Azure/ResourceModules
eriqua Jan 28, 2023
1d6fecf
merge latest
eriqua Jan 28, 2023
f90b4ff
settings
eriqua Jan 28, 2023
ba694a6
template static
eriqua Jan 28, 2023
0f908f0
draft caller
eriqua Jan 28, 2023
066fa2d
caller
eriqua Jan 28, 2023
6910967
caller env
eriqua Jan 28, 2023
f90fd65
caller moduleTestFilePaths
eriqua Jan 28, 2023
38f65b1
Merge branch 'main' of https://github.com/Azure/ResourceModules
eriqua Jan 28, 2023
1ef49c9
env secrets
eriqua Jan 28, 2023
bc144b1
env secrets
eriqua Jan 28, 2023
0c7b61f
prerelease
eriqua Jan 28, 2023
17fa094
env
eriqua Jan 28, 2023
863caaa
prerelease
eriqua Jan 28, 2023
431ae88
prerelease
eriqua Jan 28, 2023
d6ee4d1
pass secrets
eriqua Jan 29, 2023
2bedddb
pass secrets templ
eriqua Jan 29, 2023
eef8621
pass secrets template
eriqua Jan 29, 2023
46446b8
deployment template
eriqua Jan 29, 2023
427da5b
deployment template
eriqua Jan 29, 2023
ee4e9ee
inherit secrets
eriqua Jan 30, 2023
257ba9f
Merge branch 'main' of https://github.com/Azure/ResourceModules
eriqua Jan 30, 2023
3c9fa6c
merge
eriqua Jan 30, 2023
4ecceed
up template
eriqua Jan 30, 2023
f578c21
up caller
eriqua Jan 30, 2023
cbb8074
publish
eriqua Jan 30, 2023
c3ae9c4
publish prerelease
eriqua Jan 30, 2023
c54bbfe
add skip job input
eriqua Jan 31, 2023
b1db629
add network
eriqua Jan 31, 2023
bfd7979
Merge branch 'main' of https://github.com/Azure/ResourceModules
eriqua Jan 31, 2023
2e4ffa6
merge latest
eriqua Jan 31, 2023
7b7e225
trigger path for template
eriqua Jan 31, 2023
3c30cb5
trigger path for template actions
eriqua Jan 31, 2023
8723745
revert settings and temp trigger
eriqua Jan 31, 2023
80499f5
Merge branch 'main' of https://github.com/Azure/ResourceModules
eriqua Feb 10, 2023
47cac87
Merge branch 'main' into reus-wkf-donotdelete
eriqua Feb 10, 2023
787e861
replace main workflow
eriqua Feb 10, 2023
1978f29
add trigger
eriqua Feb 10, 2023
1f7503a
fix rg trigger
eriqua Feb 10, 2023
a66bc4b
replace env block
eriqua Feb 10, 2023
d1ddc09
replace env block varpath
eriqua Feb 10, 2023
1c35201
remove end new line
eriqua Feb 10, 2023
77ba82b
replace main 1
eriqua Feb 10, 2023
04bf921
replace main rest
eriqua Feb 10, 2023
76889f1
replace main rest 2
eriqua Feb 10, 2023
7d025b3
replace main rest 3
eriqua Feb 10, 2023
2a6f1e4
replace main rest 4
eriqua Feb 10, 2023
1d89666
workflow name
eriqua Feb 10, 2023
d89cdab
Merge branch 'main' of https://github.com/Azure/ResourceModules
eriqua Feb 12, 2023
41558f1
Merge branch 'main' into reus-wkf-donotdelete
eriqua Feb 12, 2023
c9b7f2c
fix budgets
eriqua Feb 12, 2023
60bd695
align missing wks
eriqua Feb 13, 2023
fb09920
json
eriqua Feb 13, 2023
53c336b
align input pipelines
eriqua Feb 13, 2023
5e7cb00
align input pipeline
eriqua Feb 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 14 additions & 94 deletions .github/workflows/ms.aad.domainservices.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'AAD: DomainServices'
name: 'AAD - DomainServices'

on:
workflow_dispatch:
Expand Down Expand Up @@ -28,21 +28,16 @@ on:
- main
paths:
- '.github/actions/templates/**'
- '.github/workflows/template.module.yml'
- '.github/workflows/ms.aad.domainservices.yml'
- 'modules/Microsoft.AAD/DomainServices/**'
- 'utilities/pipelines/**'
- '!utilities/pipelines/deploymentRemoval/**'
- '!*/**/readme.md'

env:
variablesPath: 'settings.yml'
modulePath: 'modules/Microsoft.AAD/DomainServices'
workflowPath: '.github/workflows/ms.aad.domainservices.yml'
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}'
ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}'
ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}'
TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}'

concurrency:
group: ${{ github.workflow }}
Expand Down Expand Up @@ -72,94 +67,19 @@ jobs:
outputs:
workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }}
moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }}
modulePath: '${{ env.modulePath }}'

#########################
# Static validation #
#########################
job_module_static_validation:
runs-on: ubuntu-20.04
name: 'Static validation'
if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true'
needs:
- job_initialize_pipeline
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set environment variables
uses: ./.github/actions/templates/setEnvironmentVariables
with:
variablesPath: ${{ env.variablesPath }}
- name: 'Run tests'
uses: ./.github/actions/templates/validateModulePester
with:
modulePath: '${{ env.modulePath }}'
moduleTestFilePath: '${{ env.moduleTestFilePath }}'

#############################
# Deployment validation #
#############################
job_module_deploy_validation:
runs-on: ubuntu-20.04
name: 'Deploying'
if: |
!cancelled() &&
(fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' &&
needs.job_module_static_validation.result != 'failure'
##############################
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: 'Module'
needs:
- job_initialize_pipeline
- job_module_static_validation
strategy:
fail-fast: false
matrix:
moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }}
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set environment variables
uses: ./.github/actions/templates/setEnvironmentVariables
with:
variablesPath: ${{ env.variablesPath }}
- name: 'Using test file [${{ matrix.moduleTestFilePaths }}]'
uses: ./.github/actions/templates/validateModuleDeployment
with:
templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}'
location: '${{ env.location }}'
subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}'
managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}'
removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}'

##################
# Publishing #
##################
job_publish_module:
name: 'Publishing'
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true'
runs-on: ubuntu-20.04
needs:
- job_module_deploy_validation
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set environment variables
uses: ./.github/actions/templates/setEnvironmentVariables
with:
variablesPath: ${{ env.variablesPath }}
- name: 'Publishing'
uses: ./.github/actions/templates/publishModule
with:
templateFilePath: '${{ env.modulePath }}/deploy.bicep'
templateSpecsRGName: '${{ env.templateSpecsRGName }}'
templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}'
templateSpecsDescription: '${{ env.templateSpecsDescription }}'
templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}'
bicepRegistryName: '${{ env.bicepRegistryName }}'
bicepRegistryRGName: '${{ env.bicepRegistryRGName }}'
bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}'
bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}'
publishLatest: '${{ env.publishLatest }}'
uses: ./.github/workflows/template.module.yml
with:
workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}'
moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}'
modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}'
secrets: inherit
109 changes: 14 additions & 95 deletions .github/workflows/ms.analysisservices.servers.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'AnalysisServices: Servers'
name: 'AnalysisServices - Servers'

on:
workflow_dispatch:
Expand Down Expand Up @@ -28,21 +28,16 @@ on:
- main
paths:
- '.github/actions/templates/**'
- '.github/workflows/template.module.yml'
- '.github/workflows/ms.analysisservices.servers.yml'
- 'modules/Microsoft.AnalysisServices/servers/**'
- 'utilities/pipelines/**'
- '!utilities/pipelines/deploymentRemoval/**'
- '!*/**/readme.md'

env:
variablesPath: 'settings.yml'
modulePath: 'modules/Microsoft.AnalysisServices/servers'
workflowPath: '.github/workflows/ms.analysisservices.servers.yml'
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}
ARM_SUBSCRIPTION_ID: '${{ secrets.ARM_SUBSCRIPTION_ID }}'
ARM_MGMTGROUP_ID: '${{ secrets.ARM_MGMTGROUP_ID }}'
ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}'
TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}'

concurrency:
group: ${{ github.workflow }}
Expand Down Expand Up @@ -72,95 +67,19 @@ jobs:
outputs:
workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }}
moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }}
modulePath: '${{ env.modulePath }}'

#########################
# Static validation #
#########################
job_module_static_validation:
runs-on: ubuntu-20.04
name: 'Static validation'
if: (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).staticValidation == 'true'
needs:
- job_initialize_pipeline
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set environment variables
uses: ./.github/actions/templates/setEnvironmentVariables
with:
variablesPath: ${{ env.variablesPath }}
- name: 'Run tests'
uses: ./.github/actions/templates/validateModulePester
with:
modulePath: '${{ env.modulePath }}'
moduleTestFilePath: '${{ env.moduleTestFilePath }}'

#############################
# Deployment validation #
#############################
job_module_deploy_validation:
runs-on: ubuntu-20.04
name: 'Deploying'
if: |
!cancelled() &&
(fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).deploymentValidation == 'true' &&
needs.job_module_static_validation.result != 'failure'
##############################
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: 'Module'
needs:
- job_initialize_pipeline
- job_module_static_validation
strategy:
fail-fast: false
matrix:
moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }}
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set environment variables
uses: ./.github/actions/templates/setEnvironmentVariables
with:
variablesPath: ${{ env.variablesPath }}
- name: 'Using test file [${{ matrix.moduleTestFilePaths }}]'
uses: ./.github/actions/templates/validateModuleDeployment
with:
templateFilePath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}'
location: '${{ env.location }}'
subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}'
managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}'
removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}'

##################
# Publishing #
##################
job_publish_module:
name: 'Publishing'
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.event.inputs.prerelease == 'true'
runs-on: ubuntu-20.04
needs:
- job_module_static_validation
- job_module_deploy_validation
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set environment variables
uses: ./.github/actions/templates/setEnvironmentVariables
with:
variablesPath: ${{ env.variablesPath }}
- name: 'Publishing'
uses: ./.github/actions/templates/publishModule
with:
templateFilePath: '${{ env.modulePath }}/deploy.bicep'
templateSpecsRGName: '${{ env.templateSpecsRGName }}'
templateSpecsRGLocation: '${{ env.templateSpecsRGLocation }}'
templateSpecsDescription: '${{ env.templateSpecsDescription }}'
templateSpecsDoPublish: '${{ env.templateSpecsDoPublish }}'
bicepRegistryName: '${{ env.bicepRegistryName }}'
bicepRegistryRGName: '${{ env.bicepRegistryRGName }}'
bicepRegistryRgLocation: '${{ env.bicepRegistryRgLocation }}'
bicepRegistryDoPublish: '${{ env.bicepRegistryDoPublish }}'
publishLatest: '${{ env.publishLatest }}'
uses: ./.github/workflows/template.module.yml
with:
workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}'
moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}'
modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}'
secrets: inherit
Loading