Skip to content

Install default azure extensions#1566

Merged
bigfluffycookie merged 33 commits intomainfrom
lb/azext
Nov 11, 2025
Merged

Install default azure extensions#1566
bigfluffycookie merged 33 commits intomainfrom
lb/azext

Conversation

@bigfluffycookie
Copy link
Copy Markdown
Contributor

Fixes OPS-2673

@linear
Copy link
Copy Markdown

linear Bot commented Nov 5, 2025

Comment thread .devcontainer/Dockerfile
# Install Azure CLI
curl -sL https://aka.ms/InstallAzureCLIDeb | bash

# Configure Azure CLI extensions
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk what the common extensions are, so i just picked some that seemed to be, maybe we need to add more?

@bigfluffycookie bigfluffycookie marked this pull request as ready for review November 5, 2025 11:25
Copilot AI review requested due to automatic review settings November 5, 2025 11:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses OPS-2673 by pre-installing default Azure CLI extensions and ensuring Azure CLI configuration persists across invocations. The changes switch from temporary to persistent Azure configuration directories and install commonly used Azure extensions during container build time.

Key Changes:

  • Modified Azure CLI to use persistent configuration directory instead of temporary directories
  • Pre-installed default Azure CLI extensions (reservation, resource-graph, costmanagement, billing-benefits, quotas, ssh) in both production and development containers

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/blocks/azure/src/lib/azure-cli.ts Changed from temporary to persistent Azure config directory to retain installed extensions
Dockerfile Added Azure CLI extensions installation step for production container
.devcontainer/Dockerfile Added Azure CLI extensions installation step for development container

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/blocks/azure/src/lib/azure-cli.ts Outdated
bigfluffycookie and others added 2 commits November 5, 2025 12:26
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@MarceloRGonc MarceloRGonc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please deploy this to a test environment. We need to check the lambda behaviour.

@sonarqubecloud
Copy link
Copy Markdown

@bigfluffycookie bigfluffycookie merged commit a9df4f8 into main Nov 11, 2025
21 checks passed
@bigfluffycookie bigfluffycookie deleted the lb/azext branch November 11, 2025 08:54
maor-rozenfeld pushed a commit that referenced this pull request Nov 11, 2025
Fixes OPS-2673

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants