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

[BUG]: AzureCLI@2 task - Bicep CLI does not keep the version, it auto updates #20813

Open
4 of 7 tasks
average-everyman opened this issue Jan 29, 2025 · 0 comments
Open
4 of 7 tasks

Comments

@average-everyman
Copy link

New issue checklist

Task name

AzureCLI@2

Task version

2.249.8

Issue Description

Despite the initial bicep version of 32.4 included in the task, it does auto update to 33.13. Currently 33.13 has issues (it times out during az deployment sub validate in some cases). But the auto update behavior of Bicep CLI is probably not a desired one and the version of the bicep should probably remain locked to the initial version because it create a situation in which some tasks / pipelines that used to run, do not run anymore despite no changes to the pipeline / underlying code.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu 22.04

Relevant log output

DEBUG: urllib3.connectionpool: https://downloads.bicep.azure.com:443 "GET /releases/latest HTTP/1.1" 200 45817 
DEBUG: cli.azure.cli.command_modules.resource._bicep: Generated download URL https://downloads.bicep.azure.com/v0.33.13/bicep-linux-x64. from system Linux, machine x86_64, release tag v0.33.13 and target platform None. 
INFO: cli.azure.cli.command_modules.resource._bicep: Successfully installed Bicep CLI to /home/vsts/work/_temp/.azclitask/bin/bicep

Full task logs with system.debug enabled

Repro steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant