You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Benefit/Result/Outcome
So that Bicep parity is kept with Terraform for automatic PR checks.
Description
The current Terraform main branch has two PR checks: license/cla, and validate Terraform. The license/cla check should continue to function regardless of what is in the main branch. To keep parity with Terraform we should add an az build validate action. For example, the Bicep Build GitHub action implements a build action.
Acceptance Criteria
A validate action for Bicep exists in .github folder. It can be az build or something similar that validates the Bicep code.
The text was updated successfully, but these errors were encountered:
We'd be doing everything up to # Stop here if you only want to do "CI"
name: bicep build and deployon: pushjobs:
bicep-build-and-deploy:
name: bicep build and deployruns-on: ubuntu-lateststeps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout codeuses: actions/checkout@v2# Transpile bicep file into ARM template
- name: Build ARM Template from bicep filerun: | az bicep build --file ./main.bicep# Stop here if you only want to do "CI" which just generates the # build artifact (ARM Template JSON)
and leaves a good starting point to take on #344 -- that'd be nice to have
Benefit/Result/Outcome
So that Bicep parity is kept with Terraform for automatic PR checks.
Description
The current Terraform main branch has two PR checks: license/cla, and validate Terraform. The license/cla check should continue to function regardless of what is in the main branch. To keep parity with Terraform we should add an
az build
validate action. For example, the Bicep Build GitHub action implements a build action.Acceptance Criteria
.github
folder. It can beaz build
or something similar that validates the Bicep code.The text was updated successfully, but these errors were encountered: