Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
groups:
github-actions:
patterns: ["*"]
schedule:
interval: "weekly"
cooldown:
default-days: 7
4 changes: 2 additions & 2 deletions .github/workflows/AKSC_Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
AGNAME: ${{ steps.deployAks.outputs.AGNAME }}
steps:
# Login to Azure
- uses: azure/login@v2
- uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
name: Initial Login to Azure to Deploy
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
echo "AGNAME=$appGatewayName" >> $GITHUB_OUTPUT

# Re-Login to Azure if we're using the AKS RUN COMMAND
- uses: azure/login@v2
- uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
name: Initial Login to Azure to Deploy
if: inputs.postScriptParams && inputs.postScriptInvokeCommand == true
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/AksTroubleshooting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
run: az extension add -n log-analytics -y

- name: Azure Login
uses: azure/login@v2
uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
enable-AzPSSession: true
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
if: always() && inputs.AGNAME != ''
steps:
- name: Azure Login
uses: azure/login@v2
uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
enable-AzPSSession: true
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:

- name: Store any generated debug json files as artifacts
if: always()
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: Troubleshooting-AGIC
path: debug*.*
Expand All @@ -252,7 +252,7 @@ jobs:
echo "LA workspace guid is ${{ inputs.LAWGUID }}"

- name: Azure Login
uses: azure/login@v2
uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
enable-AzPSSession: true
Expand All @@ -275,7 +275,7 @@ jobs:

- name: Check Run Command
if: inputs.USERUNCMD == true
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
env:
AZCLIVERSION: latest
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/AppDeploy_AzureVote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
AKSNAME: "${{ inputs.AKSNAME}}"
RG: "${{ inputs.RG }}"
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Job parameter inspection
run: |
Expand All @@ -79,7 +79,7 @@ jobs:
echo "AKS name is ${{ inputs.AKSNAME }}"

- name: Azure Login
uses: azure/login@v2
uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
enable-AzPSSession: false
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:

- name: Store any generated debug files as artifacts
if: always()
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: DebugFiles
path: debug*.json
4 changes: 2 additions & 2 deletions .github/workflows/AppDeploy_JavaApp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
runs-on: ubuntu-latest
concurrency: "Ag-${{ inputs.AGNAME}}" #AppGateway doesn't like concurrent updates
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Job parameter inspection
run: |
Expand All @@ -72,7 +72,7 @@ jobs:
echo "CertManager version is ${{ inputs.CERTMANAGERVERSION }}"

- name: Azure Login
uses: azure/login@v2
uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
enable-AzPSSession: false
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/ByoVnetCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ jobs:
needs: [Validation]
if: github.event_name != 'pull_request' || github.event.inputs.doWellArchitected == 'true' || contains( github.event.pull_request.labels.*.name, 'test-deploy-byoconfig')
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# PSRule does this cool thing where it traverse the parameter file through to the arm template
# PSRule performs IaC recommendations of the template.
# https://azure.github.io/PSRule.Rules.Azure/
- name: PSRule for Azure - Well Architected
uses: microsoft/ps-rule@v2.7.0
uses: microsoft/ps-rule@1570d7788f7aaa44c3375a6f52ee9404c694fc91 # v2.7.0
#uses: microsoft/ps-rule@main
continue-on-error: true #Setting this whilst PSRule gets bedded in, in this project
with:
Expand All @@ -112,7 +112,7 @@ jobs:
# In addition to the Well Architected analysis, we can also leverage the CAF rules
# Run analysis against PSRule for Cloud Adoption Framework
- name: PSRule for CAF
uses: microsoft/ps-rule@v2.7.0
uses: microsoft/ps-rule@1570d7788f7aaa44c3375a6f52ee9404c694fc91 # v2.7.0
continue-on-error: true #Setting this whilst PSRule gets bedded in, in this project
with:
modules: 'PSRule.Rules.CAF'
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
PARAMOVERRIDES: ${{ steps.imperitiveparams.outputs.PARAMOVERRIDES}} #This won't work if the string includes any SECRETS!!!
PARAMOVERRIDESNOSECRETS: ${{ steps.imperitiveparams.outputs.PARAMOVERRIDESNOSECRETS}}
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Job parameter check
run: |
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
echo "NEWRESNAME=$NEWRESNAME" >> $GITHUB_OUTPUT

- name: Azure Login
uses: azure/login@v2
uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand All @@ -232,7 +232,7 @@ jobs:
if: github.event.inputs.doVerifySteps == 'true'
env:
RG: ${{ steps.params.outputs.RESOURCEGROUP }}
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
with:
azcliversion: ${{ env.AZCLIVERSION }}
inlineScript: |
Expand Down Expand Up @@ -288,7 +288,7 @@ jobs:
}

- name: Create Parameter file imperative override string
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
id: imperitiveparams
env:
RG: ${{ steps.params.outputs.RESOURCEGROUP }}
Expand All @@ -304,7 +304,7 @@ jobs:
echo "PARAMOVERRIDESNOSECRETS=$PARAMOVERRIDESNOSECRETS" >> $GITHUB_OUTPUT

- name: Validate Infrastructure deployment
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
env:
RG: ${{ steps.params.outputs.RESOURCEGROUP }}
with:
Expand All @@ -319,7 +319,7 @@ jobs:
az deployment group validate -f bicep/main.bicep -g $RG -p ${{ env.ParamFilePath }} -p $PARAMS --verbose

- name: What If (GA edge Az cli version) (has issues)
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
id: edgeWhatIf
env:
RG: ${{ steps.params.outputs.RESOURCEGROUP }}
Expand All @@ -346,7 +346,7 @@ jobs:
echo "edgeSuccess=true" >> $GITHUB_OUTPUT

- name: What If (No Secrets param string, used for Cost Estimate)
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
env:
RG: ${{ steps.params.outputs.RESOURCEGROUP }}
continue-on-error: true
Expand All @@ -367,7 +367,7 @@ jobs:
cat $WHATIFPATH

- name: What If (workaround task)
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
continue-on-error: true #Setting to true due to bug in the AzureCLI https://github.com/Azure/azure-cli/issues/19850
if: steps.edgeWhatIf.outputs.edgeSuccess != 'true'
env:
Expand Down Expand Up @@ -481,7 +481,7 @@ jobs:

if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/develop' || contains( github.event.pull_request.labels.*.name, 'test-deploy-byoconfig')
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Job parameter check
if: github.event.inputs.doDebugSteps == 'true'
Expand All @@ -505,7 +505,7 @@ jobs:
}

- name: Azure Login
uses: azure/login@v2
uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand All @@ -516,7 +516,7 @@ jobs:

- name: Deploy Infrastructure
id: deployAks
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
with:
azcliversion: ${{ env.AZCLIVERSION }}
inlineScript: |
Expand Down Expand Up @@ -550,7 +550,7 @@ jobs:


- name: Enable AGIC Addon
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
if: ${{ needs.Deploy.outputs.AGNAME}} != ''
with:
azcliversion: ${{ env.AZCLIVERSION }}
Expand Down Expand Up @@ -676,7 +676,7 @@ jobs:
SmokeTest_JavaApp-certmgr:
needs: [Deploy, ReusableWF, Post-Deploy]
#uses: azure-samples/java-aks-keyvault-tls/.github/workflows/deployapp.yml@gb-workflow-bumps
uses: azure-samples/java-aks-keyvault-tls/.github/workflows/deployapp.yml@0.9.5
uses: azure-samples/java-aks-keyvault-tls/.github/workflows/deployapp.yml@57dd8b4cbfffcb24246250c6da79e5d6ff0dbbf1 # 0.9.5
with:
#ENVIRONMENT: ${{ needs.ReusableWF.outputs.ENVIRONMENT }}
REPOREF: "0.9.5"
Expand All @@ -700,7 +700,7 @@ jobs:

SmokeTest_JavaApp-appgw:
needs: [Deploy, ReusableWF, Post-Deploy, SmokeTest_JavaApp-certmgr]
uses: azure-samples/java-aks-keyvault-tls/.github/workflows/deployapp.yml@0.9.5
uses: azure-samples/java-aks-keyvault-tls/.github/workflows/deployapp.yml@57dd8b4cbfffcb24246250c6da79e5d6ff0dbbf1 # 0.9.5
with:
#ENVIRONMENT: ${{ needs.ReusableWF.outputs.ENVIRONMENT }}
REPOREF: "0.9.5"
Expand Down Expand Up @@ -728,7 +728,7 @@ jobs:
env:
RG: ${{ needs.Validation.outputs.RESOURCEGROUP }}
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Param check
if: github.event.inputs.doDebugSteps == 'true'
Expand All @@ -740,7 +740,7 @@ jobs:
echo "AKS name is ${{ needs.Deploy.outputs.AKSNAME }}"

- name: Azure Login
uses: azure/login@v2
uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/ByoVnetPrivateCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ jobs:
environment: ${{ github.event.inputs.environment }}
if: github.event_name == 'pull_request' || github.event.inputs.doWellArchitected == 'true'
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# PSRule does this cool thing where it traverse the parameter file through to the arm template
# PSRule performs IaC recommendations of the template.
# https://azure.github.io/PSRule.Rules.Azure/
- name: PSRule - Analyze Azure parameter file
uses: Microsoft/ps-rule@v2.3.2
uses: Microsoft/ps-rule@67f1f9054911c456a7dbb950201f666f0b744bc7 # v2.3.2
continue-on-error: true #Setting this whilst PSRule gets bedded in, in this project
with:
modules: 'PSRule.Rules.Azure'
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
RESNAME: ${{ steps.params.outputs.NEWRESNAME}}

steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Job parameter check
run: |
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
echo "NEWRESNAME=$NEWRESNAME" >> $GITHUB_OUTPUT

- name: Azure Login
uses: azure/login@v2
uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
enable-AzPSSession: false
Expand All @@ -226,7 +226,7 @@ jobs:
- name: Verify any active Azure Resource Group Deployments #These can mess up our deployment
if: github.event.inputs.doDebugSteps == 'true'
id: activedeps
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
with:
azcliversion: ${{ env.AZCLIVERSION }}
inlineScript: |
Expand All @@ -247,15 +247,15 @@ jobs:
fi

- name: Validate Infrastructure deployment
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
with:
azcliversion: ${{ env.AZCLIVERSION }}
inlineScript: |
az deployment group validate -f bicep/main.bicep -g $RG -p ${{ env.ParamFilePath }} -p resourceName=${{ steps.params.outputs.NEWRESNAME}} location=${{ steps.params.outputs.REGION}}

- name: What If
if: github.event.inputs.doDebugSteps == 'true'
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
continue-on-error: ${{ secrets.ISAZCLIWHATIFUNRELIABLE == 'true' }}
with:
azcliversion: ${{ env.AZCLIVERSION }}
Expand All @@ -277,7 +277,7 @@ jobs:
REGION: ${{ needs.Validation.outputs.REGION }}
RESNAME: ${{ needs.Validation.outputs.RESNAME }}
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Job parameter check
if: github.event.inputs.doVerifySteps == 'true'
Expand All @@ -304,7 +304,7 @@ jobs:
}

- name: Azure Login
uses: azure/login@v2
uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
enable-AzPSSession: true
Expand All @@ -313,7 +313,7 @@ jobs:

- name: Deploy Infrastructure
id: deployAks
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
with:
azcliversion: ${{ env.AZCLIVERSION }}
inlineScript: |
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
sleep $DELAY

- name: Enable AGIC Addon
uses: Azure/cli@v2
uses: Azure/cli@9f7ce6f37c31b777ec6c6b6d1dfe7db79f497956 # v2.2.0
with:
azcliversion: ${{ env.AZCLIVERSION }}
inlineScript: |
Expand Down
Loading