File tree Expand file tree Collapse file tree 3 files changed +2020
-8
lines changed
src/FhirPseudonymizer.StressTests Expand file tree Collapse file tree 3 files changed +2020
-8
lines changed Original file line number Diff line number Diff line change @@ -38,25 +38,22 @@ COPY --from=build-test /build/src/FhirPseudonymizer.Tests/coverage .
3838ENTRYPOINT [ "true" ]
3939
4040FROM build AS build-stress-test
41- WORKDIR /build/src/FhirPseudonymizer.StressTests
42- RUN <<EOF
43- dotnet build \
44- --configuration=Release
41+ WORKDIR /build
4542
43+ RUN <<EOF
4644dotnet publish \
47- --no-restore \
48- --no-build \
4945 --configuration=Release \
5046 -a "$TARGETARCH" \
51- -o /build/publish
47+ -o /build/publish \
48+ src/FhirPseudonymizer.StressTests/FhirPseudonymizer.StressTests.csproj
5249EOF
5350
5451FROM build AS stress-test
5552WORKDIR /opt/fhir-pseudonymizer-stress
5653
5754# https://github.com/hadolint/hadolint/pull/815 isn't yet in mega-linter
5855# hadolint ignore=DL3022
59- COPY --from=docker.io/bitnami /kubectl:1.33.3 @sha256:cd354d5b25562b195b277125439c23e4046902d7f1abc0dc3c75aad04d298c17 /opt/bitnami/kubectl /bin/kubectl /usr/bin/kubectl
56+ COPY --from=docker.io/rancher /kubectl:v1.34.0 @sha256:ff3cdadeac7eae628b59debe73302bb41337098dc3f15dfb3f3c5a59b046d23c /bin/kubectl /usr/bin/kubectl
6057
6158COPY tests/chaos/chaos.yaml /tmp/
6259COPY --from=build-stress-test /build/publish .
Original file line number Diff line number Diff line change 22 <PropertyGroup >
33 <IsPackable >false</IsPackable >
44 <CodeAnalysisRuleSet >..\..\stylecop.ruleset.xml</CodeAnalysisRuleSet >
5+ <RestorePackagesWithLockFile >true</RestorePackagesWithLockFile >
56 </PropertyGroup >
67 <ItemGroup >
78 <PackageReference Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 9.0.7" />
You can’t perform that action at this time.
0 commit comments