Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Bump PSRule.Azure Baseline to Azure.GA_2022_09 #333

Merged
merged 5 commits into from
Oct 10, 2022
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/bicep-build-to-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
run: |
$bicepVersion = bicep --version
Write-Information "=====> Currently installed Bicep version is: $bicepVersion <=====" -InformationAction Continue

- name: Install latest version of Bicep
shell: sh
run: |
# From https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/install#linux
# From https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/install#linux
# Fetch the latest Bicep CLI binary
curl -Lo bicep https://github.com/Azure/bicep/releases/latest/download/bicep-linux-x64
# Mark it as executable
Expand All @@ -41,13 +41,13 @@ jobs:
# Verify you can now access the 'bicep' command
bicep --help
# Done!

- name: List Now Installed Bicep Version
shell: pwsh
run: |
$bicepVersion = bicep --version
Write-Information "=====> Now installed Bicep version is: $bicepVersion <=====" -InformationAction Continue

- name: Bicep Build & Lint All Modules
shell: pwsh
run: |
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
}

Write-Information "==> Remove nested deployments resource type" -InformationAction Continue
$resourceTypesFullList.Remove('Microsoft.Resources/Deployments')
$resourceTypesFullList.Remove('Microsoft.Resources/Deployments')

Write-Information "***** List of resource types in ALZ-Bicep modules *****" -InformationAction Continue
$resourceTypesFullList.Keys | Sort-Object
Expand All @@ -100,7 +100,6 @@ jobs:
runs-on: ubuntu-latest

steps:

- name: Checkout Repo
uses: actions/checkout@v3
with:
Expand All @@ -112,5 +111,5 @@ jobs:
uses: Microsoft/ps-rule@v2.3.2
with:
modules: PSRule.Rules.Azure
baseline: Azure.GA_2022_06
baseline: Azure.GA_2022_09
continue-on-error: true