Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.11 backport] integration: enforce features compat through env vars #3713

Merged
merged 6 commits into from
Mar 15, 2023

Conversation

crazy-max
Copy link
Member

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

backport of:

Not a clean cherry-pick. testBasicS3CacheImportExport, testBasicAzblobCacheImportExport and testBasicGhaCacheImportExport are missing on v0.11 branch.

@thaJeztah
Copy link
Member

testBasicS3CacheImportExport -> those features are not available in 0.11, or 0.11 doesn't have those tests?

@crazy-max
Copy link
Member Author

crazy-max commented Mar 14, 2023

@thaJeztah on v0.11 branch there were no integration tests. It was just hack scripts that were running the tests in our workflow:

This has changed for v-next so now it will run the tests on moby:

I'm still wondering why buildkit tests were failing with missing s3 backend as there is no integration tests for v0.11 🤔 cc @vvoland

@thaJeztah
Copy link
Member

Would it make sense to backport the integration tests to improve coverage?

@tonistiigi
Copy link
Member

Could we have a draft PR with CI run in moby to make sure this is all correct?

@vvoland
Copy link
Collaborator

vvoland commented Mar 14, 2023

I'm still wondering why buildkit tests were failing with missing s3 backend as there is no integration tests for v0.11 🤔

IIRC it was this one:

Type: "s3",

@crazy-max
Copy link
Member Author

I'm still wondering why buildkit tests were failing with missing s3 backend as there is no integration tests for v0.11 🤔

IIRC it was this one:

Type: "s3",

Oh good catch I missed this one. Will open a follow-up on BuildKit master branch to fix that.

@crazy-max
Copy link
Member Author

Could we have a draft PR with CI run in moby to make sure this is all correct?

moby/moby#45160

@crazy-max crazy-max force-pushed the v0.11_backport_test-feature-envs branch from 81a458a to 5afe534 Compare March 14, 2023 16:56
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit e39c44d)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit 19969b9)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit 5102c5a)
@crazy-max crazy-max force-pushed the v0.11_backport_test-feature-envs branch from 5afe534 to f32de97 Compare March 14, 2023 17:02
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit 7f6cae2)
@crazy-max crazy-max force-pushed the v0.11_backport_test-feature-envs branch from f32de97 to cd49390 Compare March 14, 2023 18:04
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit 365598b)
@crazy-max crazy-max force-pushed the v0.11_backport_test-feature-envs branch from cd49390 to 837e0e9 Compare March 14, 2023 20:33
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit f5aa841)
@tonistiigi
Copy link
Member

is this all up-to-date with #3715 ?

@crazy-max
Copy link
Member Author

is this all up-to-date with #3715 ?

@tonistiigi Yes

@crazy-max crazy-max merged commit 237fee9 into moby:v0.11 Mar 15, 2023
@crazy-max crazy-max deleted the v0.11_backport_test-feature-envs branch March 15, 2023 15:21
@crazy-max crazy-max added this to the v0.11.5 milestone Mar 22, 2023
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.

None yet

4 participants