Skip to content

[Feature]: E2E - drive the suite from a configuration file instead of environment variables #11189

Description

@NiccoloFei

Is there an existing issue already for this feature request/idea?

  • I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.

What problem is this feature going to solve? Why should it be added?

The e2e suite is configured almost entirely through environment variables (test depth, timeouts, feature/label filters, cloud vendor, image overrides, and so on).
That surface has grown awkward to manage and discover, and it doesn't lend itself to structured
or nested settings.

Describe the solution you'd like

Move the suite to a structured configuration file as the single way to drive a run, and drop the environment variables entirely. The scripts that currently export these variables must instead write the configuration file. The file should cover the existing knobs and leave room to grow; in particular it should be able to hold the plugin-barman-cloud destination configuration once that lands.

The Ginkgo documentation contains a section about Supporting Custom Configuration: Custom Command-Line Flag with examples, so we may partially follow that implementation if it satisfies our goals.

Describe alternatives you've considered

None.

Additional context

Partially related to #9220: a single well-structured configuration should be helpful for users who want to run the E2E suite to validate CNPG against their existing environment.

Backport?

Yes

Are you willing to actively contribute to this feature?

No

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added this to the Now milestone on Jul 14, 2026
  2. added
    E2E tests
    on Jul 14, 2026
  3. added theissue type on Jul 14, 2026
  4. added 2 commits that reference this issue on Aug 27, 2026
    7978fba
    7423e8b
  5. added a commit that references this issue on Aug 27, 2026
    6511d6e
  6. added a commit that references this issue on Aug 27, 2026
    1aa9387
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

E2E tests

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions