From 39511c3868f35730110859109064df5d546a53ec Mon Sep 17 00:00:00 2001 From: MrMCake Date: Wed, 13 Apr 2022 00:26:57 +0200 Subject: [PATCH 01/50] Added forms --- .github/ISSUE_TEMPLATE/BUG_REPORT.md | 55 ++++++++++++++--------- .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md | 29 +++++++----- 2 files changed, 52 insertions(+), 32 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/BUG_REPORT.md index 6a143da629..c37a0ac1b9 100644 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.md +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.md @@ -1,20 +1,35 @@ ---- -name: "Bug report \U0001F41B" -about: Report errors or unexpected behaviour -title: 'Bug Report' -labels: bug -assignees: '' ---- - - - -## Description - -Please describe your bug as detailed as possible. - -### Steps to reproduce - -1. -2. - -### Screenshots +name: Bug Report +description: File a bug report +title: "[Bug Report]: " +labels: ["Bug Report"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: bug-description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is vs. what you expected to happen. + validations: + required: true + - type: textarea + id: steps-to-reproduce + attributes: + label: To reproduce + description: Steps to reproduce the problem. + validations: + required: true + - type: textarea + id: code-snippet + attributes: + label: Code snippet + description: Please copy and paste any code snippet that can help reproduce the problem. + render: Bicep + - type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. + render: Shell diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md index af7090db22..c20052f25e 100644 --- a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md +++ b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md @@ -1,13 +1,18 @@ ---- -name: "Feature request \U0001F680" -about: Suggest an idea for this project -title: 'Feature Request' -labels: enhancement -assignees: '' ---- +name: Feature request \U0001F680 +description: Suggest an idea for this project +title: "[Feature Request]: " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + Thank you for suggesting a new feature - - -## Description - -Please describe your request. + + - type: textarea + id: bdescription + attributes: + label: Description + description: Please describe your request + validations: + required: true From 2d7616b79260fb33a488454f1f4828d8805185a2 Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Wed, 13 Apr 2022 00:29:58 +0200 Subject: [PATCH 02/50] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 38 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000..dd84ea7824 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000000..bbcbbe7d61 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. From c193bb3503c5e8e5f8d1154c914c103cca22eecf Mon Sep 17 00:00:00 2001 From: MrMCake Date: Wed, 13 Apr 2022 00:30:47 +0200 Subject: [PATCH 03/50] Re-apply --- .github/ISSUE_TEMPLATE/bug_report.md | 73 +++++++++++------------ .github/ISSUE_TEMPLATE/feature_request.md | 36 ++++++----- 2 files changed, 52 insertions(+), 57 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index dd84ea7824..c37a0ac1b9 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,38 +1,35 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -**Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. +name: Bug Report +description: File a bug report +title: "[Bug Report]: " +labels: ["Bug Report"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: bug-description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is vs. what you expected to happen. + validations: + required: true + - type: textarea + id: steps-to-reproduce + attributes: + label: To reproduce + description: Steps to reproduce the problem. + validations: + required: true + - type: textarea + id: code-snippet + attributes: + label: Code snippet + description: Please copy and paste any code snippet that can help reproduce the problem. + render: Bicep + - type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. + render: Shell diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index bbcbbe7d61..c20052f25e 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,20 +1,18 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' +name: Feature request \U0001F680 +description: Suggest an idea for this project +title: "[Feature Request]: " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + Thank you for suggesting a new feature ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. + + - type: textarea + id: bdescription + attributes: + label: Description + description: Please describe your request + validations: + required: true From e5709c7b431032922dc343daebf3951a53850298 Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Wed, 13 Apr 2022 00:31:59 +0200 Subject: [PATCH 04/50] Update issue templates --- .github/ISSUE_TEMPLATE/custom.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/custom.md diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md new file mode 100644 index 0000000000..48d5f81fa4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/custom.md @@ -0,0 +1,10 @@ +--- +name: Custom issue template +about: Describe this issue template's purpose here. +title: '' +labels: '' +assignees: '' + +--- + + From 3ff3629e9c79fd77f78816a2900472e9c3e98329 Mon Sep 17 00:00:00 2001 From: MrMCake Date: Wed, 13 Apr 2022 00:33:27 +0200 Subject: [PATCH 05/50] Update to latest --- .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md | 18 ---------- .github/ISSUE_TEMPLATE/bug_report.md | 35 ------------------- .../{BUG_REPORT.md => bug_report.yml} | 4 +-- .github/ISSUE_TEMPLATE/custom.md | 10 ------ ...feature_request.md => feature_request.yml} | 4 +-- 5 files changed, 4 insertions(+), 67 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md rename .github/ISSUE_TEMPLATE/{BUG_REPORT.md => bug_report.yml} (95%) delete mode 100644 .github/ISSUE_TEMPLATE/custom.md rename .github/ISSUE_TEMPLATE/{feature_request.md => feature_request.yml} (88%) diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md deleted file mode 100644 index c20052f25e..0000000000 --- a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md +++ /dev/null @@ -1,18 +0,0 @@ -name: Feature request \U0001F680 -description: Suggest an idea for this project -title: "[Feature Request]: " -labels: ["enhancement"] -body: - - type: markdown - attributes: - value: | - Thank you for suggesting a new feature - - - - type: textarea - id: bdescription - attributes: - label: Description - description: Please describe your request - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index c37a0ac1b9..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,35 +0,0 @@ -name: Bug Report -description: File a bug report -title: "[Bug Report]: " -labels: ["Bug Report"] -body: - - type: markdown - attributes: - value: | - Thanks for taking the time to fill out this bug report! - - type: textarea - id: bug-description - attributes: - label: Describe the bug - description: A clear and concise description of what the bug is vs. what you expected to happen. - validations: - required: true - - type: textarea - id: steps-to-reproduce - attributes: - label: To reproduce - description: Steps to reproduce the problem. - validations: - required: true - - type: textarea - id: code-snippet - attributes: - label: Code snippet - description: Please copy and paste any code snippet that can help reproduce the problem. - render: Bicep - - type: textarea - id: logs - attributes: - label: Relevant log output - description: Please copy and paste any relevant log output. - render: Shell diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/bug_report.yml similarity index 95% rename from .github/ISSUE_TEMPLATE/BUG_REPORT.md rename to .github/ISSUE_TEMPLATE/bug_report.yml index c37a0ac1b9..90873a60fb 100644 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.md +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,7 +1,7 @@ name: Bug Report description: File a bug report -title: "[Bug Report]: " -labels: ["Bug Report"] +title: '[Bug Report]: ' +labels: ['Bug Report'] body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md deleted file mode 100644 index 48d5f81fa4..0000000000 --- a/.github/ISSUE_TEMPLATE/custom.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Custom issue template -about: Describe this issue template's purpose here. -title: '' -labels: '' -assignees: '' - ---- - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.yml similarity index 88% rename from .github/ISSUE_TEMPLATE/feature_request.md rename to .github/ISSUE_TEMPLATE/feature_request.yml index c20052f25e..111ec8a858 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,7 +1,7 @@ name: Feature request \U0001F680 description: Suggest an idea for this project -title: "[Feature Request]: " -labels: ["enhancement"] +title: '[Feature Request]: ' +labels: ['enhancement'] body: - type: markdown attributes: From 4fdbb631faf58ee147de5aa518e3a73807540049 Mon Sep 17 00:00:00 2001 From: MrMCake Date: Wed, 13 Apr 2022 00:36:42 +0200 Subject: [PATCH 06/50] Update to latest --- .github/ISSUE_TEMPLATE/feature_request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 111ec8a858..415b4f1661 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,4 +1,4 @@ -name: Feature request \U0001F680 +name: Feature request description: Suggest an idea for this project title: '[Feature Request]: ' labels: ['enhancement'] @@ -8,7 +8,7 @@ body: value: | Thank you for suggesting a new feature - + > Note: Please search existing issues to avoid creating duplicates. - type: textarea id: bdescription attributes: From 499672f47404ebfe61ccf6d60af4f95c3ee2620d Mon Sep 17 00:00:00 2001 From: MrMCake Date: Wed, 13 Apr 2022 00:41:08 +0200 Subject: [PATCH 07/50] Updated forms --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .github/ISSUE_TEMPLATE/feature_request.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 90873a60fb..112a2fd6f2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,4 +1,4 @@ -name: Bug Report +name: Bug Report 🐛 description: File a bug report title: '[Bug Report]: ' labels: ['Bug Report'] diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 415b4f1661..be80333403 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,4 +1,4 @@ -name: Feature request +name: Feature request 🚀 description: Suggest an idea for this project title: '[Feature Request]: ' labels: ['enhancement'] From 8b5228b59d50a578237c0c8b472346ffc44761ea Mon Sep 17 00:00:00 2001 From: MrMCake Date: Wed, 13 Apr 2022 00:43:20 +0200 Subject: [PATCH 08/50] Updated templates --- .github/PULL_REQUEST_TEMPLATE.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index a96c157b7f..2e8f3c6d8b 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -3,9 +3,14 @@ ***Feel free to remove this sample text*** >Thank you for your contribution ! Please include a summary of the change and which issue is fixed. -Please also include relevant motivation and context. +Please also include the context. List any dependencies that are required for this change. +### Pipeline references (for module/pipeline changes) +| Pipeline | +| - | +| | + ## Type of Change Please delete options that are not relevant. From 175d4921c00178dbec21bde3bcd281c90f6836cf Mon Sep 17 00:00:00 2001 From: MrMCake Date: Wed, 13 Apr 2022 00:46:29 +0200 Subject: [PATCH 09/50] Updated templates --- .github/PULL_REQUEST_TEMPLATE.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 2e8f3c6d8b..20c2514cc7 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,17 +1,19 @@ -# Change +# Description -***Feel free to remove this sample text*** >Thank you for your contribution ! -Please include a summary of the change and which issue is fixed. -Please also include the context. -List any dependencies that are required for this change. -### Pipeline references (for module/pipeline changes) +> Please include a summary of the change and which issue is fixed. +> Please also include the context. +> List any dependencies that are required for this change. + +## Pipeline references +> For module/pipeline changes + | Pipeline | | - | | | -## Type of Change +# Type of Change Please delete options that are not relevant. @@ -20,7 +22,7 @@ Please delete options that are not relevant. - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update (Wiki) -## Checklist +# Checklist - [ ] I'm sure there are no other open Pull Requests for the same update/change - [ ] My corresponding pipelines / checks run clean and green without any errors or warnings From c54a11e86bb1ff252b1bccd513f6391008398851 Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Wed, 13 Apr 2022 14:41:27 +0200 Subject: [PATCH 10/50] Update .github/ISSUE_TEMPLATE/bug_report.yml Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 112a2fd6f2..520b875b6e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,7 +1,7 @@ name: Bug Report 🐛 description: File a bug report title: '[Bug Report]: ' -labels: ['Bug Report'] +labels: ['bug'] body: - type: markdown attributes: From a517f6641c6113decc72c8d2c6f235156864c6e3 Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Wed, 13 Apr 2022 16:44:00 +0200 Subject: [PATCH 11/50] Update .github/PULL_REQUEST_TEMPLATE.md Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 20c2514cc7..129120b3a4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -7,7 +7,7 @@ > List any dependencies that are required for this change. ## Pipeline references -> For module/pipeline changes +> For module/pipeline changes, please create and attach the status badge of your successful run. | Pipeline | | - | From 50a20188574a921af56d8373803d3a0cb9345101 Mon Sep 17 00:00:00 2001 From: MrMCake Date: Fri, 13 May 2022 22:18:56 +0200 Subject: [PATCH 12/50] Update to latest --- .github/workflows/platform.bug.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/platform.bug.yml diff --git a/.github/workflows/platform.bug.yml b/.github/workflows/platform.bug.yml new file mode 100644 index 0000000000..7fadf505f8 --- /dev/null +++ b/.github/workflows/platform.bug.yml @@ -0,0 +1,17 @@ +on: + issues: + types: [opened] + +jobs: + apply-label: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v6 + with: + script: | + github.rest.issues.addLabels({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + labels: ['Triage'] + }) From c5449be1d6dad26c915e7831fdd9dc2b73c4225a Mon Sep 17 00:00:00 2001 From: MrMCake Date: Fri, 13 May 2022 22:21:10 +0200 Subject: [PATCH 13/50] Update to latest --- .github/workflows/platform.bug.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platform.bug.yml b/.github/workflows/platform.bug.yml index 7fadf505f8..3644d1b3a9 100644 --- a/.github/workflows/platform.bug.yml +++ b/.github/workflows/platform.bug.yml @@ -13,5 +13,5 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - labels: ['Triage'] + labels: ['documentation'] }) From 20610485d3379205bff1d3857455568f42a21ab8 Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Tue, 31 May 2022 19:02:57 +0200 Subject: [PATCH 14/50] Added pipeline to auto-assign issues --- .../workflows/platform.issueAssignment.yml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/platform.issueAssignment.yml diff --git a/.github/workflows/platform.issueAssignment.yml b/.github/workflows/platform.issueAssignment.yml new file mode 100644 index 0000000000..5e3f62b65d --- /dev/null +++ b/.github/workflows/platform.issueAssignment.yml @@ -0,0 +1,35 @@ +# Add new issues to the corrrect project +name: Assign Issues to Projects + +on: + # Triggers the workflow on push or pull request events but only for the main branch + issues: + types: + - opened + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +env: + GITHUB_TOKEN: ${{ github.token }} + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + add-to-project: + name: Add Issues to Projects + runs-on: ubuntu-latest + steps: + - name: Add Bug to Bug Board + uses: srggrs/assign-one-project-github-action@1.2.1 + if: | + contains(github.event.issue.labels.*.name, 'bug') + with: + project: https://github.com/Azure/ResourceModules/projects/4 + column_name: 'Needs triage' + - name: Add Issues to Backlog Board + uses: srggrs/assign-one-project-github-action@1.2.1 + if: | + contains(github.event.issue.labels.*.name, 'needs triage') && + !contains(github.event.issue.labels.*.name, 'bug') + with: + project: https://github.com/Azure/ResourceModules/projects/5 + column_name: 'Needs triage' From 3f077f3dd9b21695ebfee1490eb16aea5daa6d6d Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Tue, 31 May 2022 19:09:22 +0200 Subject: [PATCH 15/50] Update platform.issueAssignment.yml --- .github/workflows/platform.issueAssignment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/platform.issueAssignment.yml b/.github/workflows/platform.issueAssignment.yml index 5e3f62b65d..374e73603b 100644 --- a/.github/workflows/platform.issueAssignment.yml +++ b/.github/workflows/platform.issueAssignment.yml @@ -23,7 +23,7 @@ jobs: if: | contains(github.event.issue.labels.*.name, 'bug') with: - project: https://github.com/Azure/ResourceModules/projects/4 + project: https://github.com/MrMCake/ResourceModules/projects/1 column_name: 'Needs triage' - name: Add Issues to Backlog Board uses: srggrs/assign-one-project-github-action@1.2.1 @@ -31,5 +31,5 @@ jobs: contains(github.event.issue.labels.*.name, 'needs triage') && !contains(github.event.issue.labels.*.name, 'bug') with: - project: https://github.com/Azure/ResourceModules/projects/5 + project: https://github.com/MrMCake/ResourceModules/projects/2 column_name: 'Needs triage' From 4690418e2c1968a263bd95e5d57e27fc763ad5c3 Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Tue, 31 May 2022 19:12:20 +0200 Subject: [PATCH 16/50] Update platform.issueAssignment.yml --- .github/workflows/platform.issueAssignment.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/platform.issueAssignment.yml b/.github/workflows/platform.issueAssignment.yml index 374e73603b..f8a0eb4df6 100644 --- a/.github/workflows/platform.issueAssignment.yml +++ b/.github/workflows/platform.issueAssignment.yml @@ -28,8 +28,7 @@ jobs: - name: Add Issues to Backlog Board uses: srggrs/assign-one-project-github-action@1.2.1 if: | - contains(github.event.issue.labels.*.name, 'needs triage') && - !contains(github.event.issue.labels.*.name, 'bug') + contains(github.event.issue.labels.*.name, 'enhancement') with: project: https://github.com/MrMCake/ResourceModules/projects/2 column_name: 'Needs triage' From e56b1a5bf766fa400d9126511102f0dadd1f074b Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Tue, 31 May 2022 19:14:41 +0200 Subject: [PATCH 17/50] Update platform.issueAssignment.yml --- .github/workflows/platform.issueAssignment.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/platform.issueAssignment.yml b/.github/workflows/platform.issueAssignment.yml index f8a0eb4df6..b423d809b5 100644 --- a/.github/workflows/platform.issueAssignment.yml +++ b/.github/workflows/platform.issueAssignment.yml @@ -2,12 +2,10 @@ name: Assign Issues to Projects on: - # Triggers the workflow on push or pull request events but only for the main branch + workflow_dispatch: issues: types: - opened - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: env: GITHUB_TOKEN: ${{ github.token }} From 89aad7c5c9c1f57176f2ca94343dc711d3309ecb Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Tue, 31 May 2022 19:18:36 +0200 Subject: [PATCH 18/50] Delete platform.bug.yml --- .github/workflows/platform.bug.yml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 .github/workflows/platform.bug.yml diff --git a/.github/workflows/platform.bug.yml b/.github/workflows/platform.bug.yml deleted file mode 100644 index 3644d1b3a9..0000000000 --- a/.github/workflows/platform.bug.yml +++ /dev/null @@ -1,17 +0,0 @@ -on: - issues: - types: [opened] - -jobs: - apply-label: - runs-on: ubuntu-latest - steps: - - uses: actions/github-script@v6 - with: - script: | - github.rest.issues.addLabels({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - labels: ['documentation'] - }) From dd2b3ec9e413b6516a5532b0b092109216f17244 Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Tue, 31 May 2022 19:18:45 +0200 Subject: [PATCH 19/50] Delete platform.issueAssignment.yml --- .../workflows/platform.issueAssignment.yml | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/platform.issueAssignment.yml diff --git a/.github/workflows/platform.issueAssignment.yml b/.github/workflows/platform.issueAssignment.yml deleted file mode 100644 index b423d809b5..0000000000 --- a/.github/workflows/platform.issueAssignment.yml +++ /dev/null @@ -1,32 +0,0 @@ -# Add new issues to the corrrect project -name: Assign Issues to Projects - -on: - workflow_dispatch: - issues: - types: - - opened - -env: - GITHUB_TOKEN: ${{ github.token }} - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - add-to-project: - name: Add Issues to Projects - runs-on: ubuntu-latest - steps: - - name: Add Bug to Bug Board - uses: srggrs/assign-one-project-github-action@1.2.1 - if: | - contains(github.event.issue.labels.*.name, 'bug') - with: - project: https://github.com/MrMCake/ResourceModules/projects/1 - column_name: 'Needs triage' - - name: Add Issues to Backlog Board - uses: srggrs/assign-one-project-github-action@1.2.1 - if: | - contains(github.event.issue.labels.*.name, 'enhancement') - with: - project: https://github.com/MrMCake/ResourceModules/projects/2 - column_name: 'Needs triage' From 56192af64c415fd87a26f36ca6886d2d2868dbfe Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 11 Nov 2022 01:48:15 +0100 Subject: [PATCH 20/50] Added cleanup pipeline IP --- .../platform.deployment.removal.yml | 121 ++++++++++++++ .../templates/getWorkflowInput/action.yml | 27 +++- .github/workflows/ms.aad.domainservices.yml | 2 +- .../workflows/ms.analysisservices.servers.yml | 2 +- .../workflows/ms.apimanagement.service.yml | 2 +- ...s.appconfiguration.configurationstores.yml | 2 +- .github/workflows/ms.authorization.locks.yml | 2 +- .../ms.authorization.policyassignments.yml | 2 +- .../ms.authorization.policydefinitions.yml | 2 +- .../ms.authorization.policyexemptions.yml | 2 +- .../ms.authorization.policysetdefinitions.yml | 2 +- .../ms.authorization.roleassignments.yml | 2 +- .../ms.authorization.roledefinitions.yml | 2 +- .../ms.automation.automationaccounts.yml | 2 +- .github/workflows/ms.batch.batchaccounts.yml | 2 +- .github/workflows/ms.cache.redis.yml | 2 +- .../ms.cognitiveservices.accounts.yml | 2 +- .../workflows/ms.compute.availabilitysets.yml | 2 +- .../ms.compute.diskencryptionsets.yml | 2 +- .github/workflows/ms.compute.disks.yml | 2 +- .github/workflows/ms.compute.galleries.yml | 2 +- .github/workflows/ms.compute.images.yml | 2 +- .../ms.compute.proximityplacementgroups.yml | 2 +- .../workflows/ms.compute.virtualmachines.yml | 2 +- .../ms.compute.virtualmachinescalesets.yml | 2 +- .github/workflows/ms.consumption.budgets.yml | 2 +- .../ms.containerinstance.containergroups.yml | 2 +- .../ms.containerregistry.registries.yml | 2 +- .../ms.containerservice.managedclusters.yml | 2 +- .../workflows/ms.databricks.workspaces.yml | 2 +- .../workflows/ms.datafactory.factories.yml | 2 +- .../ms.dataprotection.backupvaults.yml | 2 +- .../ms.dbforpostgresql.flexibleservers.yml | 2 +- ...esktopvirtualization.applicationgroups.yml | 2 +- .../ms.desktopvirtualization.hostpools.yml | 2 +- .../ms.desktopvirtualization.scalingplans.yml | 2 +- .../ms.desktopvirtualization.workspaces.yml | 2 +- .../ms.documentdb.databaseaccounts.yml | 2 +- .../workflows/ms.eventgrid.systemtopics.yml | 2 +- .github/workflows/ms.eventgrid.topics.yml | 2 +- .github/workflows/ms.eventhub.namespaces.yml | 2 +- .github/workflows/ms.healthbot.healthbots.yml | 2 +- .../workflows/ms.insights.actiongroups.yml | 2 +- .../ms.insights.activitylogalerts.yml | 2 +- .github/workflows/ms.insights.components.yml | 2 +- .../ms.insights.diagnosticsettings.yml | 2 +- .../workflows/ms.insights.metricalerts.yml | 2 +- .../ms.insights.privatelinkscopes.yml | 2 +- .../ms.insights.scheduledqueryrules.yml | 2 +- .github/workflows/ms.keyvault.vaults.yml | 2 +- .../ms.kubernetesconfiguration.extensions.yml | 2 +- ...rnetesconfiguration.fluxconfigurations.yml | 2 +- .github/workflows/ms.logic.workflows.yml | 2 +- .../ms.machinelearningservices.workspaces.yml | 2 +- ...managedidentity.userassignedidentities.yml | 2 +- ...anagedservices.registrationdefinitions.yml | 2 +- .../ms.management.managementgroups.yml | 2 +- .../workflows/ms.netapp.netappaccounts.yml | 2 +- .../ms.network.applicationgateways.yml | 2 +- ...ngatewaywebapplicationfirewallpolicies.yml | 2 +- .../ms.network.applicationsecuritygroups.yml | 2 +- .../workflows/ms.network.azurefirewalls.yml | 2 +- .github/workflows/ms.network.bastionhosts.yml | 2 +- .github/workflows/ms.network.connections.yml | 2 +- .../ms.network.ddosprotectionplans.yml | 2 +- .github/workflows/ms.network.dnsresolvers.yml | 2 +- .../ms.network.expressroutecircuits.yml | 2 +- .../workflows/ms.network.firewallpolicies.yml | 2 +- .github/workflows/ms.network.frontdoors.yml | 2 +- .github/workflows/ms.network.ipgroups.yml | 2 +- .../workflows/ms.network.loadbalancers.yml | 2 +- .../ms.network.localnetworkgateways.yml | 2 +- .github/workflows/ms.network.natgateways.yml | 2 +- .../ms.network.networkinterfaces.yml | 2 +- .../ms.network.networksecuritygroups.yml | 2 +- .../workflows/ms.network.networkwatchers.yml | 2 +- .../workflows/ms.network.privatednszones.yml | 2 +- .../workflows/ms.network.privateendpoints.yml | 2 +- .../ms.network.privatelinkservices.yml | 2 +- .../ms.network.publicipaddresses.yml | 2 +- .../workflows/ms.network.publicipprefixes.yml | 2 +- .github/workflows/ms.network.routetables.yml | 2 +- .../ms.network.trafficmanagerprofiles.yml | 2 +- .github/workflows/ms.network.virtualhubs.yml | 2 +- .../ms.network.virtualnetworkgateways.yml | 2 +- .../workflows/ms.network.virtualnetworks.yml | 2 +- .github/workflows/ms.network.virtualwans.yml | 2 +- .github/workflows/ms.network.vpngateways.yml | 2 +- .github/workflows/ms.network.vpnsites.yml | 2 +- .../ms.operationalinsights.workspaces.yml | 2 +- .../ms.operationsmanagement.solutions.yml | 2 +- .../ms.powerbidedicated.capacities.yml | 2 +- .../workflows/ms.recoveryservices.vaults.yml | 2 +- .../ms.resources.deploymentscripts.yml | 2 +- .../workflows/ms.resources.resourcegroups.yml | 2 +- .github/workflows/ms.resources.tags.yml | 2 +- .../ms.security.azuresecuritycenter.yml | 2 +- .../workflows/ms.servicebus.namespaces.yml | 2 +- .../workflows/ms.servicefabric.clusters.yml | 2 +- .../workflows/ms.signalrservice.webpubsub.yml | 2 +- .github/workflows/ms.sql.managedinstances.yml | 2 +- .github/workflows/ms.sql.servers.yml | 2 +- .../workflows/ms.storage.storageaccounts.yml | 2 +- .../workflows/ms.synapse.privatelinkhubs.yml | 2 +- .github/workflows/ms.synapse.workspaces.yml | 2 +- ...ms.virtualmachineimages.imagetemplates.yml | 2 +- .github/workflows/ms.web.connections.yml | 2 +- .../workflows/ms.web.hostingenvironments.yml | 2 +- .github/workflows/ms.web.serverfarms.yml | 2 +- .github/workflows/ms.web.sites.yml | 2 +- .github/workflows/ms.web.staticsites.yml | 2 +- .../workflows/platform.deployment.removal.yml | 153 ++++++++++++++++++ ...The CI environment - Deployment removal.md | 37 +++++ ... CI environment - Deployment validation.md | 2 +- ...gement Group Deployment removal utility.md | 26 --- settings.yml | 9 ++ .../Clear-ManagementGroupDeployment.ps1 | 43 +++-- .../Clear-SubscriptionDeployment.ps1 | 121 ++++++++++++++ .../Get-GitHubWorkflowDefaultInput.ps1 | 99 +----------- .../sharedScripts}/Split-Array.ps1 | 0 .../tools/helper/Get-LineIndentation.ps1 | 50 ++++++ 121 files changed, 652 insertions(+), 254 deletions(-) create mode 100644 .azuredevops/platformPipelines/platform.deployment.removal.yml create mode 100644 .github/workflows/platform.deployment.removal.yml create mode 100644 docs/wiki/The CI environment - Deployment removal.md delete mode 100644 docs/wiki/The CI environment - Management Group Deployment removal utility.md rename utilities/{tools => pipelines/deploymentRemoval}/Clear-ManagementGroupDeployment.ps1 (68%) create mode 100644 utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 rename utilities/{tools/helper => pipelines/sharedScripts}/Split-Array.ps1 (100%) create mode 100644 utilities/tools/helper/Get-LineIndentation.ps1 diff --git a/.azuredevops/platformPipelines/platform.deployment.removal.yml b/.azuredevops/platformPipelines/platform.deployment.removal.yml new file mode 100644 index 0000000000..d16b23dd23 --- /dev/null +++ b/.azuredevops/platformPipelines/platform.deployment.removal.yml @@ -0,0 +1,121 @@ +name: '.Platform - Remove Deployments' + +parameters: + - name: handleSubscriptionScope + displayName: Include Subscription deployments + type: boolean + default: true + - name: handleManagementGroupScope + displayName: Include Management Group deployments + type: boolean + default: true + +schedules: +- cron: "0 0 * * *" + displayName: Nightly run + branches: + include: + - main + +pr: none + +variables: + - template: '../../settings.yml' + - group: 'PLATFORM_VARIABLES' + +jobs: + - job: Remove_Subscription_Deployments + condition: and(succeeded(), eq('${{ parameters.handleSubscriptionScope }}', 'true')) + displayName: Remove Subscription deployments + pool: + ${{ if eq(variables['vmImage'], '') }}: + name: $(poolName) + ${{ if eq(variables['poolName'], '') }}: + vmImage: $(vmImage) + steps: + - checkout: self + - task: PowerShell@2 + displayName: 'Setup agent for deployment' + inputs: + targetType: inline + pwsh: true + script: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') + + # Define PS modules to install on the runner + $Modules = @( + @{ Name = 'Az.Accounts' } + ) + + # Set agent up + Set-EnvironmentOnAgent -PSModules $Modules + - task: AzurePowerShell@5 + displayName: 'Cleanup deployments via connection [$(serviceConnection)]' + inputs: + azureSubscription: '$(serviceConnection)' + azurePowerShellVersion: 'latestVersion' + preferredAzurePowerShellVersion: '' + pwsh: true + ScriptType: InlineScript + inline: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'deploymentRemoval' 'Clear-SubscriptionDeployment.ps1') + + $functionInput = @{ + SubscriptionId = '$(ARM_SUBSCRIPTION_ID)' + maxDeploymentRetentionInDays = '$(maxDeploymentRetentionInDays)' + } + + Write-Verbose 'Invoke task with' -Verbose + Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + Clear-SubscriptionDeployment @functionInput + + - job: Remove_ManagementGroup_Deployments + condition: and(succeeded(), eq('${{ parameters.handleManagementGroupScope }}', 'true')) + displayName: Remove Management Group deployments + pool: + ${{ if eq(variables['vmImage'], '') }}: + name: $(poolName) + ${{ if eq(variables['poolName'], '') }}: + vmImage: $(vmImage) + steps: + - checkout: self + - task: PowerShell@2 + displayName: 'Setup agent for deployment' + inputs: + targetType: inline + pwsh: true + script: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') + + # Define PS modules to install on the runner + $Modules = @( + @{ Name = 'Az.Accounts' } + ) + + # Set agent up + Set-EnvironmentOnAgent -PSModules $Modules + - task: AzurePowerShell@5 + displayName: 'Cleanup deployments via connection [$(serviceConnection)]' + inputs: + azureSubscription: '$(serviceConnection)' + azurePowerShellVersion: 'latestVersion' + preferredAzurePowerShellVersion: '' + pwsh: true + ScriptType: InlineScript + inline: | + # Load used functions + . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'deploymentRemoval' 'Clear-ManagementGroupDeployment.ps1') + + $functionInput = @{ + ManagementGroupId = '$(ARM_MGMTGROUP_ID)' + maxDeploymentRetentionInDays = '$(maxDeploymentRetentionInDays)' + } + + Write-Verbose 'Invoke task with' -Verbose + Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + Clear-ManagementGroupDeployment @functionInput diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index af96c87aee..cdaedad6d6 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -44,9 +44,9 @@ inputs: required: true outputs: - removeDeployment: + workflowInput: description: 'A flag, set in the pipeline, to control whether deployment resources should be removed or not' - value: ${{ steps.get-input-param-action.outputs.removeDeployment }} + value: ${{ steps.get-input-param-action.outputs.workflowInput }} runs: using: 'composite' @@ -61,7 +61,15 @@ runs: # When running from workflow_dispatch event get input values if ('${{ github.event_name }}' -eq 'workflow_dispatch') { - $removeDeployment='${{ github.event.inputs.removeDeployment }}' + $parameters = '${{ toJSON(github.event.inputs) }}' | ConvertFrom-Json -AsHashTable + + # Output values to be accessed by next jobs + $workflowInput = @{} + foreach($parameterName in $parameters.Keys) { + Write-Verbose ('Passing output [{0}] with value [{1}]' -f $parameterName, $parameters[$parameterName]) -Verbose + $workflowInput[$parameterName] = $parameters[$parameterName] + } + Write-Output ('{0}={1}' -f 'workflowInput', ($workflowInput | ConvertTo-Json -Compress)) >> $env:GITHUB_OUTPUT } # Otherwise retrieve default values else { @@ -76,11 +84,14 @@ runs: Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose $workflowParameters = Get-GitHubWorkflowDefaultInput @functionInput -Verbose - $removeDeployment = $workflowParameters.removeDeployment - } - - # Output values to be accessed by next jobs - Write-Output ('{0}={1}' -f 'removeDeployment', $removeDeployment) >> $env:GITHUB_OUTPUT + # Output values to be accessed by next jobs + $workflowInput = @{} + foreach($parameterName in $workflowParameters.Keys) { + Write-Verbose ('Passing output [{0}] with value [{1}]' -f $parameterName, $workflowParameters[$parameterName]) -Verbose + $workflowInput[$parameterName] = $workflowParameters[$parameterName] + } + Write-Output ('{0}={1}' -f 'workflowInput', ($workflowInput | ConvertTo-Json -Compress)) >> $env:GITHUB_OUTPUT + } Write-Output '::endgroup::' shell: pwsh diff --git a/.github/workflows/ms.aad.domainservices.yml b/.github/workflows/ms.aad.domainservices.yml index 5105bf465c..70a6184ac6 100644 --- a/.github/workflows/ms.aad.domainservices.yml +++ b/.github/workflows/ms.aad.domainservices.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 7ce9983cd2..7f0d3df565 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.apimanagement.service.yml b/.github/workflows/ms.apimanagement.service.yml index b0b270b03d..307f8d5661 100644 --- a/.github/workflows/ms.apimanagement.service.yml +++ b/.github/workflows/ms.apimanagement.service.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.appconfiguration.configurationstores.yml b/.github/workflows/ms.appconfiguration.configurationstores.yml index 1550452182..6b18a32d73 100644 --- a/.github/workflows/ms.appconfiguration.configurationstores.yml +++ b/.github/workflows/ms.appconfiguration.configurationstores.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index 9cb29e3771..7c994f2916 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.authorization.policyassignments.yml b/.github/workflows/ms.authorization.policyassignments.yml index 1d8d1654be..d439596e24 100644 --- a/.github/workflows/ms.authorization.policyassignments.yml +++ b/.github/workflows/ms.authorization.policyassignments.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.authorization.policydefinitions.yml b/.github/workflows/ms.authorization.policydefinitions.yml index 77ab220288..8e6ce75703 100644 --- a/.github/workflows/ms.authorization.policydefinitions.yml +++ b/.github/workflows/ms.authorization.policydefinitions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.authorization.policyexemptions.yml b/.github/workflows/ms.authorization.policyexemptions.yml index 691d1dd935..c4cf0a728a 100644 --- a/.github/workflows/ms.authorization.policyexemptions.yml +++ b/.github/workflows/ms.authorization.policyexemptions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.authorization.policysetdefinitions.yml b/.github/workflows/ms.authorization.policysetdefinitions.yml index b2b35d166a..fb125ffef3 100644 --- a/.github/workflows/ms.authorization.policysetdefinitions.yml +++ b/.github/workflows/ms.authorization.policysetdefinitions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.authorization.roleassignments.yml b/.github/workflows/ms.authorization.roleassignments.yml index cdd3a0fe60..91256b8026 100644 --- a/.github/workflows/ms.authorization.roleassignments.yml +++ b/.github/workflows/ms.authorization.roleassignments.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.authorization.roledefinitions.yml b/.github/workflows/ms.authorization.roledefinitions.yml index 398eb2baa2..8941e4f5be 100644 --- a/.github/workflows/ms.authorization.roledefinitions.yml +++ b/.github/workflows/ms.authorization.roledefinitions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index 8d4a109280..9948150f72 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -58,7 +58,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.batch.batchaccounts.yml b/.github/workflows/ms.batch.batchaccounts.yml index 6f2e012ab8..108637cfe1 100644 --- a/.github/workflows/ms.batch.batchaccounts.yml +++ b/.github/workflows/ms.batch.batchaccounts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.cache.redis.yml b/.github/workflows/ms.cache.redis.yml index 227e6572b5..3e6f083d63 100644 --- a/.github/workflows/ms.cache.redis.yml +++ b/.github/workflows/ms.cache.redis.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.cognitiveservices.accounts.yml b/.github/workflows/ms.cognitiveservices.accounts.yml index 5647fb882b..7bfa64960e 100644 --- a/.github/workflows/ms.cognitiveservices.accounts.yml +++ b/.github/workflows/ms.cognitiveservices.accounts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index d4a60e7af1..02d6ae57d0 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index 97eeaee93c..f261f8af20 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index b2f2b4afda..37b836ec9a 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.compute.galleries.yml b/.github/workflows/ms.compute.galleries.yml index 6a12ca4e01..6c8719596d 100644 --- a/.github/workflows/ms.compute.galleries.yml +++ b/.github/workflows/ms.compute.galleries.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index a0fd4e3b9e..73005b0453 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index 3bbfcab898..ea86f6197a 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.compute.virtualmachines.yml b/.github/workflows/ms.compute.virtualmachines.yml index 50076499aa..e2ebe761b4 100644 --- a/.github/workflows/ms.compute.virtualmachines.yml +++ b/.github/workflows/ms.compute.virtualmachines.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.compute.virtualmachinescalesets.yml b/.github/workflows/ms.compute.virtualmachinescalesets.yml index ae86f20689..829a8ca7d0 100644 --- a/.github/workflows/ms.compute.virtualmachinescalesets.yml +++ b/.github/workflows/ms.compute.virtualmachinescalesets.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index 29c660fa9c..8f6b5d1aaf 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.containerinstance.containergroups.yml b/.github/workflows/ms.containerinstance.containergroups.yml index 58a0d47792..79cbb375f3 100644 --- a/.github/workflows/ms.containerinstance.containergroups.yml +++ b/.github/workflows/ms.containerinstance.containergroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.containerregistry.registries.yml b/.github/workflows/ms.containerregistry.registries.yml index 16c71b156f..8a1b742850 100644 --- a/.github/workflows/ms.containerregistry.registries.yml +++ b/.github/workflows/ms.containerregistry.registries.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.containerservice.managedclusters.yml b/.github/workflows/ms.containerservice.managedclusters.yml index 3dd9a3e222..820cfa3e32 100644 --- a/.github/workflows/ms.containerservice.managedclusters.yml +++ b/.github/workflows/ms.containerservice.managedclusters.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.databricks.workspaces.yml b/.github/workflows/ms.databricks.workspaces.yml index 85bb9f388b..482a7148c4 100644 --- a/.github/workflows/ms.databricks.workspaces.yml +++ b/.github/workflows/ms.databricks.workspaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.datafactory.factories.yml b/.github/workflows/ms.datafactory.factories.yml index b0db7cb988..0416066b57 100644 --- a/.github/workflows/ms.datafactory.factories.yml +++ b/.github/workflows/ms.datafactory.factories.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.dataprotection.backupvaults.yml b/.github/workflows/ms.dataprotection.backupvaults.yml index 8c7b12f3fc..06588e3474 100644 --- a/.github/workflows/ms.dataprotection.backupvaults.yml +++ b/.github/workflows/ms.dataprotection.backupvaults.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml index a5db71c7db..e9fcee2020 100644 --- a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml +++ b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml index 704ece9dd4..d3ec220cb1 100644 --- a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml +++ b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.yml b/.github/workflows/ms.desktopvirtualization.hostpools.yml index 7d371b3908..8e842019db 100644 --- a/.github/workflows/ms.desktopvirtualization.hostpools.yml +++ b/.github/workflows/ms.desktopvirtualization.hostpools.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.desktopvirtualization.scalingplans.yml b/.github/workflows/ms.desktopvirtualization.scalingplans.yml index bd61b15f96..91012f74d6 100644 --- a/.github/workflows/ms.desktopvirtualization.scalingplans.yml +++ b/.github/workflows/ms.desktopvirtualization.scalingplans.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.desktopvirtualization.workspaces.yml b/.github/workflows/ms.desktopvirtualization.workspaces.yml index af1ce3d017..8097838c75 100644 --- a/.github/workflows/ms.desktopvirtualization.workspaces.yml +++ b/.github/workflows/ms.desktopvirtualization.workspaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.documentdb.databaseaccounts.yml b/.github/workflows/ms.documentdb.databaseaccounts.yml index 5e3e27ae4a..03f0c271ba 100644 --- a/.github/workflows/ms.documentdb.databaseaccounts.yml +++ b/.github/workflows/ms.documentdb.databaseaccounts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.eventgrid.systemtopics.yml b/.github/workflows/ms.eventgrid.systemtopics.yml index 7082058379..f2c9d4bf2a 100644 --- a/.github/workflows/ms.eventgrid.systemtopics.yml +++ b/.github/workflows/ms.eventgrid.systemtopics.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index 0f1a55f4d7..6db34b8c3b 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.eventhub.namespaces.yml b/.github/workflows/ms.eventhub.namespaces.yml index 8a6d20f63d..1afa98f9d3 100644 --- a/.github/workflows/ms.eventhub.namespaces.yml +++ b/.github/workflows/ms.eventhub.namespaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.healthbot.healthbots.yml b/.github/workflows/ms.healthbot.healthbots.yml index b922917e4c..5b2edfb4bd 100644 --- a/.github/workflows/ms.healthbot.healthbots.yml +++ b/.github/workflows/ms.healthbot.healthbots.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.insights.actiongroups.yml b/.github/workflows/ms.insights.actiongroups.yml index 51f6fe4932..5d158e1285 100644 --- a/.github/workflows/ms.insights.actiongroups.yml +++ b/.github/workflows/ms.insights.actiongroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.insights.activitylogalerts.yml b/.github/workflows/ms.insights.activitylogalerts.yml index 455d13ece9..17c27b0d71 100644 --- a/.github/workflows/ms.insights.activitylogalerts.yml +++ b/.github/workflows/ms.insights.activitylogalerts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.insights.components.yml b/.github/workflows/ms.insights.components.yml index 13f0691fe3..7e43b57ef9 100644 --- a/.github/workflows/ms.insights.components.yml +++ b/.github/workflows/ms.insights.components.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.insights.diagnosticsettings.yml b/.github/workflows/ms.insights.diagnosticsettings.yml index 727ff66ecb..5c6e274673 100644 --- a/.github/workflows/ms.insights.diagnosticsettings.yml +++ b/.github/workflows/ms.insights.diagnosticsettings.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index e29b546f5e..d70f945b0e 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.insights.privatelinkscopes.yml b/.github/workflows/ms.insights.privatelinkscopes.yml index 24cec3a955..8a42ef51c7 100644 --- a/.github/workflows/ms.insights.privatelinkscopes.yml +++ b/.github/workflows/ms.insights.privatelinkscopes.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.insights.scheduledqueryrules.yml b/.github/workflows/ms.insights.scheduledqueryrules.yml index 84edced8b2..a73acc9f21 100644 --- a/.github/workflows/ms.insights.scheduledqueryrules.yml +++ b/.github/workflows/ms.insights.scheduledqueryrules.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index 98a4b20b72..d5970488f2 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.kubernetesconfiguration.extensions.yml b/.github/workflows/ms.kubernetesconfiguration.extensions.yml index 53c556b9c2..9d78801222 100644 --- a/.github/workflows/ms.kubernetesconfiguration.extensions.yml +++ b/.github/workflows/ms.kubernetesconfiguration.extensions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml index 9d6a710731..c14270c932 100644 --- a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.logic.workflows.yml b/.github/workflows/ms.logic.workflows.yml index 0547b78ab7..f6fc07d149 100644 --- a/.github/workflows/ms.logic.workflows.yml +++ b/.github/workflows/ms.logic.workflows.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index a01e34c35a..79532e7764 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.managedidentity.userassignedidentities.yml b/.github/workflows/ms.managedidentity.userassignedidentities.yml index 21b2c9df46..a49a4ea520 100644 --- a/.github/workflows/ms.managedidentity.userassignedidentities.yml +++ b/.github/workflows/ms.managedidentity.userassignedidentities.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.managedservices.registrationdefinitions.yml b/.github/workflows/ms.managedservices.registrationdefinitions.yml index 5062b8cae6..310ef4ebe4 100644 --- a/.github/workflows/ms.managedservices.registrationdefinitions.yml +++ b/.github/workflows/ms.managedservices.registrationdefinitions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.management.managementgroups.yml b/.github/workflows/ms.management.managementgroups.yml index 5a3363445d..1ef66f9b46 100644 --- a/.github/workflows/ms.management.managementgroups.yml +++ b/.github/workflows/ms.management.managementgroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index be17607a9a..76ce398674 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.applicationgateways.yml b/.github/workflows/ms.network.applicationgateways.yml index 453e8a3e44..f37bd775cd 100644 --- a/.github/workflows/ms.network.applicationgateways.yml +++ b/.github/workflows/ms.network.applicationgateways.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml index 34f25e9c75..204d575558 100644 --- a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml +++ b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.applicationsecuritygroups.yml b/.github/workflows/ms.network.applicationsecuritygroups.yml index 714b364ca7..88b5085ba9 100644 --- a/.github/workflows/ms.network.applicationsecuritygroups.yml +++ b/.github/workflows/ms.network.applicationsecuritygroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.azurefirewalls.yml b/.github/workflows/ms.network.azurefirewalls.yml index 05b44e09ee..392e586d63 100644 --- a/.github/workflows/ms.network.azurefirewalls.yml +++ b/.github/workflows/ms.network.azurefirewalls.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.bastionhosts.yml b/.github/workflows/ms.network.bastionhosts.yml index 29998ecfe1..82f1fa65df 100644 --- a/.github/workflows/ms.network.bastionhosts.yml +++ b/.github/workflows/ms.network.bastionhosts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.connections.yml b/.github/workflows/ms.network.connections.yml index f225c4044d..a0cacd3a73 100644 --- a/.github/workflows/ms.network.connections.yml +++ b/.github/workflows/ms.network.connections.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.ddosprotectionplans.yml b/.github/workflows/ms.network.ddosprotectionplans.yml index ce0a12fef9..dc9103c314 100644 --- a/.github/workflows/ms.network.ddosprotectionplans.yml +++ b/.github/workflows/ms.network.ddosprotectionplans.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.dnsresolvers.yml b/.github/workflows/ms.network.dnsresolvers.yml index 000b004e31..bbf3dafca6 100644 --- a/.github/workflows/ms.network.dnsresolvers.yml +++ b/.github/workflows/ms.network.dnsresolvers.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.expressroutecircuits.yml b/.github/workflows/ms.network.expressroutecircuits.yml index 6314c13a94..d1a4bc4deb 100644 --- a/.github/workflows/ms.network.expressroutecircuits.yml +++ b/.github/workflows/ms.network.expressroutecircuits.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.firewallpolicies.yml b/.github/workflows/ms.network.firewallpolicies.yml index dc914846b4..6e6bed56cf 100644 --- a/.github/workflows/ms.network.firewallpolicies.yml +++ b/.github/workflows/ms.network.firewallpolicies.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.frontdoors.yml b/.github/workflows/ms.network.frontdoors.yml index 4391ea3777..0863b501ad 100644 --- a/.github/workflows/ms.network.frontdoors.yml +++ b/.github/workflows/ms.network.frontdoors.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.ipgroups.yml b/.github/workflows/ms.network.ipgroups.yml index 55cc615dcf..a4eb048291 100644 --- a/.github/workflows/ms.network.ipgroups.yml +++ b/.github/workflows/ms.network.ipgroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.loadbalancers.yml b/.github/workflows/ms.network.loadbalancers.yml index 16c133ee17..f101973dd1 100644 --- a/.github/workflows/ms.network.loadbalancers.yml +++ b/.github/workflows/ms.network.loadbalancers.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.localnetworkgateways.yml b/.github/workflows/ms.network.localnetworkgateways.yml index eea7797188..8333f93e7d 100644 --- a/.github/workflows/ms.network.localnetworkgateways.yml +++ b/.github/workflows/ms.network.localnetworkgateways.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.natgateways.yml b/.github/workflows/ms.network.natgateways.yml index e15276f359..1fe3a8ccc6 100644 --- a/.github/workflows/ms.network.natgateways.yml +++ b/.github/workflows/ms.network.natgateways.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.networkinterfaces.yml b/.github/workflows/ms.network.networkinterfaces.yml index 129fa8aabf..b807d626b0 100644 --- a/.github/workflows/ms.network.networkinterfaces.yml +++ b/.github/workflows/ms.network.networkinterfaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.networksecuritygroups.yml b/.github/workflows/ms.network.networksecuritygroups.yml index 98551bff60..3f45fd66a8 100644 --- a/.github/workflows/ms.network.networksecuritygroups.yml +++ b/.github/workflows/ms.network.networksecuritygroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index 860ed2bc51..7d31176cab 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index 3804e9e532..1b42197e6e 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.privateendpoints.yml b/.github/workflows/ms.network.privateendpoints.yml index 716e4c55ac..0644b6b958 100644 --- a/.github/workflows/ms.network.privateendpoints.yml +++ b/.github/workflows/ms.network.privateendpoints.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.privatelinkservices.yml b/.github/workflows/ms.network.privatelinkservices.yml index e95d4622ac..0a7f91dd7f 100644 --- a/.github/workflows/ms.network.privatelinkservices.yml +++ b/.github/workflows/ms.network.privatelinkservices.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.publicipaddresses.yml b/.github/workflows/ms.network.publicipaddresses.yml index fec5f0696b..985d0e85e6 100644 --- a/.github/workflows/ms.network.publicipaddresses.yml +++ b/.github/workflows/ms.network.publicipaddresses.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.publicipprefixes.yml b/.github/workflows/ms.network.publicipprefixes.yml index 009ca590f2..8215d773be 100644 --- a/.github/workflows/ms.network.publicipprefixes.yml +++ b/.github/workflows/ms.network.publicipprefixes.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.routetables.yml b/.github/workflows/ms.network.routetables.yml index 26eea34d44..fb2992692e 100644 --- a/.github/workflows/ms.network.routetables.yml +++ b/.github/workflows/ms.network.routetables.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.trafficmanagerprofiles.yml b/.github/workflows/ms.network.trafficmanagerprofiles.yml index c539c0f0a9..3991b5cba8 100644 --- a/.github/workflows/ms.network.trafficmanagerprofiles.yml +++ b/.github/workflows/ms.network.trafficmanagerprofiles.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.virtualhubs.yml b/.github/workflows/ms.network.virtualhubs.yml index 52542e3945..c7de64edfa 100644 --- a/.github/workflows/ms.network.virtualhubs.yml +++ b/.github/workflows/ms.network.virtualhubs.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.virtualnetworkgateways.yml b/.github/workflows/ms.network.virtualnetworkgateways.yml index 93ba948ad2..9006b523fe 100644 --- a/.github/workflows/ms.network.virtualnetworkgateways.yml +++ b/.github/workflows/ms.network.virtualnetworkgateways.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index 39091d9676..682c260283 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.virtualwans.yml b/.github/workflows/ms.network.virtualwans.yml index d569a0ca71..f7710b1e56 100644 --- a/.github/workflows/ms.network.virtualwans.yml +++ b/.github/workflows/ms.network.virtualwans.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.vpngateways.yml b/.github/workflows/ms.network.vpngateways.yml index 8159605d09..f5aae2ba44 100644 --- a/.github/workflows/ms.network.vpngateways.yml +++ b/.github/workflows/ms.network.vpngateways.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.network.vpnsites.yml b/.github/workflows/ms.network.vpnsites.yml index 71e09c5466..04e82805dd 100644 --- a/.github/workflows/ms.network.vpnsites.yml +++ b/.github/workflows/ms.network.vpnsites.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index 9234d47464..d20d666c86 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index a0934a1eb1..2373ba6416 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.powerbidedicated.capacities.yml b/.github/workflows/ms.powerbidedicated.capacities.yml index 51abde8731..e497885f00 100644 --- a/.github/workflows/ms.powerbidedicated.capacities.yml +++ b/.github/workflows/ms.powerbidedicated.capacities.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.recoveryservices.vaults.yml b/.github/workflows/ms.recoveryservices.vaults.yml index 6da40a95c8..6ee6cbc14c 100644 --- a/.github/workflows/ms.recoveryservices.vaults.yml +++ b/.github/workflows/ms.recoveryservices.vaults.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.resources.deploymentscripts.yml b/.github/workflows/ms.resources.deploymentscripts.yml index 8c0b463c2a..a9982c1c95 100644 --- a/.github/workflows/ms.resources.deploymentscripts.yml +++ b/.github/workflows/ms.resources.deploymentscripts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 69a09fef7d..9fa04d3122 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.resources.tags.yml b/.github/workflows/ms.resources.tags.yml index 8f23d4d9ed..c1bd3eac4a 100644 --- a/.github/workflows/ms.resources.tags.yml +++ b/.github/workflows/ms.resources.tags.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index 7a931edf5f..b02f978fcf 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.servicebus.namespaces.yml b/.github/workflows/ms.servicebus.namespaces.yml index e24bb8ee11..ef5236d3cb 100644 --- a/.github/workflows/ms.servicebus.namespaces.yml +++ b/.github/workflows/ms.servicebus.namespaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.servicefabric.clusters.yml b/.github/workflows/ms.servicefabric.clusters.yml index b207d7691f..4a4c9f4df1 100644 --- a/.github/workflows/ms.servicefabric.clusters.yml +++ b/.github/workflows/ms.servicefabric.clusters.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.signalrservice.webpubsub.yml b/.github/workflows/ms.signalrservice.webpubsub.yml index c406c1479c..0d9ed9edd9 100644 --- a/.github/workflows/ms.signalrservice.webpubsub.yml +++ b/.github/workflows/ms.signalrservice.webpubsub.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.sql.managedinstances.yml b/.github/workflows/ms.sql.managedinstances.yml index 278e6a3b27..eceed3b5e5 100644 --- a/.github/workflows/ms.sql.managedinstances.yml +++ b/.github/workflows/ms.sql.managedinstances.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.sql.servers.yml b/.github/workflows/ms.sql.servers.yml index aa091df60f..0742942bd4 100644 --- a/.github/workflows/ms.sql.servers.yml +++ b/.github/workflows/ms.sql.servers.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.storage.storageaccounts.yml b/.github/workflows/ms.storage.storageaccounts.yml index c5e73fd181..46c76b7212 100644 --- a/.github/workflows/ms.storage.storageaccounts.yml +++ b/.github/workflows/ms.storage.storageaccounts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.synapse.privatelinkhubs.yml b/.github/workflows/ms.synapse.privatelinkhubs.yml index 482fc3a07d..3901d5af49 100644 --- a/.github/workflows/ms.synapse.privatelinkhubs.yml +++ b/.github/workflows/ms.synapse.privatelinkhubs.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.synapse.workspaces.yml b/.github/workflows/ms.synapse.workspaces.yml index e1c52133a4..2a064174c5 100644 --- a/.github/workflows/ms.synapse.workspaces.yml +++ b/.github/workflows/ms.synapse.workspaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml index 6d82245ad1..c26517c8e8 100644 --- a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml +++ b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.web.connections.yml b/.github/workflows/ms.web.connections.yml index 63e27f246d..d679041941 100644 --- a/.github/workflows/ms.web.connections.yml +++ b/.github/workflows/ms.web.connections.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.web.hostingenvironments.yml b/.github/workflows/ms.web.hostingenvironments.yml index cb663b5156..4790e03ef6 100644 --- a/.github/workflows/ms.web.hostingenvironments.yml +++ b/.github/workflows/ms.web.hostingenvironments.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.web.serverfarms.yml b/.github/workflows/ms.web.serverfarms.yml index d118adaffe..7a70ff4597 100644 --- a/.github/workflows/ms.web.serverfarms.yml +++ b/.github/workflows/ms.web.serverfarms.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.web.sites.yml b/.github/workflows/ms.web.sites.yml index 6536308280..e0bd6e23c3 100644 --- a/.github/workflows/ms.web.sites.yml +++ b/.github/workflows/ms.web.sites.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/ms.web.staticsites.yml b/.github/workflows/ms.web.staticsites.yml index 4873d77699..6bed7ab350 100644 --- a/.github/workflows/ms.web.staticsites.yml +++ b/.github/workflows/ms.web.staticsites.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ steps.get-workflow-param.outputs.removeDeployment }} + removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### diff --git a/.github/workflows/platform.deployment.removal.yml b/.github/workflows/platform.deployment.removal.yml new file mode 100644 index 0000000000..1235002a13 --- /dev/null +++ b/.github/workflows/platform.deployment.removal.yml @@ -0,0 +1,153 @@ +name: '.Platform: Remove Deployments' + +on: + workflow_dispatch: + inputs: + handleSubscriptionScope: + type: boolean + description: 'Include Subscription deployments' + required: false + default: true + handleManagementGroupScope: + type: boolean + description: 'Include Management Group deployments' + required: false + default: true + schedule: + - cron: '0 0 * * *' + +env: + variablesPath: 'settings.yml' + workflowPath: '.github/workflows/platform.cleanup' + +jobs: + ########################### + # Initialize pipeline # + ########################### + job_initialize_pipeline: + runs-on: ubuntu-20.04 + name: 'Initialize pipeline' + steps: + - name: 'Checkout' + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: 'Set input parameters to output variables' + id: get-workflow-param + uses: ./.github/actions/templates/getWorkflowInput + with: + workflowPath: '${{ env.workflowPath}}' + outputs: + handleSubscriptionScope: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).handleSubscriptionScope }} + handleManagementGroupScope: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).handleManagementGroupScope }} + + ############### + # Removal # + ############### + job_cleanup_subscription_deployments: + runs-on: ubuntu-20.04 + name: 'Remove Subscription deployments' + needs: + - job_initialize_pipeline + if: ${{ needs.job_initialize_pipeline.outputs.handleSubscriptionScope == 'true' }} + steps: + - name: 'Checkout' + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: 'Setup agent' + shell: pwsh + run: | + # Load used functions + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') + + # Define PS modules to install on the runner + $Modules = @( + @{ Name = 'Az.Accounts' } + ) + + # Set agent up + Set-EnvironmentOnAgent -PSModules $Modules + + - name: Set environment variables + uses: ./.github/actions/templates/setEnvironmentVariables + with: + variablesPath: ${{ env.variablesPath }} + + - name: Azure Login + uses: azure/login@v1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + enable-AzPSSession: true + + - name: Remove deployments + uses: azure/powershell@v1 + with: + inlineScript: | + # Load used functions + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'deploymentRemoval' 'Clear-SubscriptionDeployment.ps1') + + $functionInput = @{ + SubscriptionId = '${{ secrets.ARM_SUBSCRIPTION_ID }}' + maxDeploymentRetentionInDays = '${{ env.maxDeploymentRetentionInDays }}' + } + + Write-Verbose "Invoke task with" -Verbose + Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + Clear-SubscriptionDeployment @functionInput + azPSVersion: 'latest' + + job_cleanup_managementGroup_deployments: + runs-on: ubuntu-20.04 + name: 'Remove Management Group deployments' + needs: + - job_initialize_pipeline + if: ${{ needs.job_initialize_pipeline.outputs.handleManagementGroupScope == 'true' }} + steps: + - name: 'Checkout' + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: 'Setup agent' + shell: pwsh + run: | + # Load used functions + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'sharedScripts' 'Set-EnvironmentOnAgent.ps1') + + # Define PS modules to install on the runner + $Modules = @( + @{ Name = 'Az.Accounts' } + ) + + # Set agent up + Set-EnvironmentOnAgent -PSModules $Modules + + - name: Set environment variables + uses: ./.github/actions/templates/setEnvironmentVariables + with: + variablesPath: ${{ env.variablesPath }} + + - name: Azure Login + uses: azure/login@v1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + enable-AzPSSession: true + + - name: Remove deployments + uses: azure/powershell@v1 + with: + inlineScript: | + # Load used functions + . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'deploymentRemoval' 'Clear-ManagementGroupDeployment.ps1') + + $functionInput = @{ + ManagementGroupId = '${{ secrets.ARM_MGMTGROUP_ID }}' + maxDeploymentRetentionInDays = '${{ env.maxDeploymentRetentionInDays }}' + } + + Write-Verbose "Invoke task with" -Verbose + Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose + + Clear-ManagementGroupDeployment @functionInput + azPSVersion: 'latest' diff --git a/docs/wiki/The CI environment - Deployment removal.md b/docs/wiki/The CI environment - Deployment removal.md new file mode 100644 index 0000000000..61eb189792 --- /dev/null +++ b/docs/wiki/The CI environment - Deployment removal.md @@ -0,0 +1,37 @@ +This pipeline and its scripts can be used to limit the number of deployments that are listed in Azure at any given time. This is especially useful for a scope like 'Management Group' is Azure does not provide any [automatic cleanup](https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history-deletions?tabs=azure-powershell). + +The corresponding error message would look similar to `Creating the deployment '' would exceed the quota of '800'. The current deployment count is '804'. Please delete some deployments before creating a new one, or see https://aka.ms/800LimitFix for information on managing deployment limits.` + +The platform pipeline `platform.deployment.removal.yml` has an automatic schedule that runs every night, but can also be triggered on-demand. + +By default, the pipeline will cleanup both the Subscription, as well as Management Group scope using the used script's default configuration. In addition, you can specify a pipeline variable `maxDeploymentRetentionInDays` to define beyond which time frame deployments should always be deleted. Within the timeframe, only non-failed and non-running deployments are considered. + +--- + +### _Navigation_ + +- [Location](#location) +- [How it works](#how-it-works) +- [How to use it](#how-to-use-it) + +--- +# Location + +You can find the used scripts under +- [`/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment`](https://github.com/Azure/ResourceModules/blob/main/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1) and +- [`/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment`](https://github.com/Azure/ResourceModules/blob/main/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1) + + +# How it works + +Both scripts work in the same way: + +1. The script fetches all current deployments from Azure. +1. By default it then filters them down to non-running & non-failing deployments (can be modified) unless they are older than a provided time limit in which case they'd always be included. +1. Lastly, it removes all matching deployments in chunks of 100 deployments each. + +# How to use it + +For details on how to use the functions, please refer to the scripts local documentation. + +> **Note:** Each script must be loaded ('*dot-sourced*') before the function can be invoked. diff --git a/docs/wiki/The CI environment - Deployment validation.md b/docs/wiki/The CI environment - Deployment validation.md index fa741f7f82..fcf201b0a7 100644 --- a/docs/wiki/The CI environment - Deployment validation.md +++ b/docs/wiki/The CI environment - Deployment validation.md @@ -39,7 +39,7 @@ The module test files used in this stage should ideally cover as many configurat > **Note:** Since every customer environment might be different due to applied Azure Policies or security policies, modules might behave differently and naming conventions need to be verified beforehand. -> **Note:** Management-Group deployments may eventually exceed the limit of [800](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#management-group-limits) and require you to remove some of them manually. If you are faced with any corresponding error message you can manually remove deployments on a Management-Group-Level on scale using one of our [utilities](./The%20CI%20environment%20-%20Management%20Group%20Deployment%20removal%20utility). +> **Note:** [Management-Group](https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#management-group-limits) or [Subscription](https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#subscription-limits) deployments may eventually exceed the limit of 800 and require you to remove some of them manually. If you are faced with any corresponding error message you can manually remove deployments on a Management-Group or Subscription Level on scale using one of our [utilities](./The%20CI%20environment%20-%20Deployment%20removal). The CI environment also comes with a [pipeline](./The%20CI%20environment%20-%20Deployment%20removal) that runs on a nightly basis to mitigate this limitation. ### Output example diff --git a/docs/wiki/The CI environment - Management Group Deployment removal utility.md b/docs/wiki/The CI environment - Management Group Deployment removal utility.md deleted file mode 100644 index 531d282251..0000000000 --- a/docs/wiki/The CI environment - Management Group Deployment removal utility.md +++ /dev/null @@ -1,26 +0,0 @@ -Use this script to remove Management-Group-Level Azure deployments on scale. This may be necessary in cases where you run many (test) deployments in this scope as Azure currently only auto-removes deployments from an [Resource-Group & Subscription](https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history-deletions?tabs=azure-powershell) scope. The resulting error message may look similar to `Creating the deployment '' would exceed the quota of '800'. The current deployment count is '804'. Please delete some deployments before creating a new one, or see https://aka.ms/800LimitFix for information on managing deployment limits.` - ---- - -### _Navigation_ - -- [Location](#location) -- [How it works](#how-it-works) -- [How to use it](#how-to-use-it) - ---- -# Location - -You can find the script under [`/utilities/tools/Clear-ManagementGroupDeployment`](https://github.com/Azure/ResourceModules/blob/main/utilities/tools/Clear-ManagementGroupDeployment.ps1) - -# How it works - -1. The script fetches all current deployments from Azure. -1. By default it then filters them down to non-running & non-failing deployments (can be modified). -1. Lastly, it removes all matching deployments in chunks of 100 deployments each. - -# How to use it - -For details on how to use the function, please refer to the script's local documentation. - -> **Note:** The script must be loaded ('*dot-sourced*') before the function can be invoked. diff --git a/settings.yml b/settings.yml index ab84c78065..a351dc4808 100644 --- a/settings.yml +++ b/settings.yml @@ -29,6 +29,15 @@ variables: moduleTestFilePath: 'utilities/pipelines/staticValidation/module.tests.ps1' + ###################################### + # Platform pipeline settings + ###################################### + + # Deployment removal + # ================== + # Deployments are only moved if they are not running or failed - AND - if they are not older than the below threshold + maxDeploymentRetentionInDays: 14 + ###################################### # Validation deployment settings ###################################### diff --git a/utilities/tools/Clear-ManagementGroupDeployment.ps1 b/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 similarity index 68% rename from utilities/tools/Clear-ManagementGroupDeployment.ps1 rename to utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 index bcafa5ca6f..ef9c2f3c56 100644 --- a/utilities/tools/Clear-ManagementGroupDeployment.ps1 +++ b/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 @@ -7,11 +7,14 @@ Bulk delete all deployments on the given management group scope Bulk delete all deployments on the given management group scope .PARAMETER ManagementGroupId -Mandatory. The Resource ID of the Management Group to remove the deployments for. +Mandatory. The Resource ID of the Management Group to remove the deployments from. .PARAMETER DeploymentStatusToExclude Optional. The status to exlude from removals. Can be multiple. By default, we exclude any deployment that is in state 'running' or 'failed'. +.PARAMETER maxDeploymentRetentionInDays +Optional. The time to keep deployments for beyong the deployment statuses to exclude. In other words, if a deployment is older than the threshold, they will always be deleted. + .EXAMPLE Clear-ManagementGroupDeployment -ManagementGroupId 'MyManagementGroupId' @@ -31,13 +34,17 @@ function Clear-ManagementGroupDeployment { [string] $ManagementGroupId, [Parameter(Mandatory = $false)] - [string[]] $DeploymentStatusToExclude = @('running', 'failed') + [string[]] $DeploymentStatusToExclude = @('running', 'failed'), + + [Parameter(Mandatory = $false)] + [int] $maxDeploymentRetentionInDays = 7 ) [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 # Enables web reponse + $deploymentThreshold = (Get-Date).AddDays(-1 * $maxDeploymentRetentionInDays) # Load used functions - . (Join-Path $PSScriptRoot 'helper' 'Split-Array.ps1') + . (Join-Path (Split-Path $PSScriptRoot -Parent) 'sharedScripts' 'Split-Array.ps1') $getInputObject = @{ Method = 'GET' @@ -52,7 +59,14 @@ function Clear-ManagementGroupDeployment { throw ('Fetching deployments failed with error [{0}]' -f ($reponse | Out-String)) } - $relevantDeployments = $response.value | Where-Object { $_.properties.provisioningState -notin $DeploymentStatusToExclude } + Write-Verbose ('Found [{0}] deployments in management group [{1}]' -f $response.value.Count, $ManagementGroupId) -Verbose + + $relevantDeployments = $response.value | Where-Object { + $_.properties.provisioningState -notin $DeploymentStatusToExclude -or + ([DateTime]$_.properties.timestamp) -lt $deploymentThreshold + } + + Write-Verbose ('Filtering [{0}] deployments out as they are in state [{1}] or newer than [{2}] days ({3})' -f ($response.value.Count - $relevantDeployments.Count), ($DeploymentStatusToExclude -join '/'), $maxDeploymentRetentionInDays, $deploymentThreshold.ToString('yyyy-MM-dd')) -Verbose if (-not $relevantDeployments) { Write-Verbose 'No deployments found' -Verbose @@ -66,15 +80,13 @@ function Clear-ManagementGroupDeployment { $relevantDeploymentChunks = $rawDeploymentChunks } - Write-Verbose ('Triggering the removal of [{0}] deployments of management group [{1}]' -f $relevantDeployments.Count, $ManagementGroupId) + Write-Verbose ('Triggering the removal of [{0}] deployments from management group [{1}]' -f $relevantDeployments.Count, $ManagementGroupId) -Verbose - $failedRemovals = 0 - $successfulRemovals = 0 foreach ($deployments in $relevantDeploymentChunks) { $requests = $deployments | ForEach-Object { @{ httpMethod = 'DELETE' - name = (New-Guid).Guid + name = (New-Guid).Guid # Each batch request needs a unique ID requestHeaderDetails = @{ commandName = 'HubsExtension.Microsoft.Resources/deployments.BulkDelete.execute' } @@ -82,6 +94,10 @@ function Clear-ManagementGroupDeployment { } } + if ($requests -is [hashtable]) { + $requests = , $requests + } + $removeInputObject = @{ Method = 'POST' Uri = 'https://management.azure.com/batch?api-version=2020-06-01' @@ -94,15 +110,8 @@ function Clear-ManagementGroupDeployment { } | ConvertTo-Json -Depth 4 } if ($PSCmdlet.ShouldProcess(('Removal of [{0}] deployments' -f $requests.Count), 'Request')) { - $response = Invoke-RestMethod @removeInputObject - - $failedRemovals += ($response.responses | Where-Object { $_.httpStatusCode -notlike '20*' } ).Count - $successfulRemovals += ($response.responses | Where-Object { $_.httpStatusCode -like '20*' } ).Count + $null = Invoke-RestMethod @removeInputObject } } - - Write-Verbose 'Outcome' -Verbose - Write-Verbose '=======' -Verbose - Write-Verbose "Successful removals:`t`t$successfulRemovals" -Verbose - Write-Verbose "Un-successful removals:`t$failedRemovals" -Verbose + Write-Verbose 'Script execution finished. Note that the removal can take a few minutes to propagate.' -Verbose } diff --git a/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 b/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 new file mode 100644 index 0000000000..fb64fc6380 --- /dev/null +++ b/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 @@ -0,0 +1,121 @@ + +<# +.SYNOPSIS +Bulk delete all deployments on the given subscription scope + +.DESCRIPTION +Bulk delete all deployments on the given subscription scope + +.PARAMETER subscriptionId +Optional. The ID of the subscription to remove the deployments from. Defaults to the current context. + +.PARAMETER DeploymentStatusToExclude +Optional. The status to exlude from removals. Can be multiple. By default, we exclude any deployment that is in state 'running' or 'failed'. + +.PARAMETER maxDeploymentRetentionInDays +Optional. The time to keep deployments for beyong the deployment statuses to exclude. In other words, if a deployment is older than the threshold, they will always be deleted. + +.EXAMPLE +Clear-SubscriptionDeployment -subscriptionId '11111111-1111-1111-1111-111111111111' + +Bulk remove all 'non-running' & 'non-failed' deployments from the subscription with ID '11111111-1111-1111-1111-111111111111' + +.EXAMPLE +Clear-SubscriptionDeployment -subscriptionId '11111111-1111-1111-1111-111111111111' -DeploymentStatusToExclude @('running') + +Bulk remove all 'non-running' deployments from the subscription with ID '11111111-1111-1111-1111-111111111111' +#> +function Clear-SubscriptionDeployment { + + + [CmdletBinding(SupportsShouldProcess)] + param ( + [Parameter(Mandatory = $false)] + [string] $subscriptionId = (Get-AzContext).Subscription.Id, + + [Parameter(Mandatory = $false)] + [string[]] $DeploymentStatusToExclude = @('running', 'failed'), + + [Parameter(Mandatory = $false)] + [int] $maxDeploymentRetentionInDays = 7 + ) + + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 # Enables web reponse + $deploymentThreshold = (Get-Date).AddDays(-1 * $maxDeploymentRetentionInDays) + + # Load used functions + . (Join-Path (Split-Path $PSScriptRoot -Parent) 'sharedScripts' 'Split-Array.ps1') + + # Setting context explicitely in case the principal has permissions on multiple + Write-Verbose ('Setting context to subscription [{0}]' -f $subscriptionId) + $null = Set-AzContext -Subscription $subscriptionId + + $getInputObject = @{ + Method = 'GET' + Uri = "https://management.azure.com/subscriptions/$subscriptionId/providers/Microsoft.Resources/deployments?api-version=2020-06-01" + Headers = @{ + Authorization = 'Bearer {0}' -f (Get-AzAccessToken).Token + } + } + $response = Invoke-RestMethod @getInputObject + + if (($response | Get-Member -MemberType 'NoteProperty').Name -notcontains 'value') { + throw ('Fetching deployments failed with error [{0}]' -f ($reponse | Out-String)) + } + + Write-Verbose ('Found [{0}] deployments in subscription [{1}]' -f $response.value.Count, $subscriptionId) -Verbose + + $relevantDeployments = $response.value | Where-Object { + $_.properties.provisioningState -notin $DeploymentStatusToExclude -or + ([DateTime]$_.properties.timestamp) -lt $deploymentThreshold + } + + Write-Verbose ('Filtering [{0}] deployments out as they are in state [{1}] or newer than [{2}] days ({3})' -f ($response.value.Count - $relevantDeployments.Count), ($DeploymentStatusToExclude -join '/'), $maxDeploymentRetentionInDays, $deploymentThreshold.ToString('yyyy-MM-dd')) -Verbose + + if (-not $relevantDeployments) { + Write-Verbose ('No deployments for subscription [{0}] found' -f $subscriptionId) -Verbose + return + } + + $rawDeploymentChunks = Split-Array -InputArray $relevantDeployments -SplitSize 100 + if ($relevantDeployments.Count -le 100) { + $relevantDeploymentChunks = , $rawDeploymentChunks + } else { + $relevantDeploymentChunks = $rawDeploymentChunks + } + + Write-Verbose ('Triggering the removal of [{0}] deployments from subscription [{1}]' -f $relevantDeployments.Count, $subscriptionId) -Verbose + + foreach ($deployments in $relevantDeploymentChunks) { + + $requests = $deployments | ForEach-Object { + @{ httpMethod = 'DELETE' + name = (New-Guid).Guid # Each batch request needs a unique ID + requestHeaderDetails = @{ + commandName = 'HubsExtension.Microsoft.Resources/deployments.BulkDelete.execute' + } + url = '/subscriptions/{0}/providers/Microsoft.Resources/deployments/{1}?api-version=2019-08-01' -f $subscriptionId, $_.name + } + } + + if ($requests -is [hashtable]) { + $requests = , $requests + } + + $removeInputObject = @{ + Method = 'POST' + Uri = 'https://management.azure.com/batch?api-version=2020-06-01' + Headers = @{ + Authorization = 'Bearer {0}' -f (Get-AzAccessToken).Token + 'Content-Type' = 'application/json' + } + Body = @{ + requests = $requests + } | ConvertTo-Json -Depth 4 -EnumsAsStrings + } + if ($PSCmdlet.ShouldProcess(('Removal of [{0}] deployments' -f $requests.Count), 'Request')) { + $null = Invoke-RestMethod @removeInputObject + } + } + Write-Verbose 'Script execution finished. Note that the removal can take a few minutes to propagate.' -Verbose +} diff --git a/utilities/pipelines/sharedScripts/Get-GitHubWorkflowDefaultInput.ps1 b/utilities/pipelines/sharedScripts/Get-GitHubWorkflowDefaultInput.ps1 index 2c8ba351a9..77c852f226 100644 --- a/utilities/pipelines/sharedScripts/Get-GitHubWorkflowDefaultInput.ps1 +++ b/utilities/pipelines/sharedScripts/Get-GitHubWorkflowDefaultInput.ps1 @@ -23,105 +23,18 @@ function Get-GitHubWorkflowDefaultInput { begin { Write-Debug ('{0} entered' -f $MyInvocation.MyCommand) - #region Helper Functions - - <# - .SYNOPSIS - Retrieve indentation of a line. - - .PARAMETER Line - Mandatory. The line to analyse for indentation. - - .EXAMPLE - $Line = ' Test' - Get-LineIndentation -Line $Line - 4 - - Retrieve indentation of a line. - #> - function Get-LineIndentation { - [CmdletBinding()] - param ( - [Parameter(Mandatory = $false)] - [string] $Line - ) - begin {} - process { - $indentation = 0 - for ($i = 0; $i -lt $Line.Length; $i++) { - $Char = $Line[$i] - switch -regex ($Char) { - '`t' { - $indentation += 2 - } - ' ' { - $indentation += 1 - } - default { - return $indentation - } - } - } - return $indentation - } - end {} - } - - <# - .SYNOPSIS - Retrieve default value for a specified input in a workflow. - - .PARAMETER InputName - Mandatory. The name of the input to get the default value for. - - .PARAMETER Content - Mandatory. The content of the GitHub workflow file. - - .EXAMPLE - $content = Get-Content -Path .\workflow.yml - Get-DefaultValue -Text 'removeDeployment' -Content $Content - - Retrieve input default values for the 'removeDeployment' in the workflow.yml file. - #> - function Get-DefaultValue { - [CmdletBinding()] - param ( - [Parameter(Mandatory)] - [string] $InputName, - - [Parameter(Mandatory)] - [string[]] $Content - ) - $Content = $Content.Split([Environment]::NewLine) - $SectionStartLine = ((0..($Content.Count - 1)) | Where-Object { $Content[$_] -match "$InputName" })[0] - $SectionStartIndentation = Get-LineIndentation -Line $Content[$SectionStartLine] - $CurrentLineIndentation = $SectionStartIndentation - for ($i = $SectionStartLine + 1; $i -lt $Content.Count; $i++) { - $CurrentLineIndentation = Get-LineIndentation -Line $Content[$i] - if ($CurrentLineIndentation -le $SectionStartIndentation) { - # Outside of start section, jumping out - break - } - if ($CurrentLineIndentation -gt $SectionStartIndentation + 2) { - # In child section, ignoring - continue - } - if ($Content[$i] -match 'default:') { - $defaultValue = $Content[$i].trim().Split('#')[0].Split(':')[-1].Replace("'", '').Trim() - break - } - } - Write-Verbose "Default input value for $InputName`: $defaultValue" - return $defaultValue + if (-not (Get-Module 'powershell-yaml' -ListAvailable)) { + $null = Install-Module 'powershell-yaml' -Scope 'CurrentUser' -Force } - #endregion } process { $workflowContent = Get-Content -Path $workflowPath -Raw + $inputs = (ConvertFrom-Yaml -Yaml $workflowContent).on.workflow_dispatch.inputs - $workflowParameters = @{ - removeDeployment = Get-DefaultValue -InputName 'removeDeployment' -Content $workflowContent + $workflowParameters = @{} + foreach ($inputName in $inputs.Keys) { + $workflowParameters[$inputName] = $inputs[$inputName].default } Write-Verbose 'Get workflow default input complete' diff --git a/utilities/tools/helper/Split-Array.ps1 b/utilities/pipelines/sharedScripts/Split-Array.ps1 similarity index 100% rename from utilities/tools/helper/Split-Array.ps1 rename to utilities/pipelines/sharedScripts/Split-Array.ps1 diff --git a/utilities/tools/helper/Get-LineIndentation.ps1 b/utilities/tools/helper/Get-LineIndentation.ps1 new file mode 100644 index 0000000000..9168cc2042 --- /dev/null +++ b/utilities/tools/helper/Get-LineIndentation.ps1 @@ -0,0 +1,50 @@ +<# +.SYNOPSIS +Retrieve indentation of a line. + +.DESCRIPTION +Retrieve indentation of a line. + +.PARAMETER Line +Mandatory. The line to analyse for indentation. + +.EXAMPLE +Get-LineIndentation -Line ' Test' + +Retrieve indentation of line ' Test'. Would return 4. +#> +function Get-LineIndentation { + + [CmdletBinding()] + param ( + [Parameter(Mandatory = $false)] + [string] $Line + ) + + begin { + Write-Debug ('{0} entered' -f $MyInvocation.MyCommand) + } + + process { + $indentation = 0 + for ($i = 0; $i -lt $Line.Length; $i++) { + $Char = $Line[$i] + switch -regex ($Char) { + '`t' { + $indentation += 2 + } + ' ' { + $indentation += 1 + } + default { + return $indentation + } + } + } + return $indentation + } + + end { + Write-Debug ('{0} exited' -f $MyInvocation.MyCommand) + } +} From c05148aa51daa6598cee24a91fe7e0d69d70b23e Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 18 Nov 2022 13:00:21 +0100 Subject: [PATCH 21/50] Moved setting to runtime parameter --- .../platform.deployment.removal.yml | 12 ++++++++---- .github/workflows/platform.deployment.removal.yml | 13 +++++++++---- settings.yml | 9 --------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.azuredevops/platformPipelines/platform.deployment.removal.yml b/.azuredevops/platformPipelines/platform.deployment.removal.yml index d16b23dd23..0e48bb649f 100644 --- a/.azuredevops/platformPipelines/platform.deployment.removal.yml +++ b/.azuredevops/platformPipelines/platform.deployment.removal.yml @@ -9,6 +9,10 @@ parameters: displayName: Include Management Group deployments type: boolean default: true + - name: maxDeploymentRetentionInDays + displayName: The number of days to keep deployments with status [running] or [failed] + type: integer + default: 14 schedules: - cron: "0 0 * * *" @@ -63,8 +67,8 @@ jobs: . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'deploymentRemoval' 'Clear-SubscriptionDeployment.ps1') $functionInput = @{ - SubscriptionId = '$(ARM_SUBSCRIPTION_ID)' - maxDeploymentRetentionInDays = '$(maxDeploymentRetentionInDays)' + SubscriptionId = '$(ARM_SUBSCRIPTION_ID)' + maxDeploymentRetentionInDays = ${{ parameters.maxDeploymentRetentionInDays }} } Write-Verbose 'Invoke task with' -Verbose @@ -111,8 +115,8 @@ jobs: . (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'deploymentRemoval' 'Clear-ManagementGroupDeployment.ps1') $functionInput = @{ - ManagementGroupId = '$(ARM_MGMTGROUP_ID)' - maxDeploymentRetentionInDays = '$(maxDeploymentRetentionInDays)' + ManagementGroupId = '$(ARM_MGMTGROUP_ID)' + maxDeploymentRetentionInDays = ${{ parameters.maxDeploymentRetentionInDays }} } Write-Verbose 'Invoke task with' -Verbose diff --git a/.github/workflows/platform.deployment.removal.yml b/.github/workflows/platform.deployment.removal.yml index 1235002a13..9d9503a55a 100644 --- a/.github/workflows/platform.deployment.removal.yml +++ b/.github/workflows/platform.deployment.removal.yml @@ -13,6 +13,11 @@ on: description: 'Include Management Group deployments' required: false default: true + maxDeploymentRetentionInDays: + type: string + description: 'The number of days to keep deployments with status [running] or [failed]' + required: false + default: '14' schedule: - cron: '0 0 * * *' @@ -88,8 +93,8 @@ jobs: . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'deploymentRemoval' 'Clear-SubscriptionDeployment.ps1') $functionInput = @{ - SubscriptionId = '${{ secrets.ARM_SUBSCRIPTION_ID }}' - maxDeploymentRetentionInDays = '${{ env.maxDeploymentRetentionInDays }}' + SubscriptionId = '${{ secrets.ARM_SUBSCRIPTION_ID }}' + maxDeploymentRetentionInDays = '${{ needs.job_initialize_pipeline.outputs.maxDeploymentRetentionInDays }}' } Write-Verbose "Invoke task with" -Verbose @@ -142,8 +147,8 @@ jobs: . (Join-Path $env:GITHUB_WORKSPACE 'utilities' 'pipelines' 'deploymentRemoval' 'Clear-ManagementGroupDeployment.ps1') $functionInput = @{ - ManagementGroupId = '${{ secrets.ARM_MGMTGROUP_ID }}' - maxDeploymentRetentionInDays = '${{ env.maxDeploymentRetentionInDays }}' + ManagementGroupId = '${{ secrets.ARM_MGMTGROUP_ID }}' + maxDeploymentRetentionInDays = '${{ needs.job_initialize_pipeline.outputs.maxDeploymentRetentionInDays }}' } Write-Verbose "Invoke task with" -Verbose diff --git a/settings.yml b/settings.yml index a351dc4808..ab84c78065 100644 --- a/settings.yml +++ b/settings.yml @@ -29,15 +29,6 @@ variables: moduleTestFilePath: 'utilities/pipelines/staticValidation/module.tests.ps1' - ###################################### - # Platform pipeline settings - ###################################### - - # Deployment removal - # ================== - # Deployments are only moved if they are not running or failed - AND - if they are not older than the below threshold - maxDeploymentRetentionInDays: 14 - ###################################### # Validation deployment settings ###################################### From de7cb68216089d2988f30a9aa67041c81956683f Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 18 Nov 2022 13:01:26 +0100 Subject: [PATCH 22/50] Update to latest --- .azuredevops/platformPipelines/platform.deployment.removal.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azuredevops/platformPipelines/platform.deployment.removal.yml b/.azuredevops/platformPipelines/platform.deployment.removal.yml index 0e48bb649f..2da21847f8 100644 --- a/.azuredevops/platformPipelines/platform.deployment.removal.yml +++ b/.azuredevops/platformPipelines/platform.deployment.removal.yml @@ -11,7 +11,7 @@ parameters: default: true - name: maxDeploymentRetentionInDays displayName: The number of days to keep deployments with status [running] or [failed] - type: integer + type: int default: 14 schedules: From c2f8857cdaa0e14db1ac6f75308928d0d8332224 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 18 Nov 2022 13:02:12 +0100 Subject: [PATCH 23/50] Update to latest --- .azuredevops/platformPipelines/platform.deployment.removal.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azuredevops/platformPipelines/platform.deployment.removal.yml b/.azuredevops/platformPipelines/platform.deployment.removal.yml index 2da21847f8..59238d58c0 100644 --- a/.azuredevops/platformPipelines/platform.deployment.removal.yml +++ b/.azuredevops/platformPipelines/platform.deployment.removal.yml @@ -11,7 +11,7 @@ parameters: default: true - name: maxDeploymentRetentionInDays displayName: The number of days to keep deployments with status [running] or [failed] - type: int + type: number default: 14 schedules: From 319b339dbcd2c961791d6659c2f27496ce8c69f4 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 18 Nov 2022 13:28:57 +0100 Subject: [PATCH 24/50] Adjusted output handling --- .github/workflows/platform.deployment.removal.yml | 11 +++++------ .../Clear-ManagementGroupDeployment.ps1 | 3 ++- .../Clear-SubscriptionDeployment.ps1 | 3 ++- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/platform.deployment.removal.yml b/.github/workflows/platform.deployment.removal.yml index 9d9503a55a..78414658aa 100644 --- a/.github/workflows/platform.deployment.removal.yml +++ b/.github/workflows/platform.deployment.removal.yml @@ -43,8 +43,7 @@ jobs: with: workflowPath: '${{ env.workflowPath}}' outputs: - handleSubscriptionScope: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).handleSubscriptionScope }} - handleManagementGroupScope: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).handleManagementGroupScope }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} ############### # Removal # @@ -54,7 +53,7 @@ jobs: name: 'Remove Subscription deployments' needs: - job_initialize_pipeline - if: ${{ needs.job_initialize_pipeline.outputs.handleSubscriptionScope == 'true' }} + if: ${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput).handleSubscriptionScope == 'true' }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -94,7 +93,7 @@ jobs: $functionInput = @{ SubscriptionId = '${{ secrets.ARM_SUBSCRIPTION_ID }}' - maxDeploymentRetentionInDays = '${{ needs.job_initialize_pipeline.outputs.maxDeploymentRetentionInDays }}' + maxDeploymentRetentionInDays = '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput).maxDeploymentRetentionInDays }}' } Write-Verbose "Invoke task with" -Verbose @@ -108,7 +107,7 @@ jobs: name: 'Remove Management Group deployments' needs: - job_initialize_pipeline - if: ${{ needs.job_initialize_pipeline.outputs.handleManagementGroupScope == 'true' }} + if: ${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput).handleManagementGroupScope == 'true' }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -148,7 +147,7 @@ jobs: $functionInput = @{ ManagementGroupId = '${{ secrets.ARM_MGMTGROUP_ID }}' - maxDeploymentRetentionInDays = '${{ needs.job_initialize_pipeline.outputs.maxDeploymentRetentionInDays }}' + maxDeploymentRetentionInDays = '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput).maxDeploymentRetentionInDays }}' } Write-Verbose "Invoke task with" -Verbose diff --git a/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 b/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 index ef9c2f3c56..1b39dea19a 100644 --- a/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 +++ b/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 @@ -63,7 +63,8 @@ function Clear-ManagementGroupDeployment { $relevantDeployments = $response.value | Where-Object { $_.properties.provisioningState -notin $DeploymentStatusToExclude -or - ([DateTime]$_.properties.timestamp) -lt $deploymentThreshold + ([DateTime]$_.properties.timestamp) -lt $deploymentThreshold -and + $_.properties.provisioningState -ne 'running' # we should never delete 'running' deployments } Write-Verbose ('Filtering [{0}] deployments out as they are in state [{1}] or newer than [{2}] days ({3})' -f ($response.value.Count - $relevantDeployments.Count), ($DeploymentStatusToExclude -join '/'), $maxDeploymentRetentionInDays, $deploymentThreshold.ToString('yyyy-MM-dd')) -Verbose diff --git a/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 b/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 index fb64fc6380..e16a35566a 100644 --- a/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 +++ b/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 @@ -67,7 +67,8 @@ function Clear-SubscriptionDeployment { $relevantDeployments = $response.value | Where-Object { $_.properties.provisioningState -notin $DeploymentStatusToExclude -or - ([DateTime]$_.properties.timestamp) -lt $deploymentThreshold + ([DateTime]$_.properties.timestamp) -lt $deploymentThreshold -and + $_.properties.provisioningState -ne 'running' # we should never delete 'running' deployments } Write-Verbose ('Filtering [{0}] deployments out as they are in state [{1}] or newer than [{2}] days ({3})' -f ($response.value.Count - $relevantDeployments.Count), ($DeploymentStatusToExclude -join '/'), $maxDeploymentRetentionInDays, $deploymentThreshold.ToString('yyyy-MM-dd')) -Verbose From e7d74b4a9c6f907e0d37e5ed9ec94773ef008164 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 18 Nov 2022 13:30:47 +0100 Subject: [PATCH 25/50] Update to latest --- .github/workflows/platform.deployment.removal.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/platform.deployment.removal.yml b/.github/workflows/platform.deployment.removal.yml index 78414658aa..50ba330b81 100644 --- a/.github/workflows/platform.deployment.removal.yml +++ b/.github/workflows/platform.deployment.removal.yml @@ -53,7 +53,7 @@ jobs: name: 'Remove Subscription deployments' needs: - job_initialize_pipeline - if: ${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput).handleSubscriptionScope == 'true' }} + if: ${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).handleSubscriptionScope == 'true' }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -107,7 +107,7 @@ jobs: name: 'Remove Management Group deployments' needs: - job_initialize_pipeline - if: ${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput).handleManagementGroupScope == 'true' }} + if: ${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).handleManagementGroupScope == 'true' }} steps: - name: 'Checkout' uses: actions/checkout@v3 From 2dd480eed08ef472ae4aa4bd86cd64b57dd871f2 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 18 Nov 2022 13:35:50 +0100 Subject: [PATCH 26/50] Update to latest --- .github/workflows/platform.deployment.removal.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/platform.deployment.removal.yml b/.github/workflows/platform.deployment.removal.yml index 50ba330b81..63b1685ee3 100644 --- a/.github/workflows/platform.deployment.removal.yml +++ b/.github/workflows/platform.deployment.removal.yml @@ -93,7 +93,7 @@ jobs: $functionInput = @{ SubscriptionId = '${{ secrets.ARM_SUBSCRIPTION_ID }}' - maxDeploymentRetentionInDays = '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput).maxDeploymentRetentionInDays }}' + maxDeploymentRetentionInDays = '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).maxDeploymentRetentionInDays }}' } Write-Verbose "Invoke task with" -Verbose @@ -147,7 +147,7 @@ jobs: $functionInput = @{ ManagementGroupId = '${{ secrets.ARM_MGMTGROUP_ID }}' - maxDeploymentRetentionInDays = '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput).maxDeploymentRetentionInDays }}' + maxDeploymentRetentionInDays = '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).maxDeploymentRetentionInDays }}' } Write-Verbose "Invoke task with" -Verbose From 319393fe4999f66f9b8a33abe000b4f2ca257d34 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 18 Nov 2022 13:57:29 +0100 Subject: [PATCH 27/50] Updated Analysis services to different pipeline syntax --- .github/workflows/ms.analysisservices.servers.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 7f0d3df565..92be7803e3 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -57,8 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} - moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} ######################### # Static validation # @@ -93,7 +92,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).moduleTestFilePaths }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +110,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # From da5ca8a36f12743442ba6e43edbc688baa622090 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 18 Nov 2022 14:03:42 +0100 Subject: [PATCH 28/50] Additional FromJSON --- .github/workflows/ms.analysisservices.servers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 92be7803e3..2787cb9019 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -92,7 +92,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).moduleTestFilePaths }} + moduleTestFilePaths: ${{ fromJSON(fromJson(needs.job_initialize_pipeline.outputs.workflowInput).moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 From 55e8c19075878b81a8543195bb634b34fefab5fe Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 18 Nov 2022 14:12:53 +0100 Subject: [PATCH 29/50] rollback on test file paths --- .github/workflows/ms.analysisservices.servers.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ms.analysisservices.servers.yml b/.github/workflows/ms.analysisservices.servers.yml index 2787cb9019..12113affb3 100644 --- a/.github/workflows/ms.analysisservices.servers.yml +++ b/.github/workflows/ms.analysisservices.servers.yml @@ -58,6 +58,7 @@ jobs: modulePath: '${{ env.modulePath }}' outputs: workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### # Static validation # @@ -92,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(fromJson(needs.job_initialize_pipeline.outputs.workflowInput).moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 From f5ef037d01e75a0749162f8606c81f4c4f21a109 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 18 Nov 2022 14:52:36 +0100 Subject: [PATCH 30/50] Updated pipelines --- .github/workflows/ms.aad.domainservices.yml | 6 +++--- .github/workflows/ms.apimanagement.service.yml | 6 +++--- .../workflows/ms.appconfiguration.configurationstores.yml | 6 +++--- .github/workflows/ms.authorization.locks.yml | 6 +++--- .github/workflows/ms.authorization.policyassignments.yml | 6 +++--- .github/workflows/ms.authorization.policydefinitions.yml | 6 +++--- .github/workflows/ms.authorization.policyexemptions.yml | 6 +++--- .github/workflows/ms.authorization.policysetdefinitions.yml | 6 +++--- .github/workflows/ms.authorization.roleassignments.yml | 6 +++--- .github/workflows/ms.authorization.roledefinitions.yml | 6 +++--- .github/workflows/ms.automation.automationaccounts.yml | 6 +++--- .github/workflows/ms.batch.batchaccounts.yml | 6 +++--- .github/workflows/ms.cache.redis.yml | 6 +++--- .github/workflows/ms.cognitiveservices.accounts.yml | 6 +++--- .github/workflows/ms.compute.availabilitysets.yml | 6 +++--- .github/workflows/ms.compute.diskencryptionsets.yml | 6 +++--- .github/workflows/ms.compute.disks.yml | 6 +++--- .github/workflows/ms.compute.galleries.yml | 6 +++--- .github/workflows/ms.compute.images.yml | 6 +++--- .github/workflows/ms.compute.proximityplacementgroups.yml | 6 +++--- .github/workflows/ms.compute.virtualmachines.yml | 6 +++--- .github/workflows/ms.compute.virtualmachinescalesets.yml | 6 +++--- .github/workflows/ms.consumption.budgets.yml | 6 +++--- .github/workflows/ms.containerinstance.containergroups.yml | 6 +++--- .github/workflows/ms.containerregistry.registries.yml | 6 +++--- .github/workflows/ms.containerservice.managedclusters.yml | 6 +++--- .github/workflows/ms.databricks.workspaces.yml | 6 +++--- .github/workflows/ms.datafactory.factories.yml | 6 +++--- .github/workflows/ms.dataprotection.backupvaults.yml | 6 +++--- .github/workflows/ms.dbforpostgresql.flexibleservers.yml | 6 +++--- .../ms.desktopvirtualization.applicationgroups.yml | 6 +++--- .github/workflows/ms.desktopvirtualization.hostpools.yml | 6 +++--- .github/workflows/ms.desktopvirtualization.scalingplans.yml | 6 +++--- .github/workflows/ms.desktopvirtualization.workspaces.yml | 6 +++--- .github/workflows/ms.documentdb.databaseaccounts.yml | 6 +++--- .github/workflows/ms.eventgrid.systemtopics.yml | 6 +++--- .github/workflows/ms.eventgrid.topics.yml | 6 +++--- .github/workflows/ms.eventhub.namespaces.yml | 6 +++--- .github/workflows/ms.healthbot.healthbots.yml | 6 +++--- .github/workflows/ms.insights.actiongroups.yml | 6 +++--- .github/workflows/ms.insights.activitylogalerts.yml | 6 +++--- .github/workflows/ms.insights.components.yml | 6 +++--- .github/workflows/ms.insights.diagnosticsettings.yml | 6 +++--- .github/workflows/ms.insights.metricalerts.yml | 6 +++--- .github/workflows/ms.insights.privatelinkscopes.yml | 6 +++--- .github/workflows/ms.insights.scheduledqueryrules.yml | 6 +++--- .github/workflows/ms.keyvault.vaults.yml | 6 +++--- .github/workflows/ms.kubernetesconfiguration.extensions.yml | 6 +++--- .../ms.kubernetesconfiguration.fluxconfigurations.yml | 6 +++--- .github/workflows/ms.logic.workflows.yml | 6 +++--- .github/workflows/ms.machinelearningservices.workspaces.yml | 6 +++--- .../workflows/ms.managedidentity.userassignedidentities.yml | 6 +++--- .../ms.managedservices.registrationdefinitions.yml | 6 +++--- .github/workflows/ms.management.managementgroups.yml | 6 +++--- .github/workflows/ms.netapp.netappaccounts.yml | 6 +++--- .github/workflows/ms.network.applicationgateways.yml | 6 +++--- ...ork.applicationgatewaywebapplicationfirewallpolicies.yml | 6 +++--- .github/workflows/ms.network.applicationsecuritygroups.yml | 6 +++--- .github/workflows/ms.network.azurefirewalls.yml | 6 +++--- .github/workflows/ms.network.bastionhosts.yml | 6 +++--- .github/workflows/ms.network.connections.yml | 6 +++--- .github/workflows/ms.network.ddosprotectionplans.yml | 6 +++--- .github/workflows/ms.network.dnsresolvers.yml | 6 +++--- .github/workflows/ms.network.expressroutecircuits.yml | 6 +++--- .github/workflows/ms.network.firewallpolicies.yml | 6 +++--- .github/workflows/ms.network.frontdoors.yml | 6 +++--- .github/workflows/ms.network.ipgroups.yml | 6 +++--- .github/workflows/ms.network.loadbalancers.yml | 6 +++--- .github/workflows/ms.network.localnetworkgateways.yml | 6 +++--- .github/workflows/ms.network.natgateways.yml | 6 +++--- .github/workflows/ms.network.networkinterfaces.yml | 6 +++--- .github/workflows/ms.network.networksecuritygroups.yml | 6 +++--- .github/workflows/ms.network.networkwatchers.yml | 6 +++--- .github/workflows/ms.network.privatednszones.yml | 6 +++--- .github/workflows/ms.network.privateendpoints.yml | 6 +++--- .github/workflows/ms.network.privatelinkservices.yml | 6 +++--- .github/workflows/ms.network.publicipaddresses.yml | 6 +++--- .github/workflows/ms.network.publicipprefixes.yml | 6 +++--- .github/workflows/ms.network.routetables.yml | 6 +++--- .github/workflows/ms.network.trafficmanagerprofiles.yml | 6 +++--- .github/workflows/ms.network.virtualhubs.yml | 6 +++--- .github/workflows/ms.network.virtualnetworkgateways.yml | 6 +++--- .github/workflows/ms.network.virtualnetworks.yml | 6 +++--- .github/workflows/ms.network.virtualwans.yml | 6 +++--- .github/workflows/ms.network.vpngateways.yml | 6 +++--- .github/workflows/ms.network.vpnsites.yml | 6 +++--- .github/workflows/ms.operationalinsights.workspaces.yml | 6 +++--- .github/workflows/ms.operationsmanagement.solutions.yml | 6 +++--- .github/workflows/ms.powerbidedicated.capacities.yml | 6 +++--- .github/workflows/ms.recoveryservices.vaults.yml | 6 +++--- .github/workflows/ms.resources.deploymentscripts.yml | 6 +++--- .github/workflows/ms.resources.resourcegroups.yml | 6 +++--- .github/workflows/ms.resources.tags.yml | 6 +++--- .github/workflows/ms.security.azuresecuritycenter.yml | 6 +++--- .github/workflows/ms.servicebus.namespaces.yml | 6 +++--- .github/workflows/ms.servicefabric.clusters.yml | 6 +++--- .github/workflows/ms.signalrservice.webpubsub.yml | 6 +++--- .github/workflows/ms.sql.managedinstances.yml | 6 +++--- .github/workflows/ms.sql.servers.yml | 6 +++--- .github/workflows/ms.storage.storageaccounts.yml | 6 +++--- .github/workflows/ms.synapse.privatelinkhubs.yml | 6 +++--- .github/workflows/ms.synapse.workspaces.yml | 6 +++--- .../workflows/ms.virtualmachineimages.imagetemplates.yml | 6 +++--- .github/workflows/ms.web.connections.yml | 6 +++--- .github/workflows/ms.web.hostingenvironments.yml | 6 +++--- .github/workflows/ms.web.serverfarms.yml | 6 +++--- .github/workflows/ms.web.sites.yml | 6 +++--- .github/workflows/ms.web.staticsites.yml | 6 +++--- 108 files changed, 324 insertions(+), 324 deletions(-) diff --git a/.github/workflows/ms.aad.domainservices.yml b/.github/workflows/ms.aad.domainservices.yml index 70a6184ac6..8488d63e36 100644 --- a/.github/workflows/ms.aad.domainservices.yml +++ b/.github/workflows/ms.aad.domainservices.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -112,7 +112,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.apimanagement.service.yml b/.github/workflows/ms.apimanagement.service.yml index 307f8d5661..7e65cd22a0 100644 --- a/.github/workflows/ms.apimanagement.service.yml +++ b/.github/workflows/ms.apimanagement.service.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.appconfiguration.configurationstores.yml b/.github/workflows/ms.appconfiguration.configurationstores.yml index 6b18a32d73..6aa34a1e40 100644 --- a/.github/workflows/ms.appconfiguration.configurationstores.yml +++ b/.github/workflows/ms.appconfiguration.configurationstores.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.authorization.locks.yml b/.github/workflows/ms.authorization.locks.yml index 7c994f2916..e51113c4e5 100644 --- a/.github/workflows/ms.authorization.locks.yml +++ b/.github/workflows/ms.authorization.locks.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -114,7 +114,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.authorization.policyassignments.yml b/.github/workflows/ms.authorization.policyassignments.yml index d439596e24..a8b1f45176 100644 --- a/.github/workflows/ms.authorization.policyassignments.yml +++ b/.github/workflows/ms.authorization.policyassignments.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -114,7 +114,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.authorization.policydefinitions.yml b/.github/workflows/ms.authorization.policydefinitions.yml index 8e6ce75703..2272d8d0ca 100644 --- a/.github/workflows/ms.authorization.policydefinitions.yml +++ b/.github/workflows/ms.authorization.policydefinitions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -114,7 +114,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.authorization.policyexemptions.yml b/.github/workflows/ms.authorization.policyexemptions.yml index c4cf0a728a..a6e23bb214 100644 --- a/.github/workflows/ms.authorization.policyexemptions.yml +++ b/.github/workflows/ms.authorization.policyexemptions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -114,7 +114,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.authorization.policysetdefinitions.yml b/.github/workflows/ms.authorization.policysetdefinitions.yml index fb125ffef3..6157149e43 100644 --- a/.github/workflows/ms.authorization.policysetdefinitions.yml +++ b/.github/workflows/ms.authorization.policysetdefinitions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -114,7 +114,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.authorization.roleassignments.yml b/.github/workflows/ms.authorization.roleassignments.yml index 91256b8026..1694326044 100644 --- a/.github/workflows/ms.authorization.roleassignments.yml +++ b/.github/workflows/ms.authorization.roleassignments.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -114,7 +114,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.authorization.roledefinitions.yml b/.github/workflows/ms.authorization.roledefinitions.yml index 8941e4f5be..29545fa1fe 100644 --- a/.github/workflows/ms.authorization.roledefinitions.yml +++ b/.github/workflows/ms.authorization.roledefinitions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -114,7 +114,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.automation.automationaccounts.yml b/.github/workflows/ms.automation.automationaccounts.yml index 9948150f72..c46d8570c3 100644 --- a/.github/workflows/ms.automation.automationaccounts.yml +++ b/.github/workflows/ms.automation.automationaccounts.yml @@ -58,7 +58,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -94,7 +94,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -112,7 +112,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.batch.batchaccounts.yml b/.github/workflows/ms.batch.batchaccounts.yml index 108637cfe1..21e18c9b4b 100644 --- a/.github/workflows/ms.batch.batchaccounts.yml +++ b/.github/workflows/ms.batch.batchaccounts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.cache.redis.yml b/.github/workflows/ms.cache.redis.yml index 3e6f083d63..c5dcf6f31c 100644 --- a/.github/workflows/ms.cache.redis.yml +++ b/.github/workflows/ms.cache.redis.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.cognitiveservices.accounts.yml b/.github/workflows/ms.cognitiveservices.accounts.yml index 7bfa64960e..186248fab0 100644 --- a/.github/workflows/ms.cognitiveservices.accounts.yml +++ b/.github/workflows/ms.cognitiveservices.accounts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.compute.availabilitysets.yml b/.github/workflows/ms.compute.availabilitysets.yml index 02d6ae57d0..6e56f3196e 100644 --- a/.github/workflows/ms.compute.availabilitysets.yml +++ b/.github/workflows/ms.compute.availabilitysets.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.compute.diskencryptionsets.yml b/.github/workflows/ms.compute.diskencryptionsets.yml index f261f8af20..65d9a29047 100644 --- a/.github/workflows/ms.compute.diskencryptionsets.yml +++ b/.github/workflows/ms.compute.diskencryptionsets.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.compute.disks.yml b/.github/workflows/ms.compute.disks.yml index 37b836ec9a..4c557f27e3 100644 --- a/.github/workflows/ms.compute.disks.yml +++ b/.github/workflows/ms.compute.disks.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.compute.galleries.yml b/.github/workflows/ms.compute.galleries.yml index 6c8719596d..7aab08f18c 100644 --- a/.github/workflows/ms.compute.galleries.yml +++ b/.github/workflows/ms.compute.galleries.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.compute.images.yml b/.github/workflows/ms.compute.images.yml index 73005b0453..f8076b1fc6 100644 --- a/.github/workflows/ms.compute.images.yml +++ b/.github/workflows/ms.compute.images.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.compute.proximityplacementgroups.yml b/.github/workflows/ms.compute.proximityplacementgroups.yml index ea86f6197a..a592515868 100644 --- a/.github/workflows/ms.compute.proximityplacementgroups.yml +++ b/.github/workflows/ms.compute.proximityplacementgroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.compute.virtualmachines.yml b/.github/workflows/ms.compute.virtualmachines.yml index e2ebe761b4..306aa235e4 100644 --- a/.github/workflows/ms.compute.virtualmachines.yml +++ b/.github/workflows/ms.compute.virtualmachines.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.compute.virtualmachinescalesets.yml b/.github/workflows/ms.compute.virtualmachinescalesets.yml index 829a8ca7d0..d9c9ebd649 100644 --- a/.github/workflows/ms.compute.virtualmachinescalesets.yml +++ b/.github/workflows/ms.compute.virtualmachinescalesets.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -112,7 +112,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.consumption.budgets.yml b/.github/workflows/ms.consumption.budgets.yml index 8f6b5d1aaf..b87deb7379 100644 --- a/.github/workflows/ms.consumption.budgets.yml +++ b/.github/workflows/ms.consumption.budgets.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.containerinstance.containergroups.yml b/.github/workflows/ms.containerinstance.containergroups.yml index 79cbb375f3..9b02c6ee46 100644 --- a/.github/workflows/ms.containerinstance.containergroups.yml +++ b/.github/workflows/ms.containerinstance.containergroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.containerregistry.registries.yml b/.github/workflows/ms.containerregistry.registries.yml index 8a1b742850..fca0f71777 100644 --- a/.github/workflows/ms.containerregistry.registries.yml +++ b/.github/workflows/ms.containerregistry.registries.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.containerservice.managedclusters.yml b/.github/workflows/ms.containerservice.managedclusters.yml index 820cfa3e32..5a3a93ea18 100644 --- a/.github/workflows/ms.containerservice.managedclusters.yml +++ b/.github/workflows/ms.containerservice.managedclusters.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.databricks.workspaces.yml b/.github/workflows/ms.databricks.workspaces.yml index 482a7148c4..3ca61edb3d 100644 --- a/.github/workflows/ms.databricks.workspaces.yml +++ b/.github/workflows/ms.databricks.workspaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.datafactory.factories.yml b/.github/workflows/ms.datafactory.factories.yml index 0416066b57..592eaf24fe 100644 --- a/.github/workflows/ms.datafactory.factories.yml +++ b/.github/workflows/ms.datafactory.factories.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.dataprotection.backupvaults.yml b/.github/workflows/ms.dataprotection.backupvaults.yml index 06588e3474..71f229a05b 100644 --- a/.github/workflows/ms.dataprotection.backupvaults.yml +++ b/.github/workflows/ms.dataprotection.backupvaults.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml index e9fcee2020..9f83fa17c5 100644 --- a/.github/workflows/ms.dbforpostgresql.flexibleservers.yml +++ b/.github/workflows/ms.dbforpostgresql.flexibleservers.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -114,7 +114,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml index d3ec220cb1..5d9bb5eed6 100644 --- a/.github/workflows/ms.desktopvirtualization.applicationgroups.yml +++ b/.github/workflows/ms.desktopvirtualization.applicationgroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.desktopvirtualization.hostpools.yml b/.github/workflows/ms.desktopvirtualization.hostpools.yml index 8e842019db..53ff96e4c5 100644 --- a/.github/workflows/ms.desktopvirtualization.hostpools.yml +++ b/.github/workflows/ms.desktopvirtualization.hostpools.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.desktopvirtualization.scalingplans.yml b/.github/workflows/ms.desktopvirtualization.scalingplans.yml index 91012f74d6..77ef129c0c 100644 --- a/.github/workflows/ms.desktopvirtualization.scalingplans.yml +++ b/.github/workflows/ms.desktopvirtualization.scalingplans.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.desktopvirtualization.workspaces.yml b/.github/workflows/ms.desktopvirtualization.workspaces.yml index 8097838c75..5f05b82586 100644 --- a/.github/workflows/ms.desktopvirtualization.workspaces.yml +++ b/.github/workflows/ms.desktopvirtualization.workspaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.documentdb.databaseaccounts.yml b/.github/workflows/ms.documentdb.databaseaccounts.yml index 03f0c271ba..054e8edd7e 100644 --- a/.github/workflows/ms.documentdb.databaseaccounts.yml +++ b/.github/workflows/ms.documentdb.databaseaccounts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.eventgrid.systemtopics.yml b/.github/workflows/ms.eventgrid.systemtopics.yml index f2c9d4bf2a..6472c8c99b 100644 --- a/.github/workflows/ms.eventgrid.systemtopics.yml +++ b/.github/workflows/ms.eventgrid.systemtopics.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.eventgrid.topics.yml b/.github/workflows/ms.eventgrid.topics.yml index 6db34b8c3b..e8fd67510f 100644 --- a/.github/workflows/ms.eventgrid.topics.yml +++ b/.github/workflows/ms.eventgrid.topics.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.eventhub.namespaces.yml b/.github/workflows/ms.eventhub.namespaces.yml index 1afa98f9d3..e52787fd50 100644 --- a/.github/workflows/ms.eventhub.namespaces.yml +++ b/.github/workflows/ms.eventhub.namespaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.healthbot.healthbots.yml b/.github/workflows/ms.healthbot.healthbots.yml index 5b2edfb4bd..3d649e98a7 100644 --- a/.github/workflows/ms.healthbot.healthbots.yml +++ b/.github/workflows/ms.healthbot.healthbots.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.insights.actiongroups.yml b/.github/workflows/ms.insights.actiongroups.yml index 5d158e1285..7cd4126f79 100644 --- a/.github/workflows/ms.insights.actiongroups.yml +++ b/.github/workflows/ms.insights.actiongroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.insights.activitylogalerts.yml b/.github/workflows/ms.insights.activitylogalerts.yml index 17c27b0d71..14f6722989 100644 --- a/.github/workflows/ms.insights.activitylogalerts.yml +++ b/.github/workflows/ms.insights.activitylogalerts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.insights.components.yml b/.github/workflows/ms.insights.components.yml index 7e43b57ef9..2c0a95fea7 100644 --- a/.github/workflows/ms.insights.components.yml +++ b/.github/workflows/ms.insights.components.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.insights.diagnosticsettings.yml b/.github/workflows/ms.insights.diagnosticsettings.yml index 5c6e274673..92250222e4 100644 --- a/.github/workflows/ms.insights.diagnosticsettings.yml +++ b/.github/workflows/ms.insights.diagnosticsettings.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.insights.metricalerts.yml b/.github/workflows/ms.insights.metricalerts.yml index d70f945b0e..c9e45906e9 100644 --- a/.github/workflows/ms.insights.metricalerts.yml +++ b/.github/workflows/ms.insights.metricalerts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.insights.privatelinkscopes.yml b/.github/workflows/ms.insights.privatelinkscopes.yml index 8a42ef51c7..be74dfb6fc 100644 --- a/.github/workflows/ms.insights.privatelinkscopes.yml +++ b/.github/workflows/ms.insights.privatelinkscopes.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.insights.scheduledqueryrules.yml b/.github/workflows/ms.insights.scheduledqueryrules.yml index a73acc9f21..9964ad4560 100644 --- a/.github/workflows/ms.insights.scheduledqueryrules.yml +++ b/.github/workflows/ms.insights.scheduledqueryrules.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.keyvault.vaults.yml b/.github/workflows/ms.keyvault.vaults.yml index d5970488f2..03323c056e 100644 --- a/.github/workflows/ms.keyvault.vaults.yml +++ b/.github/workflows/ms.keyvault.vaults.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.kubernetesconfiguration.extensions.yml b/.github/workflows/ms.kubernetesconfiguration.extensions.yml index 9d78801222..44fa3d836b 100644 --- a/.github/workflows/ms.kubernetesconfiguration.extensions.yml +++ b/.github/workflows/ms.kubernetesconfiguration.extensions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml index c14270c932..9fd5d55f80 100644 --- a/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml +++ b/.github/workflows/ms.kubernetesconfiguration.fluxconfigurations.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.logic.workflows.yml b/.github/workflows/ms.logic.workflows.yml index f6fc07d149..0aa90195e6 100644 --- a/.github/workflows/ms.logic.workflows.yml +++ b/.github/workflows/ms.logic.workflows.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.machinelearningservices.workspaces.yml b/.github/workflows/ms.machinelearningservices.workspaces.yml index 79532e7764..db52d8b108 100644 --- a/.github/workflows/ms.machinelearningservices.workspaces.yml +++ b/.github/workflows/ms.machinelearningservices.workspaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.managedidentity.userassignedidentities.yml b/.github/workflows/ms.managedidentity.userassignedidentities.yml index a49a4ea520..8980ed13e1 100644 --- a/.github/workflows/ms.managedidentity.userassignedidentities.yml +++ b/.github/workflows/ms.managedidentity.userassignedidentities.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.managedservices.registrationdefinitions.yml b/.github/workflows/ms.managedservices.registrationdefinitions.yml index 310ef4ebe4..40d671efaf 100644 --- a/.github/workflows/ms.managedservices.registrationdefinitions.yml +++ b/.github/workflows/ms.managedservices.registrationdefinitions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.management.managementgroups.yml b/.github/workflows/ms.management.managementgroups.yml index 1ef66f9b46..5495513bb2 100644 --- a/.github/workflows/ms.management.managementgroups.yml +++ b/.github/workflows/ms.management.managementgroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.netapp.netappaccounts.yml b/.github/workflows/ms.netapp.netappaccounts.yml index 76ce398674..17b6df2557 100644 --- a/.github/workflows/ms.netapp.netappaccounts.yml +++ b/.github/workflows/ms.netapp.netappaccounts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.applicationgateways.yml b/.github/workflows/ms.network.applicationgateways.yml index f37bd775cd..d42a2bff25 100644 --- a/.github/workflows/ms.network.applicationgateways.yml +++ b/.github/workflows/ms.network.applicationgateways.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml index 204d575558..6238375ffd 100644 --- a/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml +++ b/.github/workflows/ms.network.applicationgatewaywebapplicationfirewallpolicies.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.applicationsecuritygroups.yml b/.github/workflows/ms.network.applicationsecuritygroups.yml index 88b5085ba9..1f03dcd9a7 100644 --- a/.github/workflows/ms.network.applicationsecuritygroups.yml +++ b/.github/workflows/ms.network.applicationsecuritygroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.azurefirewalls.yml b/.github/workflows/ms.network.azurefirewalls.yml index 392e586d63..31d470a845 100644 --- a/.github/workflows/ms.network.azurefirewalls.yml +++ b/.github/workflows/ms.network.azurefirewalls.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.bastionhosts.yml b/.github/workflows/ms.network.bastionhosts.yml index 82f1fa65df..31b5d5216d 100644 --- a/.github/workflows/ms.network.bastionhosts.yml +++ b/.github/workflows/ms.network.bastionhosts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.connections.yml b/.github/workflows/ms.network.connections.yml index a0cacd3a73..af975004d1 100644 --- a/.github/workflows/ms.network.connections.yml +++ b/.github/workflows/ms.network.connections.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.ddosprotectionplans.yml b/.github/workflows/ms.network.ddosprotectionplans.yml index dc9103c314..7859e4438c 100644 --- a/.github/workflows/ms.network.ddosprotectionplans.yml +++ b/.github/workflows/ms.network.ddosprotectionplans.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.dnsresolvers.yml b/.github/workflows/ms.network.dnsresolvers.yml index bbf3dafca6..1b5cd406f7 100644 --- a/.github/workflows/ms.network.dnsresolvers.yml +++ b/.github/workflows/ms.network.dnsresolvers.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.expressroutecircuits.yml b/.github/workflows/ms.network.expressroutecircuits.yml index d1a4bc4deb..8c24a830b2 100644 --- a/.github/workflows/ms.network.expressroutecircuits.yml +++ b/.github/workflows/ms.network.expressroutecircuits.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.firewallpolicies.yml b/.github/workflows/ms.network.firewallpolicies.yml index 6e6bed56cf..8f55a91c17 100644 --- a/.github/workflows/ms.network.firewallpolicies.yml +++ b/.github/workflows/ms.network.firewallpolicies.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.frontdoors.yml b/.github/workflows/ms.network.frontdoors.yml index 0863b501ad..bb9909a1e3 100644 --- a/.github/workflows/ms.network.frontdoors.yml +++ b/.github/workflows/ms.network.frontdoors.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.ipgroups.yml b/.github/workflows/ms.network.ipgroups.yml index a4eb048291..7dd5304565 100644 --- a/.github/workflows/ms.network.ipgroups.yml +++ b/.github/workflows/ms.network.ipgroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.loadbalancers.yml b/.github/workflows/ms.network.loadbalancers.yml index f101973dd1..da57821ffe 100644 --- a/.github/workflows/ms.network.loadbalancers.yml +++ b/.github/workflows/ms.network.loadbalancers.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.localnetworkgateways.yml b/.github/workflows/ms.network.localnetworkgateways.yml index 8333f93e7d..a5e96c2967 100644 --- a/.github/workflows/ms.network.localnetworkgateways.yml +++ b/.github/workflows/ms.network.localnetworkgateways.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.natgateways.yml b/.github/workflows/ms.network.natgateways.yml index 1fe3a8ccc6..d8dd0d4ee8 100644 --- a/.github/workflows/ms.network.natgateways.yml +++ b/.github/workflows/ms.network.natgateways.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.networkinterfaces.yml b/.github/workflows/ms.network.networkinterfaces.yml index b807d626b0..374db8977c 100644 --- a/.github/workflows/ms.network.networkinterfaces.yml +++ b/.github/workflows/ms.network.networkinterfaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.networksecuritygroups.yml b/.github/workflows/ms.network.networksecuritygroups.yml index 3f45fd66a8..90267de743 100644 --- a/.github/workflows/ms.network.networksecuritygroups.yml +++ b/.github/workflows/ms.network.networksecuritygroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.networkwatchers.yml b/.github/workflows/ms.network.networkwatchers.yml index 7d31176cab..a565d3a8f1 100644 --- a/.github/workflows/ms.network.networkwatchers.yml +++ b/.github/workflows/ms.network.networkwatchers.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -112,7 +112,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.privatednszones.yml b/.github/workflows/ms.network.privatednszones.yml index 1b42197e6e..13b27cd1bc 100644 --- a/.github/workflows/ms.network.privatednszones.yml +++ b/.github/workflows/ms.network.privatednszones.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.privateendpoints.yml b/.github/workflows/ms.network.privateendpoints.yml index 0644b6b958..7dbacc3dc0 100644 --- a/.github/workflows/ms.network.privateendpoints.yml +++ b/.github/workflows/ms.network.privateendpoints.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.privatelinkservices.yml b/.github/workflows/ms.network.privatelinkservices.yml index 0a7f91dd7f..32ad325dd6 100644 --- a/.github/workflows/ms.network.privatelinkservices.yml +++ b/.github/workflows/ms.network.privatelinkservices.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -112,7 +112,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.publicipaddresses.yml b/.github/workflows/ms.network.publicipaddresses.yml index 985d0e85e6..0f5be413d5 100644 --- a/.github/workflows/ms.network.publicipaddresses.yml +++ b/.github/workflows/ms.network.publicipaddresses.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.publicipprefixes.yml b/.github/workflows/ms.network.publicipprefixes.yml index 8215d773be..582eaae4fb 100644 --- a/.github/workflows/ms.network.publicipprefixes.yml +++ b/.github/workflows/ms.network.publicipprefixes.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.routetables.yml b/.github/workflows/ms.network.routetables.yml index fb2992692e..4075c52c28 100644 --- a/.github/workflows/ms.network.routetables.yml +++ b/.github/workflows/ms.network.routetables.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.trafficmanagerprofiles.yml b/.github/workflows/ms.network.trafficmanagerprofiles.yml index 3991b5cba8..d301a1547b 100644 --- a/.github/workflows/ms.network.trafficmanagerprofiles.yml +++ b/.github/workflows/ms.network.trafficmanagerprofiles.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.virtualhubs.yml b/.github/workflows/ms.network.virtualhubs.yml index c7de64edfa..bc4dfaca07 100644 --- a/.github/workflows/ms.network.virtualhubs.yml +++ b/.github/workflows/ms.network.virtualhubs.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.virtualnetworkgateways.yml b/.github/workflows/ms.network.virtualnetworkgateways.yml index 9006b523fe..21e4986290 100644 --- a/.github/workflows/ms.network.virtualnetworkgateways.yml +++ b/.github/workflows/ms.network.virtualnetworkgateways.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.virtualnetworks.yml b/.github/workflows/ms.network.virtualnetworks.yml index 682c260283..1179f3ad59 100644 --- a/.github/workflows/ms.network.virtualnetworks.yml +++ b/.github/workflows/ms.network.virtualnetworks.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.virtualwans.yml b/.github/workflows/ms.network.virtualwans.yml index f7710b1e56..534a55d56a 100644 --- a/.github/workflows/ms.network.virtualwans.yml +++ b/.github/workflows/ms.network.virtualwans.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.vpngateways.yml b/.github/workflows/ms.network.vpngateways.yml index f5aae2ba44..2be6725a50 100644 --- a/.github/workflows/ms.network.vpngateways.yml +++ b/.github/workflows/ms.network.vpngateways.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -112,7 +112,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.network.vpnsites.yml b/.github/workflows/ms.network.vpnsites.yml index 04e82805dd..28adfc0fb4 100644 --- a/.github/workflows/ms.network.vpnsites.yml +++ b/.github/workflows/ms.network.vpnsites.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.operationalinsights.workspaces.yml b/.github/workflows/ms.operationalinsights.workspaces.yml index d20d666c86..d8b5ec0ec7 100644 --- a/.github/workflows/ms.operationalinsights.workspaces.yml +++ b/.github/workflows/ms.operationalinsights.workspaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.operationsmanagement.solutions.yml b/.github/workflows/ms.operationsmanagement.solutions.yml index 2373ba6416..120d559f64 100644 --- a/.github/workflows/ms.operationsmanagement.solutions.yml +++ b/.github/workflows/ms.operationsmanagement.solutions.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.powerbidedicated.capacities.yml b/.github/workflows/ms.powerbidedicated.capacities.yml index e497885f00..90f7c99a4d 100644 --- a/.github/workflows/ms.powerbidedicated.capacities.yml +++ b/.github/workflows/ms.powerbidedicated.capacities.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -112,7 +112,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.recoveryservices.vaults.yml b/.github/workflows/ms.recoveryservices.vaults.yml index 6ee6cbc14c..37a2502b4a 100644 --- a/.github/workflows/ms.recoveryservices.vaults.yml +++ b/.github/workflows/ms.recoveryservices.vaults.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.resources.deploymentscripts.yml b/.github/workflows/ms.resources.deploymentscripts.yml index a9982c1c95..ddd37e69b2 100644 --- a/.github/workflows/ms.resources.deploymentscripts.yml +++ b/.github/workflows/ms.resources.deploymentscripts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.resources.resourcegroups.yml b/.github/workflows/ms.resources.resourcegroups.yml index 9fa04d3122..f5403e46ad 100644 --- a/.github/workflows/ms.resources.resourcegroups.yml +++ b/.github/workflows/ms.resources.resourcegroups.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.resources.tags.yml b/.github/workflows/ms.resources.tags.yml index c1bd3eac4a..f383da40ad 100644 --- a/.github/workflows/ms.resources.tags.yml +++ b/.github/workflows/ms.resources.tags.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.security.azuresecuritycenter.yml b/.github/workflows/ms.security.azuresecuritycenter.yml index b02f978fcf..4d4578ef8a 100644 --- a/.github/workflows/ms.security.azuresecuritycenter.yml +++ b/.github/workflows/ms.security.azuresecuritycenter.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.servicebus.namespaces.yml b/.github/workflows/ms.servicebus.namespaces.yml index ef5236d3cb..55dd874e3b 100644 --- a/.github/workflows/ms.servicebus.namespaces.yml +++ b/.github/workflows/ms.servicebus.namespaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.servicefabric.clusters.yml b/.github/workflows/ms.servicefabric.clusters.yml index 4a4c9f4df1..0f3d4ca1bb 100644 --- a/.github/workflows/ms.servicefabric.clusters.yml +++ b/.github/workflows/ms.servicefabric.clusters.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.signalrservice.webpubsub.yml b/.github/workflows/ms.signalrservice.webpubsub.yml index 0d9ed9edd9..06c76ff673 100644 --- a/.github/workflows/ms.signalrservice.webpubsub.yml +++ b/.github/workflows/ms.signalrservice.webpubsub.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -112,7 +112,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.sql.managedinstances.yml b/.github/workflows/ms.sql.managedinstances.yml index eceed3b5e5..fbd80228f0 100644 --- a/.github/workflows/ms.sql.managedinstances.yml +++ b/.github/workflows/ms.sql.managedinstances.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -112,7 +112,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.sql.servers.yml b/.github/workflows/ms.sql.servers.yml index 0742942bd4..43d596c3c1 100644 --- a/.github/workflows/ms.sql.servers.yml +++ b/.github/workflows/ms.sql.servers.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.storage.storageaccounts.yml b/.github/workflows/ms.storage.storageaccounts.yml index 46c76b7212..12793167d8 100644 --- a/.github/workflows/ms.storage.storageaccounts.yml +++ b/.github/workflows/ms.storage.storageaccounts.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.synapse.privatelinkhubs.yml b/.github/workflows/ms.synapse.privatelinkhubs.yml index 3901d5af49..b6293505e3 100644 --- a/.github/workflows/ms.synapse.privatelinkhubs.yml +++ b/.github/workflows/ms.synapse.privatelinkhubs.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.synapse.workspaces.yml b/.github/workflows/ms.synapse.workspaces.yml index 2a064174c5..36585f1f12 100644 --- a/.github/workflows/ms.synapse.workspaces.yml +++ b/.github/workflows/ms.synapse.workspaces.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -112,7 +112,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml index c26517c8e8..5dbd19fefe 100644 --- a/.github/workflows/ms.virtualmachineimages.imagetemplates.yml +++ b/.github/workflows/ms.virtualmachineimages.imagetemplates.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.web.connections.yml b/.github/workflows/ms.web.connections.yml index d679041941..9e9c1cc462 100644 --- a/.github/workflows/ms.web.connections.yml +++ b/.github/workflows/ms.web.connections.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.web.hostingenvironments.yml b/.github/workflows/ms.web.hostingenvironments.yml index 4790e03ef6..6affc207f8 100644 --- a/.github/workflows/ms.web.hostingenvironments.yml +++ b/.github/workflows/ms.web.hostingenvironments.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.web.serverfarms.yml b/.github/workflows/ms.web.serverfarms.yml index 7a70ff4597..ffd517f004 100644 --- a/.github/workflows/ms.web.serverfarms.yml +++ b/.github/workflows/ms.web.serverfarms.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.web.sites.yml b/.github/workflows/ms.web.sites.yml index e0bd6e23c3..f93c28d285 100644 --- a/.github/workflows/ms.web.sites.yml +++ b/.github/workflows/ms.web.sites.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # diff --git a/.github/workflows/ms.web.staticsites.yml b/.github/workflows/ms.web.staticsites.yml index 6bed7ab350..a02548b015 100644 --- a/.github/workflows/ms.web.staticsites.yml +++ b/.github/workflows/ms.web.staticsites.yml @@ -57,7 +57,7 @@ jobs: with: modulePath: '${{ env.modulePath }}' outputs: - removeDeployment: ${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).removeDeployment }} + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} ######################### @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - moduleTestFilePaths: ${{ fromJSON(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} + moduleTestFilePaths: ${{ fromJson(needs.job_initialize_pipeline.outputs.moduleTestFilePaths) }} steps: - name: 'Checkout' uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: resourceGroupName: '${{ env.resourceGroupName }}' subscriptionId: '${{ secrets.ARM_SUBSCRIPTION_ID }}' managementGroupId: '${{ secrets.ARM_MGMTGROUP_ID }}' - removeDeployment: '${{ needs.job_initialize_pipeline.outputs.removeDeployment }}' + removeDeployment: '${{ (fromJson(needs.job_initialize_pipeline.outputs.workflowInput)).removeDeployment }}' ################## # Publishing # From 495bdd74bfe119cf7545688f6e01dba9752008a7 Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Sat, 26 Nov 2022 21:52:30 +0100 Subject: [PATCH 31/50] Update .azuredevops/platformPipelines/platform.deployment.removal.yml Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- .azuredevops/platformPipelines/platform.deployment.removal.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azuredevops/platformPipelines/platform.deployment.removal.yml b/.azuredevops/platformPipelines/platform.deployment.removal.yml index 59238d58c0..dea6f96956 100644 --- a/.azuredevops/platformPipelines/platform.deployment.removal.yml +++ b/.azuredevops/platformPipelines/platform.deployment.removal.yml @@ -8,7 +8,7 @@ parameters: - name: handleManagementGroupScope displayName: Include Management Group deployments type: boolean - default: true + default: true # Note: This requires your service principal to have permissions over management group scope. - name: maxDeploymentRetentionInDays displayName: The number of days to keep deployments with status [running] or [failed] type: number From 8bc5ef5fea0cfae0dfd5c6bfce5efd01efb59d9c Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Sat, 26 Nov 2022 23:10:28 +0100 Subject: [PATCH 32/50] Updated desc --- .../actions/templates/getWorkflowInput/action.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index cdaedad6d6..a9eacf660c 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -27,11 +27,11 @@ ## ACTION OUTPUTS ## ##----------------------------------------## ## -## |==================================================================================================================| -## | Output | Description | -## |------------------|-----------------------------------------------------------------------------------------------| -## | removeDeployment | A flag, set in the pipeline, to control whether deployment resources should be removed or not | -## |==================================================================================================================| +## |=============================================================================================| +## | Output | Description | +## |------------------|--------------------------------------------------------------------------| +## | removeDeployment | A table of all pipeline input parameters and their value in JSON format. | +## |=============================================================================================| ## ##---------------------------------------------## @@ -45,7 +45,7 @@ inputs: outputs: workflowInput: - description: 'A flag, set in the pipeline, to control whether deployment resources should be removed or not' + description: 'A table of all pipeline input parameters and their value in JSON format.' value: ${{ steps.get-input-param-action.outputs.workflowInput }} runs: From af10ffb6c1414857052fe0c3308a6da1ff04d8b7 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Sat, 26 Nov 2022 23:13:07 +0100 Subject: [PATCH 33/50] Added ref --- docs/wiki/The CI environment.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/wiki/The CI environment.md b/docs/wiki/The CI environment.md index 3bcc86c9b7..522e1c2fae 100644 --- a/docs/wiki/The CI environment.md +++ b/docs/wiki/The CI environment.md @@ -9,6 +9,7 @@ This section provides an overview of the design and principles the CARML Continu - [Pipeline design](./The%20CI%20environment%20-%20Pipeline%20design) - [Static validation](./The%20CI%20environment%20-%20Static%20validation) - [Deployment validation](./The%20CI%20environment%20-%20Deployment%20validation) + - [Deployment removal](./The%20CI%20environment%20-%20Deployment%20removal) - [Publishing](./The%20CI%20environment%20-%20Publishing) - [Token replacement](./The%20CI%20environment%20-%20Token%20replacement) - [GitHub ReadMe module table update](./The%20CI%20environment%20-%20GitHub%20ReadMe%20module%20table%20update) From f4d1d0e9e6ccc61cc78105fa8a891e8094cc8114 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Sat, 26 Nov 2022 23:23:33 +0100 Subject: [PATCH 34/50] Update to latest --- .../platformPipelines/platform.deployment.removal.yml | 4 ++-- .github/workflows/platform.deployment.removal.yml | 4 ++-- docs/wiki/The CI environment - Deployment removal.md | 5 +++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.azuredevops/platformPipelines/platform.deployment.removal.yml b/.azuredevops/platformPipelines/platform.deployment.removal.yml index dea6f96956..22db972149 100644 --- a/.azuredevops/platformPipelines/platform.deployment.removal.yml +++ b/.azuredevops/platformPipelines/platform.deployment.removal.yml @@ -4,11 +4,11 @@ parameters: - name: handleSubscriptionScope displayName: Include Subscription deployments type: boolean - default: true + default: true # Note: This requires your service principal to have permissions on the subscription scope. - name: handleManagementGroupScope displayName: Include Management Group deployments type: boolean - default: true # Note: This requires your service principal to have permissions over management group scope. + default: true # Note: This requires your service principal to have permissions on the management group scope. - name: maxDeploymentRetentionInDays displayName: The number of days to keep deployments with status [running] or [failed] type: number diff --git a/.github/workflows/platform.deployment.removal.yml b/.github/workflows/platform.deployment.removal.yml index 63b1685ee3..a45a71b8d6 100644 --- a/.github/workflows/platform.deployment.removal.yml +++ b/.github/workflows/platform.deployment.removal.yml @@ -7,12 +7,12 @@ on: type: boolean description: 'Include Subscription deployments' required: false - default: true + default: true # Note: This requires your service principal to have permissions on the subscription scope. handleManagementGroupScope: type: boolean description: 'Include Management Group deployments' required: false - default: true + default: true # Note: This requires your service principal to have permissions on the management group scope. maxDeploymentRetentionInDays: type: string description: 'The number of days to keep deployments with status [running] or [failed]' diff --git a/docs/wiki/The CI environment - Deployment removal.md b/docs/wiki/The CI environment - Deployment removal.md index 61eb189792..e7a6ef4c89 100644 --- a/docs/wiki/The CI environment - Deployment removal.md +++ b/docs/wiki/The CI environment - Deployment removal.md @@ -6,6 +6,11 @@ The platform pipeline `platform.deployment.removal.yml` has an automatic schedul By default, the pipeline will cleanup both the Subscription, as well as Management Group scope using the used script's default configuration. In addition, you can specify a pipeline variable `maxDeploymentRetentionInDays` to define beyond which time frame deployments should always be deleted. Within the timeframe, only non-failed and non-running deployments are considered. +> **NOTE**
In order for the pipeline to remove both Management-Group-Level as well as Subscription-Level deployments the used service principal needs the [permissions](https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history-deletions?tabs=azure-powershell#required-permissions) either scope. If you use CARML to test deployments on any of these scopes your principal will already have the required permissions.
+> In case the principal does not have the required permissions you can either: +> - Not register the `platform.deployment.removal.yml` pipeline OR +> - Adjust the pipeline's default behavior to not remove deployments on the scope you'd like to preserve (i.e., change `default: true` to `default: false`) + --- ### _Navigation_ From 9295d3712092f2fc53061255e9a550a7d99bdfae Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Sat, 26 Nov 2022 23:25:54 +0100 Subject: [PATCH 35/50] Update to latest --- docs/wiki/The CI environment - Deployment removal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/The CI environment - Deployment removal.md b/docs/wiki/The CI environment - Deployment removal.md index e7a6ef4c89..abac5320a4 100644 --- a/docs/wiki/The CI environment - Deployment removal.md +++ b/docs/wiki/The CI environment - Deployment removal.md @@ -31,7 +31,7 @@ You can find the used scripts under Both scripts work in the same way: -1. The script fetches all current deployments from Azure. +1. The script fetches all current deployments at a given scope from Azure (i.e., Management-Group-scope or Subscription-scope). 1. By default it then filters them down to non-running & non-failing deployments (can be modified) unless they are older than a provided time limit in which case they'd always be included. 1. Lastly, it removes all matching deployments in chunks of 100 deployments each. From fa59fb1f28242ce770c063fdb7a2ade68981ae63 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Sat, 26 Nov 2022 23:31:22 +0100 Subject: [PATCH 36/50] Added example --- docs/wiki/The CI environment - Deployment removal.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/wiki/The CI environment - Deployment removal.md b/docs/wiki/The CI environment - Deployment removal.md index abac5320a4..35b9e37bb3 100644 --- a/docs/wiki/The CI environment - Deployment removal.md +++ b/docs/wiki/The CI environment - Deployment removal.md @@ -32,8 +32,17 @@ You can find the used scripts under Both scripts work in the same way: 1. The script fetches all current deployments at a given scope from Azure (i.e., Management-Group-scope or Subscription-scope). + - For example, it may find + - 120 successful deployments + - 10 failed deployments that are 3 weeks old + - 10 failed deployments that are 1 week old + - 10 running 1. By default it then filters them down to non-running & non-failing deployments (can be modified) unless they are older than a provided time limit in which case they'd always be included. + - Following the example, and with a time limit of 2 weeks, it now only considers the + - 120 successful deployments + - 10 failed deployments that are 3 weeks old 1. Lastly, it removes all matching deployments in chunks of 100 deployments each. + - In context of the example, this mean it deletes the deployments with to commands, first removing 100, and then 30. # How to use it From 3174c6ec714a913170bdd3b6737548aa023c317e Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Sat, 26 Nov 2022 23:32:48 +0100 Subject: [PATCH 37/50] Update to latest --- .../deploymentRemoval/Clear-ManagementGroupDeployment.ps1 | 2 +- .../deploymentRemoval/Clear-SubscriptionDeployment.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 b/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 index 1b39dea19a..e3fef0ba7a 100644 --- a/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 +++ b/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 @@ -37,7 +37,7 @@ function Clear-ManagementGroupDeployment { [string[]] $DeploymentStatusToExclude = @('running', 'failed'), [Parameter(Mandatory = $false)] - [int] $maxDeploymentRetentionInDays = 7 + [int] $maxDeploymentRetentionInDays = 14 ) [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 # Enables web reponse diff --git a/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 b/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 index e16a35566a..c39fdafaf2 100644 --- a/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 +++ b/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 @@ -37,7 +37,7 @@ function Clear-SubscriptionDeployment { [string[]] $DeploymentStatusToExclude = @('running', 'failed'), [Parameter(Mandatory = $false)] - [int] $maxDeploymentRetentionInDays = 7 + [int] $maxDeploymentRetentionInDays = 14 ) [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 # Enables web reponse From d478067bad696dd33d0708a58adc242f6f36bf49 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Sat, 26 Nov 2022 23:33:07 +0100 Subject: [PATCH 38/50] Update to latest --- docs/wiki/The CI environment - Deployment removal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/The CI environment - Deployment removal.md b/docs/wiki/The CI environment - Deployment removal.md index 35b9e37bb3..fdbb1c8f29 100644 --- a/docs/wiki/The CI environment - Deployment removal.md +++ b/docs/wiki/The CI environment - Deployment removal.md @@ -42,7 +42,7 @@ Both scripts work in the same way: - 120 successful deployments - 10 failed deployments that are 3 weeks old 1. Lastly, it removes all matching deployments in chunks of 100 deployments each. - - In context of the example, this mean it deletes the deployments with to commands, first removing 100, and then 30. + - In context of the example, this mean it deletes the deployments with to commands, first removing 100, and then 30 deployments. # How to use it From 7a476316da13cb5aa59bb4ba073d4b27f994e42b Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Sat, 26 Nov 2022 23:35:46 +0100 Subject: [PATCH 39/50] Update to latest --- docs/wiki/The CI environment - Deployment removal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/The CI environment - Deployment removal.md b/docs/wiki/The CI environment - Deployment removal.md index fdbb1c8f29..e2bd373b3f 100644 --- a/docs/wiki/The CI environment - Deployment removal.md +++ b/docs/wiki/The CI environment - Deployment removal.md @@ -37,7 +37,7 @@ Both scripts work in the same way: - 10 failed deployments that are 3 weeks old - 10 failed deployments that are 1 week old - 10 running -1. By default it then filters them down to non-running & non-failing deployments (can be modified) unless they are older than a provided time limit in which case they'd always be included. +1. By default it then filters them down to non-running & non-failing deployments (can be modified). It only considers failed deployments if they are older than a provided time limit in which case they are included too. - Following the example, and with a time limit of 2 weeks, it now only considers the - 120 successful deployments - 10 failed deployments that are 3 weeks old From 93ea332a860cc74554686074bd7e1f7b07ef2942 Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Mon, 28 Nov 2022 18:29:29 +0100 Subject: [PATCH 40/50] Update docs/wiki/The CI environment - Deployment removal.md Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- docs/wiki/The CI environment - Deployment removal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/The CI environment - Deployment removal.md b/docs/wiki/The CI environment - Deployment removal.md index e2bd373b3f..7a772b6328 100644 --- a/docs/wiki/The CI environment - Deployment removal.md +++ b/docs/wiki/The CI environment - Deployment removal.md @@ -1,4 +1,4 @@ -This pipeline and its scripts can be used to limit the number of deployments that are listed in Azure at any given time. This is especially useful for a scope like 'Management Group' is Azure does not provide any [automatic cleanup](https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history-deletions?tabs=azure-powershell). +This pipeline and its scripts can be used to limit the number of deployments that are listed in the Azure deployments history at any given time. This is especially useful for a scope like 'Management Group', since for that scope, Azure Resource Manager does not currently provide [automatic deletion](https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history-deletions?tabs=azure-powershell) of deployments from your history as you near the 800 limit. The corresponding error message would look similar to `Creating the deployment '' would exceed the quota of '800'. The current deployment count is '804'. Please delete some deployments before creating a new one, or see https://aka.ms/800LimitFix for information on managing deployment limits.` From c11c349b849f0bdcb611e321e2702a285bc4c6ad Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Mon, 28 Nov 2022 18:29:43 +0100 Subject: [PATCH 41/50] Update docs/wiki/The CI environment - Deployment removal.md Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- docs/wiki/The CI environment - Deployment removal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/The CI environment - Deployment removal.md b/docs/wiki/The CI environment - Deployment removal.md index 7a772b6328..ea70fd22b2 100644 --- a/docs/wiki/The CI environment - Deployment removal.md +++ b/docs/wiki/The CI environment - Deployment removal.md @@ -1,6 +1,6 @@ This pipeline and its scripts can be used to limit the number of deployments that are listed in the Azure deployments history at any given time. This is especially useful for a scope like 'Management Group', since for that scope, Azure Resource Manager does not currently provide [automatic deletion](https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history-deletions?tabs=azure-powershell) of deployments from your history as you near the 800 limit. -The corresponding error message would look similar to `Creating the deployment '' would exceed the quota of '800'. The current deployment count is '804'. Please delete some deployments before creating a new one, or see https://aka.ms/800LimitFix for information on managing deployment limits.` +Without automatic deletion, if the scope you are deploying to is already at the 800 limit, your next deployment fails with an error. The corresponding error message would look similar to `Creating the deployment '' would exceed the quota of '800'. The current deployment count is '804'. Please delete some deployments before creating a new one, or see https://aka.ms/800LimitFix for information on managing deployment limits.` The platform pipeline `platform.deployment.removal.yml` has an automatic schedule that runs every night, but can also be triggered on-demand. From c95aacf6c2fdd507a96aa8a87fae03319ec04a0f Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Mon, 28 Nov 2022 18:29:58 +0100 Subject: [PATCH 42/50] Update docs/wiki/The CI environment - Deployment removal.md Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- docs/wiki/The CI environment - Deployment removal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/The CI environment - Deployment removal.md b/docs/wiki/The CI environment - Deployment removal.md index ea70fd22b2..508aefba0a 100644 --- a/docs/wiki/The CI environment - Deployment removal.md +++ b/docs/wiki/The CI environment - Deployment removal.md @@ -36,7 +36,7 @@ Both scripts work in the same way: - 120 successful deployments - 10 failed deployments that are 3 weeks old - 10 failed deployments that are 1 week old - - 10 running + - 10 running deployments 1. By default it then filters them down to non-running & non-failing deployments (can be modified). It only considers failed deployments if they are older than a provided time limit in which case they are included too. - Following the example, and with a time limit of 2 weeks, it now only considers the - 120 successful deployments From 2023b810057dcb7a4b1fc616701c52a417fe3be0 Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Mon, 28 Nov 2022 18:30:08 +0100 Subject: [PATCH 43/50] Update docs/wiki/The CI environment - Deployment removal.md Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- docs/wiki/The CI environment - Deployment removal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/The CI environment - Deployment removal.md b/docs/wiki/The CI environment - Deployment removal.md index 508aefba0a..e43b056db6 100644 --- a/docs/wiki/The CI environment - Deployment removal.md +++ b/docs/wiki/The CI environment - Deployment removal.md @@ -37,7 +37,7 @@ Both scripts work in the same way: - 10 failed deployments that are 3 weeks old - 10 failed deployments that are 1 week old - 10 running deployments -1. By default it then filters them down to non-running & non-failing deployments (can be modified). It only considers failed deployments if they are older than a provided time limit in which case they are included too. +1. By default, it then filters them down to non-running & non-failing deployments (can be modified). It only considers failed deployments for deletion if they are older than a provided time limit. - Following the example, and with a time limit of 2 weeks, it now only considers the - 120 successful deployments - 10 failed deployments that are 3 weeks old From e811f2e39e8c647c5cbb4a2b06bde7eaa19b6e09 Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Mon, 28 Nov 2022 18:30:19 +0100 Subject: [PATCH 44/50] Update docs/wiki/The CI environment - Deployment removal.md Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- docs/wiki/The CI environment - Deployment removal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/The CI environment - Deployment removal.md b/docs/wiki/The CI environment - Deployment removal.md index e43b056db6..d54866ad17 100644 --- a/docs/wiki/The CI environment - Deployment removal.md +++ b/docs/wiki/The CI environment - Deployment removal.md @@ -42,7 +42,7 @@ Both scripts work in the same way: - 120 successful deployments - 10 failed deployments that are 3 weeks old 1. Lastly, it removes all matching deployments in chunks of 100 deployments each. - - In context of the example, this mean it deletes the deployments with to commands, first removing 100, and then 30 deployments. + - In the context of the example, this means the procedure deletes the deployments in 2 chunks, first removing 100, and then 30 deployments. # How to use it From 2558e6efcd71fa37db7dde85722ad39bc1b91f2f Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Mon, 28 Nov 2022 18:30:31 +0100 Subject: [PATCH 45/50] Update docs/wiki/The CI environment - Deployment removal.md Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- docs/wiki/The CI environment - Deployment removal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/The CI environment - Deployment removal.md b/docs/wiki/The CI environment - Deployment removal.md index d54866ad17..2f0efc2788 100644 --- a/docs/wiki/The CI environment - Deployment removal.md +++ b/docs/wiki/The CI environment - Deployment removal.md @@ -38,7 +38,7 @@ Both scripts work in the same way: - 10 failed deployments that are 1 week old - 10 running deployments 1. By default, it then filters them down to non-running & non-failing deployments (can be modified). It only considers failed deployments for deletion if they are older than a provided time limit. - - Following the example, and with a time limit of 2 weeks, it now only considers the + - Following the example, and with a `maxDeploymentRetentionInDays` of 14 days (2 weeks), the following deployments are targeted for deletion from the deployment history: - 120 successful deployments - 10 failed deployments that are 3 weeks old 1. Lastly, it removes all matching deployments in chunks of 100 deployments each. From ea0ef591c206f6e2fc3f5054e54cf62f78eff024 Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Mon, 28 Nov 2022 18:30:46 +0100 Subject: [PATCH 46/50] Update docs/wiki/The CI environment.md Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- docs/wiki/The CI environment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/The CI environment.md b/docs/wiki/The CI environment.md index 522e1c2fae..f6f92ba1bd 100644 --- a/docs/wiki/The CI environment.md +++ b/docs/wiki/The CI environment.md @@ -9,7 +9,7 @@ This section provides an overview of the design and principles the CARML Continu - [Pipeline design](./The%20CI%20environment%20-%20Pipeline%20design) - [Static validation](./The%20CI%20environment%20-%20Static%20validation) - [Deployment validation](./The%20CI%20environment%20-%20Deployment%20validation) - - [Deployment removal](./The%20CI%20environment%20-%20Deployment%20removal) + - [Deployment history cleanup](./The%20CI%20environment%20-%20Deployment%20history%20cleanup) - [Publishing](./The%20CI%20environment%20-%20Publishing) - [Token replacement](./The%20CI%20environment%20-%20Token%20replacement) - [GitHub ReadMe module table update](./The%20CI%20environment%20-%20GitHub%20ReadMe%20module%20table%20update) From 5646dd1728915f3d86f4cb7d279fb7b6bef271ef Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Mon, 28 Nov 2022 18:31:07 +0100 Subject: [PATCH 47/50] Update .github/actions/templates/getWorkflowInput/action.yml Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- .github/actions/templates/getWorkflowInput/action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/templates/getWorkflowInput/action.yml b/.github/actions/templates/getWorkflowInput/action.yml index a9eacf660c..b77946b01b 100644 --- a/.github/actions/templates/getWorkflowInput/action.yml +++ b/.github/actions/templates/getWorkflowInput/action.yml @@ -27,11 +27,11 @@ ## ACTION OUTPUTS ## ##----------------------------------------## ## -## |=============================================================================================| -## | Output | Description | -## |------------------|--------------------------------------------------------------------------| -## | removeDeployment | A table of all pipeline input parameters and their value in JSON format. | -## |=============================================================================================| +## |==========================================================================================| +## | Output | Description | +## |---------------|--------------------------------------------------------------------------| +## | workflowInput | A table of all pipeline input parameters and their value in JSON format. | +## |==========================================================================================| ## ##---------------------------------------------## From 26ba983414fb5535e0deca8d87d4ab14cecd091c Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Mon, 28 Nov 2022 18:31:20 +0100 Subject: [PATCH 48/50] Update utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- .../deploymentRemoval/Clear-SubscriptionDeployment.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 b/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 index c39fdafaf2..1ae559a031 100644 --- a/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 +++ b/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1 @@ -13,7 +13,7 @@ Optional. The ID of the subscription to remove the deployments from. Defaults to Optional. The status to exlude from removals. Can be multiple. By default, we exclude any deployment that is in state 'running' or 'failed'. .PARAMETER maxDeploymentRetentionInDays -Optional. The time to keep deployments for beyong the deployment statuses to exclude. In other words, if a deployment is older than the threshold, they will always be deleted. +Optional. The time to keep deployments with a status to exclude. In other words, if a deployment is in a status to exclude, but older than the threshold, it will be deleted. .EXAMPLE Clear-SubscriptionDeployment -subscriptionId '11111111-1111-1111-1111-111111111111' From de610e7ad15d2e45b5c9a06133e2e601f677b19f Mon Sep 17 00:00:00 2001 From: Alexander Sehr Date: Mon, 28 Nov 2022 18:31:49 +0100 Subject: [PATCH 49/50] Update utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com> --- .../deploymentRemoval/Clear-ManagementGroupDeployment.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 b/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 index e3fef0ba7a..c6361d5eec 100644 --- a/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 +++ b/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1 @@ -13,7 +13,7 @@ Mandatory. The Resource ID of the Management Group to remove the deployments fro Optional. The status to exlude from removals. Can be multiple. By default, we exclude any deployment that is in state 'running' or 'failed'. .PARAMETER maxDeploymentRetentionInDays -Optional. The time to keep deployments for beyong the deployment statuses to exclude. In other words, if a deployment is older than the threshold, they will always be deleted. +Optional. The time to keep deployments with a status to exclude. In other words, if a deployment is in a status to exclude, but older than the threshold, it will be deleted. .EXAMPLE Clear-ManagementGroupDeployment -ManagementGroupId 'MyManagementGroupId' From 5ed1be73adcab75ea0656d910ce9cf271075858d Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Mon, 28 Nov 2022 18:46:23 +0100 Subject: [PATCH 50/50] Renamed file --- ...nvironment - Deployment history cleanup.md | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 docs/wiki/The CI environment - Deployment history cleanup.md diff --git a/docs/wiki/The CI environment - Deployment history cleanup.md b/docs/wiki/The CI environment - Deployment history cleanup.md new file mode 100644 index 0000000000..e2bd373b3f --- /dev/null +++ b/docs/wiki/The CI environment - Deployment history cleanup.md @@ -0,0 +1,51 @@ +This pipeline and its scripts can be used to limit the number of deployments that are listed in Azure at any given time. This is especially useful for a scope like 'Management Group' is Azure does not provide any [automatic cleanup](https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history-deletions?tabs=azure-powershell). + +The corresponding error message would look similar to `Creating the deployment '' would exceed the quota of '800'. The current deployment count is '804'. Please delete some deployments before creating a new one, or see https://aka.ms/800LimitFix for information on managing deployment limits.` + +The platform pipeline `platform.deployment.removal.yml` has an automatic schedule that runs every night, but can also be triggered on-demand. + +By default, the pipeline will cleanup both the Subscription, as well as Management Group scope using the used script's default configuration. In addition, you can specify a pipeline variable `maxDeploymentRetentionInDays` to define beyond which time frame deployments should always be deleted. Within the timeframe, only non-failed and non-running deployments are considered. + +> **NOTE**
In order for the pipeline to remove both Management-Group-Level as well as Subscription-Level deployments the used service principal needs the [permissions](https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history-deletions?tabs=azure-powershell#required-permissions) either scope. If you use CARML to test deployments on any of these scopes your principal will already have the required permissions.
+> In case the principal does not have the required permissions you can either: +> - Not register the `platform.deployment.removal.yml` pipeline OR +> - Adjust the pipeline's default behavior to not remove deployments on the scope you'd like to preserve (i.e., change `default: true` to `default: false`) + +--- + +### _Navigation_ + +- [Location](#location) +- [How it works](#how-it-works) +- [How to use it](#how-to-use-it) + +--- +# Location + +You can find the used scripts under +- [`/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment`](https://github.com/Azure/ResourceModules/blob/main/utilities/pipelines/deploymentRemoval/Clear-SubscriptionDeployment.ps1) and +- [`/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment`](https://github.com/Azure/ResourceModules/blob/main/utilities/pipelines/deploymentRemoval/Clear-ManagementGroupDeployment.ps1) + + +# How it works + +Both scripts work in the same way: + +1. The script fetches all current deployments at a given scope from Azure (i.e., Management-Group-scope or Subscription-scope). + - For example, it may find + - 120 successful deployments + - 10 failed deployments that are 3 weeks old + - 10 failed deployments that are 1 week old + - 10 running +1. By default it then filters them down to non-running & non-failing deployments (can be modified). It only considers failed deployments if they are older than a provided time limit in which case they are included too. + - Following the example, and with a time limit of 2 weeks, it now only considers the + - 120 successful deployments + - 10 failed deployments that are 3 weeks old +1. Lastly, it removes all matching deployments in chunks of 100 deployments each. + - In context of the example, this mean it deletes the deployments with to commands, first removing 100, and then 30 deployments. + +# How to use it + +For details on how to use the functions, please refer to the scripts local documentation. + +> **Note:** Each script must be loaded ('*dot-sourced*') before the function can be invoked.