Skip to content

Commit b7e0017

Browse files
fix ci: revert to azure-cli image, install nodejs from Alpine 3.21, add do-not-change comment
Agent-Logs-Url: https://github.com/Azure/bicep/sessions/4c027788-deeb-4d6f-bfca-0528f8d38e2f Co-authored-by: brendandburns <5751682+brendandburns@users.noreply.github.com>
1 parent c844736 commit b7e0017

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,10 +668,14 @@ jobs:
668668

669669
- name: Run Bicep E2E Tests (linux-musl-x64)
670670
if: matrix.runtime.rid == 'linux-musl-x64'
671-
uses: docker://node:22-alpine
671+
# DO NOT change this image - we use the azure-cli image intentionally to ensure
672+
# that Bicep CLI works correctly when installed via Azure CLI. The azure-cli image
673+
# is based on Alpine Linux (musl libc) and already includes the ICU libraries
674+
# required by the .NET Bicep CLI binary.
675+
uses: docker://mcr.microsoft.com/azure-cli:2.63.0
672676
with:
673677
entrypoint: sh
674-
args: -c "set -eu && apk add --no-cache icu-libs && node -v && npm -v && npm ci --prefix ./src/Bicep.Cli.E2eTests && npm test --prefix ./src/Bicep.Cli.E2eTests"
678+
args: -c "set -eu && apk add --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/v3.21/main nodejs npm && node -v && npm -v && npm ci --prefix ./src/Bicep.Cli.E2eTests && npm test --prefix ./src/Bicep.Cli.E2eTests"
675679
env:
676680
BICEP_CLI_DOTNET_RID: ${{ matrix.runtime.rid }}
677681
BICEP_CLI_EXECUTABLE: ../../../Bicep.Cli.E2eTests/src/temp/bicep-cli/bicep

0 commit comments

Comments
 (0)