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

Change installed az CLI version with clientVersion #43

Merged
merged 2 commits into from
Oct 17, 2022

Conversation

carolynvs
Copy link
Member

@carolynvs carolynvs commented Jun 5, 2022

I've added clientVersion to the az mixin configuration so that you can specify which version of the az CLI to install when porter builds the bundle. By default, the latest version of the CLI is installed.

mixins:
- az:
    clientVersion: 2.35.0

The mixin will use the clientVersion to build the apt package version published by Microsoft, which follows the format VERSION-1~DISTROCODENAME. So in the example above, the package version is 2.35.0-1~stretch. If the user changes the debian version, then stretch will change to match the version, e.g. buster, etc.

@carolynvs carolynvs force-pushed the configure-client-version branch 3 times, most recently from 1d51280 to 6f79f6f Compare September 15, 2022 20:23
@carolynvs carolynvs marked this pull request as ready for review September 15, 2022 20:50
I've added clientVersion to the az mixin configuration so that you can specify which version of the az CLI to install when porter builds the bundle. By default, the latest version of the CLI is installed.

    ```yaml
    mixins:
    - az:
        clientVersion: 2.35.0
    ```

The mixin will use the clientVersion to build the apt package version published by Microsoft, which follows the format VERSION-1~DISTROCODENAME. So in the example above, the package version is 2.35.0-1~stretch. If the user changes the debian version, then stretch will change to match the version, e.g. buster, etc.

Signed-off-by: Carolyn Van Slyck <[email protected]>
* Use Go 1.19
* Compile against porter v1.0.1

Signed-off-by: Carolyn Van Slyck <[email protected]>
@carolynvs carolynvs merged commit adfc931 into getporter:main Oct 17, 2022
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.

1 participant