Add complete system qualification evidence
This commit is contained in:
parent
775dd61963
commit
6952767503
1 changed files with 1256 additions and 84 deletions
|
|
@ -451,6 +451,29 @@ COPY crates crates
|
|||
COPY --from=kind-hf-source-verified /tmp/remora-hf-source-tests.tar.zst /tests/remora-hf-source-tests.tar.zst
|
||||
CMD ["cargo-nextest", "nextest", "run", "--archive-file", "/tests/remora-hf-source-tests.tar.zst", "--workspace-remap", "/workspace"]
|
||||
|
||||
FROM rust-tools AS kind-qualification-build
|
||||
WORKDIR /workspace
|
||||
COPY Cargo.toml Cargo.lock rust-toolchain.toml ./
|
||||
COPY .config .config
|
||||
COPY contracts contracts
|
||||
COPY crates crates
|
||||
COPY docs/api docs/api
|
||||
RUN cargo nextest archive \
|
||||
--workspace \
|
||||
--all-features \
|
||||
--build-jobs 4 \
|
||||
--locked \
|
||||
--archive-file /tmp/remora-qualification-tests.tar.zst
|
||||
|
||||
FROM rust-tools AS kind-qualification-runner
|
||||
WORKDIR /workspace
|
||||
COPY Cargo.toml ./
|
||||
COPY contracts contracts
|
||||
COPY crates crates
|
||||
COPY docs/api docs/api
|
||||
COPY --from=kind-qualification-build /tmp/remora-qualification-tests.tar.zst /tests/remora-qualification-tests.tar.zst
|
||||
CMD ["bash", "-ec", "test -s /run/remora-fixture/profile.env && test -n \"$DATABASE_URL\" && test -n \"$REMORA_COORDINATION_URL\" && test -n \"$REMORA_OIDC_ISSUER\" && test -n \"$REMORA_TARGET_ENDPOINT\" && test -n \"$REMORA_VAULT_ADDR\" && export REMORA_COORDINATION_REQUIRE=1 REMORA_IDENTITY_REQUIRE=1 REMORA_CREDENTIALS_REQUIRE=1 REMORA_TARGET_REQUIRE=1 REMORA_RESULT_REQUIRE=1 REMORA_DELETION_REQUIRE=1 REMORA_ADMISSION_REQUIRE=1 REMORA_ATTEMPT_REQUIRE=1 REMORA_RECOVERY_REQUIRE=1 REMORA_WORKER_API_REQUIRE=1 REMORA_PUBLIC_API_REQUIRE=1 REMORA_LIVE_EVENTS_REQUIRE=1 REMORA_WORKER_REQUIRE=1 REMORA_QUALIFICATION_REQUIRE=1 && cargo-nextest nextest run --archive-file /tests/remora-qualification-tests.tar.zst --workspace-remap /workspace --test-threads=1 --no-fail-fast -E 'package(remora-credentials) and not binary(qualification_cleanup)' && cargo-nextest nextest run --archive-file /tests/remora-qualification-tests.tar.zst --workspace-remap /workspace --test-threads=1 --no-fail-fast -E 'package(remora-credentials) and binary(qualification_cleanup)' && cargo-nextest nextest run --archive-file /tests/remora-qualification-tests.tar.zst --workspace-remap /workspace --test-threads=1 --no-fail-fast -E 'not package(remora-credentials)'"]
|
||||
|
||||
FROM ${NODE_IMAGE} AS node-runtime
|
||||
|
||||
FROM ${PLAYWRIGHT_IMAGE} AS web-dependencies
|
||||
|
|
@ -473,3 +496,6 @@ CMD ["sh", "-c", "pnpm check && pnpm lint && pnpm build && pnpm test:unit && pnp
|
|||
|
||||
FROM web-check AS web-full
|
||||
CMD ["sh", "-c", "pnpm check && pnpm lint && pnpm build && pnpm test:unit && pnpm test:component:full && pnpm test:e2e:full"]
|
||||
|
||||
FROM web-check AS kind-web-system-runner
|
||||
CMD ["pnpm", "exec", "playwright", "test", "--config", "playwright.system.config.ts"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue