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

chore(deps): Bump Azure/cli from 2.0.0 to 2.1.0 #1003

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
6 changes: 3 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Defaults ✨
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
# Basic
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
docker push ${{ env.ACR }}/${{ env.NAME }}:${{ env.FROM }}

- name: Revisions 🔀
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
az containerapp update \
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:

- name: Import ⬇️
if: ${{ '' != env.API_ID }}
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
# API specification import
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Azure defaults ✨
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
# Basic
Expand All @@ -126,15 +126,15 @@ jobs:
az extension add --name containerapp --upgrade

- name: Resource group 🏗️
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
az group create \
--name rg-${{ env.PRODUCT }}-${{ env.TARGET }}-${{ vars.VERSION }} \
--tags ${{ env.TAGS }}

- name: Log analytics workspace 📝
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
az monitor log-analytics workspace create \
Expand All @@ -148,7 +148,7 @@ jobs:
--tags ${{ env.TAGS }}

- name: Container registry 📦️
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
az acr create \
Expand All @@ -159,7 +159,7 @@ jobs:
--tags ${{ env.TAGS }}

- name: Virtual network 🧵
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
az network vnet create \
Expand All @@ -177,7 +177,7 @@ jobs:

- name: AMI Pre-production 🔀
if: contains('["dev", "staging"]', env.TARGET)
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
# Azure Managed Instance (AMI) SQL non-production DB VNET peering
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:

- name: AMI Production 🔀
if: ${{ 'production' == env.TARGET }}
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
# Azure Managed Instance (AMI) SQL DB production VNET peering
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS_VPN }}

- name: VNET Peer - VPN 🔀
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
# VPN VNET peering
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Route table 🌐
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
az network route-table create \
Expand All @@ -289,7 +289,7 @@ jobs:
--next-hop-type VirtualAppliance

- name: Container app environment 🗃️
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
az containerapp env create \
Expand All @@ -300,7 +300,7 @@ jobs:
--tags ${{ env.TAGS }}

- name: Container app - MDM 📄
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
az containerapp create \
Expand All @@ -319,7 +319,7 @@ jobs:
--tags ${{ env.TAGS }}

- name: API management ⚡️
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
az apim create \
Expand Down Expand Up @@ -352,15 +352,15 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Azure defaults ✨
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
# Basic
az configure --defaults location=${{ vars.REGION }}
az configure --defaults group=rg-${{ env.PRODUCT }}-${{ env.TARGET }}-${{ vars.VERSION }}

- name: Subnet routing table 🌐
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
# Associate VPN route table to default subnet
Expand Down Expand Up @@ -390,7 +390,7 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Azure defaults ✨
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
# Basic
Expand All @@ -404,7 +404,7 @@ jobs:
echo API_ECHO=$(az apim api list --service-name apim-${{ env.ENVIRONMENT }}-${{ env.TARGET }}-${{ vars.VERSION }} --filter-display-name 'Echo API' --top 1 --query [0].name -o tsv) >> $GITHUB_ENV

- name: IP restriction 🔒️
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
# Add APIM public IP
Expand All @@ -418,7 +418,7 @@ jobs:
--description 'Allow APIM public IP address'

- name: Delete - Starter product
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
if: ${{ '' != env.PRODUCT_STARTER }}
with:
inlineScript: |
Expand All @@ -429,7 +429,7 @@ jobs:
--yes

- name: Delete - Unlimited product
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
if: ${{ '' != env.PRODUCT_UNLIMITED }}
with:
inlineScript: |
Expand All @@ -440,7 +440,7 @@ jobs:
--yes

- name: Delete - Echo API
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
if: ${{ '' != env.API_ECHO }}
with:
inlineScript: |
Expand Down Expand Up @@ -474,7 +474,7 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Azure defaults ✨
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
with:
inlineScript: |
# Basic
Expand All @@ -487,7 +487,7 @@ jobs:
echo API_MDM=$(az apim api list --service-name apim-${{ env.ENVIRONMENT }}-${{ env.TARGET }}-${{ vars.VERSION }} --filter-display-name ${{ env.NAME_UPPERCASE }} --top 1 --query [0].name -o tsv) >> $GITHUB_ENV

- name: MDM - Product ➕
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
if: ${{ '' == env.PRODUCT_MDM }}
with:
inlineScript: |
Expand All @@ -500,7 +500,7 @@ jobs:
--subscription-required true

- name: MDM - API import ⬇️
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
if: ${{ '' == env.API_MDM }}
with:
inlineScript: |
Expand All @@ -517,7 +517,7 @@ jobs:
--specification-url https://$(az containerapp show --name ca-${{ env.PRODUCT }}-mdm-${{ env.TARGET }}-${{ vars.VERSION }} --query properties.latestRevisionFqdn -o tsv)/openapi/json

- name: MDM - Product + API 🧱
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
if: ${{ '' != env.API_MDM }}
with:
inlineScript: |
Expand All @@ -527,7 +527,7 @@ jobs:
--product-id $(az apim product list --service-name apim-${{ env.ENVIRONMENT }}-${{ env.TARGET }}-${{ vars.VERSION }} --query '[?contains(displayName, `apim-${{ env.PRODUCT }}-mdm`)].name' -o tsv)

- name: MDM - Policy 🚧
uses: Azure/cli@v2.0.0
uses: Azure/cli@v2.1.0
if: ${{ '' != env.API_MDM }}
with:
inlineScript: |
Expand Down
Loading