Azure / ResourceModules

This repository includes a CI platform for and collection of mature and curated Bicep modules. The platform supports both ARM and Bicep and can be leveraged using GitHub actions as well as Azure DevOps pipelines.
https://aka.ms/carml
MIT License
724 stars 460 forks source link

[Feature Request]: Enable utility version control in CI #2660

Open AlexanderSehr opened 1 year ago

AlexanderSehr commented 1 year ago

Description

The CARML CI currently does not provide out-of-the-gate capabilities to control which version of the uses tools (for example) are installed on the agents. As this can lead to issues (ref: #2641 #2659), we should implement a logic that optionally allows just that.

The idea could be 3 settings in the settings.yml:

The Set-EnvironmentOnAgent script already surfaces the used versions and in parts the code to install specific versions of e.g. Bicep.

In a first step we could concentrate on installing/updating - and in a second step on downgrading (if required)

eriqua commented 1 year ago

Start with a PoC covering both ADO and GH Open a follow up issue to cover edge cases and remaining work, e.g.,