[AZ-1132] Use system protoc in run-tests SDK container
ci/woodpecker/push/02-build-push/2 Pipeline is pending
ci/woodpecker/push/01-test Pipeline was successful
ci/woodpecker/push/02-build-push/1 Pipeline was successful

Install protobuf-compiler and set PROTOBUF_PROTOC on arm64
where Grpc.Tools bundled protoc segfaults; align Woodpecker.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-06-26 17:16:02 +03:00
parent b3e5a66799
commit 24b8aa3076
4 changed files with 21 additions and 10 deletions
+2
View File
@@ -12,5 +12,7 @@ steps:
- name: unit-tests
image: mcr.microsoft.com/dotnet/sdk:10.0
commands:
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends protobuf-compiler && rm -rf /var/lib/apt/lists/*
- export PROTOBUF_PROTOC=/usr/bin/protoc
- dotnet restore SatelliteProvider.sln
- dotnet test SatelliteProvider.Tests/SatelliteProvider.Tests.csproj --no-restore --configuration Release --logger "console;verbosity=normal" --logger "trx;LogFileName=test-results.trx" --results-directory /app/test-results