Skip to content

use KanikoEnv in all integration executor invocations#808

Open
mzihlmann wants to merge 1 commit into
mainfrom
mz-integration-tests-use-kanikoenv
Open

use KanikoEnv in all integration executor invocations#808
mzihlmann wants to merge 1 commit into
mainfrom
mz-integration-tests-use-kanikoenv

Conversation

@mzihlmann

Copy link
Copy Markdown
Collaborator

Several integration tests build the executor docker command by hand and never applied KanikoEnv, so they ran the executor on defaults instead of the suite's feature-flag matrix. That gap is what let the REPRODUCIBLE_PRESERVE_BASE_LAYERS divergence stay hidden until the v1.28.0 graduation flipped its default, because the one test that compares a tar artifact against a direct push (TestPushFromArtifact) never saw the flag on.

Route every executor invocation through a shared addKanikoEnvFlags helper so all tests exercise the same flags. TestPushFromArtifact keeps FF_KANIKO_REPRODUCIBLE_PRESERVE_BASE_LAYERS disabled, layered after KanikoEnv, because the docker-archive --tar-path writer cannot preserve OCI base layers and the push-from-artifact image would otherwise not match the direct push.

mzihlmann added a commit that referenced this pull request Jun 18, 2026
@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mzihlmann mzihlmann requested review from 0hlov3, BobDu, babs and nejch June 19, 2026 22:56
mzihlmann added a commit that referenced this pull request Jun 26, 2026
mzihlmann added a commit that referenced this pull request Jun 27, 2026
mzihlmann added a commit that referenced this pull request Jun 27, 2026
mzihlmann added a commit that referenced this pull request Jun 27, 2026
* graduate feature flags for v1.28.0

* disable FF_KANIKO_REPRODUCIBLE_PRESERVE_BASE_LAYERS in TestPushFromArtifact

* ungraduate FF_KANIKO_REPRODUCIBLE_PRESERVE_BASE_LAYERS, defer to v1.29.0

* drop redundant TestPushFromArtifact flag override, covered by KanikoEnv coverage in #808

* remove FF_KANIKO_OCI_STAGES, OCI layout stages now unconditional
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant