test(e2e): cover the minimal MVP path end to end on the real backend
This commit is contained in:
1 parent
89932b8714
commit
9909120286
11 files changed
+1084
-5
No files matched your search
@@ -16,6 +16,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -tags=e2e -buildvcs=false -trimpath -ldfla
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -tags=e2e -buildvcs=false -trimpath -ldflags="-s -w" -o /out/consent-fixture ./cmd/consent-fixture
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -tags=e2e -buildvcs=false -trimpath -ldflags="-s -w" -o /out/company-fixture ./cmd/company-fixture
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -tags=e2e -buildvcs=false -trimpath -ldflags="-s -w" -o /out/questionnaire-fixture ./cmd/questionnaire-fixture
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -buildvcs=false -trimpath -ldflags="-s -w" -o /out/assessment-category-attest ./cmd/assessment-category-attest
|
||||
|
||||
FROM ${RUNTIME_IMAGE}
|
||||
|
||||
@@ -27,6 +28,7 @@ COPY --from=build /out/app /app
|
||||
COPY --from=build /out/consent-fixture /consent-fixture
|
||||
COPY --from=build /out/company-fixture /company-fixture
|
||||
COPY --from=build /out/questionnaire-fixture /questionnaire-fixture
|
||||
COPY --from=build /out/assessment-category-attest /assessment-category-attest
|
||||
EXPOSE 8080 9090
|
||||
USER nonroot:nonroot
|
||||
ENTRYPOINT ["/app"]
|
||||
Reference in new issue
Block a user