Skip to content

Commit

Permalink
[IngestionClient] Set fixed bicep version v0.29.47 in workflow and sc…
Browse files Browse the repository at this point in the history
…ript (#2593)
  • Loading branch information
HenryvanderVegte committed Sep 18, 2024
1 parent 203bd46 commit 500c39c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ingestion_client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:
- name: Install Bicep CLI
run: |
if ! command -v az bicep &> /dev/null; then
az bicep install
else
az bicep upgrade
BICEP_VERSION="v0.29.47"
if ! command -v az bicep &> /dev/null || [ "$(az bicep version --query 'bicepVersion' -o tsv)" != "$BICEP_VERSION" ]; then
az bicep install --version "$BICEP_VERSION"
fi
az bicep version
- name: Convert Bicep to ARM Template
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

set -e

BICEP_VERSION="v0.29.47"

# if az bicep is not installed, install it else upgrade it
if ! command -v az bicep &> /dev/null; then
az bicep install
else
az bicep upgrade
if ! command -v az bicep &> /dev/null || [ "$(az bicep version --query 'bicepVersion' -o tsv)" != "$BICEP_VERSION" ]; then
az bicep install --version "$BICEP_VERSION"
fi

TEMPLATES=()
Expand Down
4 changes: 2 additions & 2 deletions samples/ingestion/ingestion-client/infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.3.12046",
"templateHash": "11589854528010395557"
"version": "0.29.47.4906",
"templateHash": "3468761430613594439"
}
},
"parameters": {
Expand Down

0 comments on commit 500c39c

Please sign in to comment.