Skip to content

Commit 500c39c

Browse files
[IngestionClient] Set fixed bicep version v0.29.47 in workflow and script (#2593)
1 parent 203bd46 commit 500c39c

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/ingestion_client.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ jobs:
2121
2222
- name: Install Bicep CLI
2323
run: |
24-
if ! command -v az bicep &> /dev/null; then
25-
az bicep install
26-
else
27-
az bicep upgrade
24+
BICEP_VERSION="v0.29.47"
25+
26+
if ! command -v az bicep &> /dev/null || [ "$(az bicep version --query 'bicepVersion' -o tsv)" != "$BICEP_VERSION" ]; then
27+
az bicep install --version "$BICEP_VERSION"
2828
fi
29+
2930
az bicep version
3031
3132
- name: Convert Bicep to ARM Template

samples/ingestion/ingestion-client/infra/generate_arm_templates.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
set -e
44

5+
BICEP_VERSION="v0.29.47"
6+
57
# if az bicep is not installed, install it else upgrade it
6-
if ! command -v az bicep &> /dev/null; then
7-
az bicep install
8-
else
9-
az bicep upgrade
8+
if ! command -v az bicep &> /dev/null || [ "$(az bicep version --query 'bicepVersion' -o tsv)" != "$BICEP_VERSION" ]; then
9+
az bicep install --version "$BICEP_VERSION"
1010
fi
1111

1212
TEMPLATES=()

samples/ingestion/ingestion-client/infra/main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"metadata": {
55
"_generator": {
66
"name": "bicep",
7-
"version": "0.30.3.12046",
8-
"templateHash": "11589854528010395557"
7+
"version": "0.29.47.4906",
8+
"templateHash": "3468761430613594439"
99
}
1010
},
1111
"parameters": {

0 commit comments

Comments
 (0)