Skip to content

Commit

Permalink
chore: bump azure/CLI from 1.0.9 to 2.0.0 (#99)
Browse files Browse the repository at this point in the history
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [azure/CLI](https://github.com/azure/cli) from 1.0.9 to 2.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/azure/cli/releases">azure/CLI's
releases</a>.</em></p>
<blockquote>
<h2>GitHub Action for Azure CLI v2</h2>
<h2>What's Changed</h2>
<ul>
<li>Update Action to use Node.js v20 by <a
href="https://github.com/eikooc"><code>@​eikooc</code></a> in <a
href="https://redirect.github.com/Azure/cli/pull/126">Azure/cli#126</a></li>
<li>Bump dependencies to the latest versions by <a
href="https://github.com/MoChilia"><code>@​MoChilia</code></a> in <a
href="https://redirect.github.com/Azure/cli/pull/135">Azure/cli#135</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/eikooc"><code>@​eikooc</code></a> made
their first contribution in <a
href="https://redirect.github.com/Azure/cli/pull/126">Azure/cli#126</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/Azure/cli/compare/v1.0.9...v2">https://github.com/Azure/cli/compare/v1.0.9...v2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Azure/cli/commit/965c8d7571d2231a54e321ddd07f7b10317f34d9"><code>965c8d7</code></a>
Release v2</li>
<li><a
href="https://github.com/Azure/cli/commit/4343bca283b169928e26678f7a927e27bca5aac7"><code>4343bca</code></a>
update readme for v2 (<a
href="https://redirect.github.com/azure/cli/issues/140">#140</a>)</li>
<li><a
href="https://github.com/Azure/cli/commit/0150783ef4754a992c22f1f9f02d4d52cc75d8de"><code>0150783</code></a>
Add changes</li>
<li><a
href="https://github.com/Azure/cli/commit/4b557fa51df52fe3c1419767b3f9f4e4b3f5fc75"><code>4b557fa</code></a>
Use <code>process.env</code> instead of <code>core.exportvariable</code>
to set env (<a
href="https://redirect.github.com/azure/cli/issues/138">#138</a>)</li>
<li><a
href="https://github.com/Azure/cli/commit/12aaf8e03cc10b314932344633f0ba9ce754506c"><code>12aaf8e</code></a>
remove env for integration test (<a
href="https://redirect.github.com/azure/cli/issues/137">#137</a>)</li>
<li><a
href="https://github.com/Azure/cli/commit/09e9174ac76e10306dbcaaba7851fccdf45f56f3"><code>09e9174</code></a>
Add changes</li>
<li><a
href="https://github.com/Azure/cli/commit/bf9d5ac2270a9a34d0c099aec83837844885be1a"><code>bf9d5ac</code></a>
Bump dependencies to the latest versions (<a
href="https://redirect.github.com/azure/cli/issues/135">#135</a>)</li>
<li><a
href="https://github.com/Azure/cli/commit/f3881a60511db355db9ba9ed5848426c82b6acd1"><code>f3881a6</code></a>
{Automation} Add CI tests (<a
href="https://redirect.github.com/azure/cli/issues/136">#136</a>)</li>
<li><a
href="https://github.com/Azure/cli/commit/3994327f5fcaad20218f886037436690a1a77f02"><code>3994327</code></a>
Update action node version from v16 to v20(<a
href="https://redirect.github.com/azure/cli/issues/126">#126</a>)</li>
<li><a
href="https://github.com/Azure/cli/commit/9849316e8dae4122162bc6bc83c98b6019e17cab"><code>9849316</code></a>
add permission block (<a
href="https://redirect.github.com/azure/cli/issues/130">#130</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/azure/cli/compare/v1.0.9...v2.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=azure/CLI&package-manager=github_actions&previous-version=1.0.9&new-version=2.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Mar 11, 2024
1 parent 9fdad03 commit 87531f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
AZURE_ACR_NAME: ${{ env.CLUSTER_NAME }}

- name: Create Azure Identity
uses: azure/CLI@v1.0.9
uses: azure/CLI@v2.0.0
with:
inlineScript: |
az identity create --name gpuIdentity --resource-group ${{ env.CLUSTER_NAME }}
Expand Down Expand Up @@ -132,14 +132,14 @@ jobs:
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Create Role Assignment
uses: azure/CLI@v1.0.9
uses: azure/CLI@v2.0.0
with:
inlineScript: |
IDENTITY_PRINCIPAL_ID="$(az identity show --name gpuIdentity --resource-group ${{ env.CLUSTER_NAME }} --query 'principalId' -otsv)"
az role assignment create --assignee ${IDENTITY_PRINCIPAL_ID} --scope "/subscriptions/${{ secrets.AZURE_SUBSCRIPTION_ID }}/resourceGroups/${{ env.CLUSTER_NAME }}/providers/Microsoft.ContainerService/managedClusters/${{ env.CLUSTER_NAME }}" --role "Contributor"
- name: Create Azure Federated Identity
uses: azure/CLI@v1.0.9
uses: azure/CLI@v2.0.0
with:
inlineScript: |
AKS_OIDC_ISSUER="$(az aks show -n "${{ env.CLUSTER_NAME }}" -g "${{ env.CLUSTER_NAME }}" --query 'oidcIssuerProfile.issuerUrl' -otsv)"
Expand All @@ -152,7 +152,7 @@ jobs:
- name: Cleanup e2e resources
if: ${{ always() }}
uses: azure/CLI@v1.0.9
uses: azure/CLI@v2.0.0
with:
inlineScript: |
set +e
Expand Down

0 comments on commit 87531f9

Please sign in to comment.