Skip to content

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

Merged
crazy-max merged 6 commits intomoby:v0.11from
crazy-max:v0.11_backport_test-feature-envs
Mar 15, 2023
Merged

[0.11 backport] integration: enforce features compat through env vars#3713
crazy-max merged 6 commits intomoby:v0.11from
crazy-max:v0.11_backport_test-feature-envs

Conversation

@crazy-max
Copy link
Copy Markdown
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
Copy Markdown
Member

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

@crazy-max
Copy link
Copy Markdown
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
Copy Markdown
Member

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

@tonistiigi
Copy link
Copy Markdown
Member

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

@vvoland
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

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

@crazy-max
Copy link
Copy Markdown
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.

4 participants