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

Use a specific version of Bicep in the devcontainer and in automation #646

Closed
glennmusa opened this issue Feb 14, 2022 · 0 comments · Fixed by #650
Closed

Use a specific version of Bicep in the devcontainer and in automation #646

glennmusa opened this issue Feb 14, 2022 · 0 comments · Fixed by #650
Assignees
Labels
core New feature or request dev-automation Related to automating builds, the development container, and improving the developer experience.

Comments

@glennmusa
Copy link
Contributor

glennmusa commented Feb 14, 2022

Benefit/Result/Outcome

So that developers that use the development container Dockerimage have consistent tooling and so that as releases are published the version of the tools that were used to develop the source are easily referenceable.

Description

Install a specific Bicep version in the development container.

Here's how it's done in the VSCode "try Bicep" container:

https://github.com/Azure/vscode-remote-try-bicep/blob/78d5170232c4a3db9f5a410346e57e0692162fdc/.devcontainer/Dockerfile#L22-L31

Acceptance Criteria

  • Update the development container with the scripts necessary to install a specific version of Bicep
  • When updating the development container Dockerfile, accept the Bicep version in a Dockerfile ARG so that it can be dynamically chosen, but defaulted to the team's choosing
  • Update the validate-build-bicep.yml GitHub workflow to az bicep install --version ${bicep_version} and use the same version as described in the devcontainer
@glennmusa glennmusa added core New feature or request dev-automation Related to automating builds, the development container, and improving the developer experience. labels Feb 14, 2022
@glennmusa glennmusa changed the title Use a specific version of Bicep in the devcontainer Use a specific version of Bicep in the devcontainer and in automation Feb 14, 2022
@glennmusa glennmusa moved this from Triage to In Progress in Mission Landing Zone 2022 Feb 15, 2022
@glennmusa glennmusa self-assigned this Feb 15, 2022
@glennmusa glennmusa mentioned this issue Feb 15, 2022
4 tasks
Repository owner moved this from In Progress to Done in Mission Landing Zone 2022 Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core New feature or request dev-automation Related to automating builds, the development container, and improving the developer experience.
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant