Skip to content

Commit

Permalink
chore(deps): update all to v2 (major) (#776)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Azure/cli](https://togithub.com/Azure/cli) | action | major |
`v1.0.9` -> `v2.0.0` |
| [azure/login](https://togithub.com/azure/login) | action | major |
`v1` -> `v2` |

---

### Release Notes

<details>
<summary>Azure/cli (Azure/cli)</summary>

### [`v2.0.0`](https://togithub.com/Azure/cli/releases/tag/v2.0.0):
GitHub Action for Azure CLI v2

[Compare Source](https://togithub.com/Azure/cli/compare/v1.0.9...v2.0.0)

##### What's Changed

- Update Action to use Node.js v20 by
[@&#8203;eikooc](https://togithub.com/eikooc) in
[https://github.com/Azure/cli/pull/126](https://togithub.com/Azure/cli/pull/126)
- Bump dependencies to the latest versions by
[@&#8203;MoChilia](https://togithub.com/MoChilia) in
[https://github.com/Azure/cli/pull/135](https://togithub.com/Azure/cli/pull/135)

##### New Contributors

- [@&#8203;eikooc](https://togithub.com/eikooc) made their first
contribution in
[https://github.com/Azure/cli/pull/126](https://togithub.com/Azure/cli/pull/126)

**Full Changelog**: Azure/cli@v1.0.9...v2

</details>

<details>
<summary>azure/login (azure/login)</summary>

### [`v2`](https://togithub.com/azure/login/compare/v1...v2)

[Compare Source](https://togithub.com/azure/login/compare/v1...v2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/UK-Export-Finance/mdm-api).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
  • Loading branch information
avaitonis authored Apr 15, 2024
2 parents b6dd5ac + 0c4ea4b commit 08ee1d6
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ jobs:
uses: actions/checkout@v4

- name: Azure 🔐
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Defaults ✨
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.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@v1.0.9
uses: Azure/cli@v2.0.0
with:
inlineScript: |
az containerapp update \
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
- name: Import ⬇️
if: ${{ '' != env.API_ID }}
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.0
with:
inlineScript: |
# API specification import
Expand Down
62 changes: 31 additions & 31 deletions .github/workflows/infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ jobs:
'Team=development' >> $GITHUB_ENV

- name: Login 🔐
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Azure defaults ✨
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.0
with:
inlineScript: |
# Basic
Expand All @@ -126,15 +126,15 @@ jobs:
az extension add --name containerapp --upgrade
- name: Resource group 🏗️
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.0
with:
inlineScript: |
az group create \
--name rg-${{ env.PRODUCT }}-${{ env.TARGET }}-${{ vars.VERSION }} \
--tags ${{ env.TAGS }}
- name: Log analytics workspace 📝
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.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@v1.0.9
uses: Azure/cli@v2.0.0
with:
inlineScript: |
az acr create \
Expand All @@ -159,7 +159,7 @@ jobs:
--tags ${{ env.TAGS }}
- name: Virtual network 🧵
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.0
with:
inlineScript: |
az network vnet create \
Expand All @@ -171,13 +171,13 @@ jobs:
--tags ${{ env.TAGS }}
- name: Login 🔐
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS_AMI }}

- name: AMI Pre-production 🔀
if: contains('["dev", "staging"]', env.TARGET)
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.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@v1.0.9
uses: Azure/cli@v2.0.0
with:
inlineScript: |
# Azure Managed Instance (AMI) SQL DB production VNET peering
Expand Down Expand Up @@ -234,12 +234,12 @@ jobs:
--query peeringState)"
- name: Login 🔐
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS_VPN }}

- name: VNET Peer - VPN 🔀
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.0
with:
inlineScript: |
# VPN VNET peering
Expand Down Expand Up @@ -267,12 +267,12 @@ jobs:
--query peeringState)"
- name: Login 🔐
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Route table 🌐
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.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@v1.0.9
uses: Azure/cli@v2.0.0
with:
inlineScript: |
az containerapp env create \
Expand All @@ -300,7 +300,7 @@ jobs:
--tags ${{ env.TAGS }}
- name: Container app - MDM 📄
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.0
with:
inlineScript: |
az containerapp create \
Expand All @@ -319,7 +319,7 @@ jobs:
--tags ${{ env.TAGS }}
- name: API management ⚡️
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.0
with:
inlineScript: |
az apim create \
Expand Down Expand Up @@ -347,20 +347,20 @@ jobs:
run: echo "TYPE=Production" >> $GITHUB_ENV

- name: Login 🔐
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Azure defaults ✨
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.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@v1.0.9
uses: Azure/cli@v2.0.0
with:
inlineScript: |
# Associate VPN route table to default subnet
Expand All @@ -385,12 +385,12 @@ jobs:
run: echo "TYPE=Production" >> $GITHUB_ENV

- name: Login 🔐
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Azure defaults ✨
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.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@v1.0.9
uses: Azure/cli@v2.0.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@v1.0.9
uses: Azure/cli@v2.0.0
if: ${{ '' != env.PRODUCT_STARTER }}
with:
inlineScript: |
Expand All @@ -429,7 +429,7 @@ jobs:
--yes
- name: Delete - Unlimited product
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.0
if: ${{ '' != env.PRODUCT_UNLIMITED }}
with:
inlineScript: |
Expand All @@ -440,7 +440,7 @@ jobs:
--yes
- name: Delete - Echo API
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.0
if: ${{ '' != env.API_ECHO }}
with:
inlineScript: |
Expand Down Expand Up @@ -469,12 +469,12 @@ jobs:
run: echo "TYPE=Production" >> $GITHUB_ENV

- name: Login 🔐
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Azure defaults ✨
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.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@v1.0.9
uses: Azure/cli@v2.0.0
if: ${{ '' == env.PRODUCT_MDM }}
with:
inlineScript: |
Expand All @@ -500,7 +500,7 @@ jobs:
--subscription-required true
- name: MDM - API import ⬇️
uses: Azure/cli@v1.0.9
uses: Azure/cli@v2.0.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@v1.0.9
uses: Azure/cli@v2.0.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@v1.0.9
uses: Azure/cli@v2.0.0
if: ${{ '' != env.API_MDM }}
with:
inlineScript: |
Expand Down

0 comments on commit 08ee1d6

Please sign in to comment.