Skip to content

integration: enforce features compat through env vars#3711

Merged
crazy-max merged 3 commits intomoby:masterfrom
crazy-max:test-feature-envs
Mar 14, 2023
Merged

integration: enforce features compat through env vars#3711
crazy-max merged 3 commits intomoby:masterfrom
crazy-max:test-feature-envs

Conversation

@crazy-max
Copy link
Copy Markdown
Member

@crazy-max crazy-max commented Mar 13, 2023

follow-up moby/moby#44079 (comment)

Adds ability to enforce features compatibility check through env vars in integration tests.

For example to disable integration.FeatureCacheExport and integration.FeatureCacheImport feature you can set BUILDKIT_TEST_DISABLE_FEATURES=cache_export,cache_import. Set BUILDKIT_TEST_ENABLE_FEATURES=cache_export,cache_import to enable.

Also adds extra features compat for specific cache backends and mergediff.

@crazy-max

This comment was marked as resolved.

@crazy-max crazy-max force-pushed the test-feature-envs branch 3 times, most recently from ff9b137 to 94d8883 Compare March 13, 2023 21:41
@crazy-max crazy-max marked this pull request as ready for review March 13, 2023 22:05
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants