Skip to content

Bring the end-to-end environment up faster #868

Open

Description

@vvoytovych

Both end-to-end workflows bring up the same environment with task test-infra:up, and it took 10 to 11 minutes of every green run on main between 2026-11-04 15:04Z and 2026-11-05 10:02Z, for example in E2E Tests and Federated E2E. Its tasks run one after another.

Two of its longest tasks wait without need, as the logs of three of those runs show.

task time why it waits
nso-image 130 to 189 s docker build compiles the manager and two MCP binaries from nothing on every run. The Dockerfile keeps only the module download as a layer, and its go build steps (L34, L46, L54) keep no cache. The build also starts only after the clusters, the CRDs and cert-manager, though nothing before it uses the image
karmada-up 91 to 125 s It runs after the Milo and IPAM tasks, but it reads nothing from them: it needs the two clusters and files from this repository

Proposed scope

Non-goals

  • The suite's own time. It has its own issue under the same Epic.
  • What the published image contains. The release builds from the same Dockerfile, so the cache mounts must not change its output.
  • Self-hosted runners.

Acceptance criteria

  • On repeated runs on main, the bring-up takes less than 10 minutes in both end-to-end workflows.
  • A run with an empty cache takes no longer than the runs above.
  • The published image holds the same files as before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions