File tree Expand file tree Collapse file tree
samples/ingestion/ingestion-client/infra Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 22
33set -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 "
1010fi
1111
1212TEMPLATES=()
Original file line number Diff line number Diff line change 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" : {
You can’t perform that action at this time.
0 commit comments