Uh oh!
There was an error while loading. Please reload this page.
mount: Add volume-subpath option - #4331
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@## master #4331 +/- ##
==========================================
- Coverage 61.31% 61.30% -0.01%
==========================================
Files 287 287 Lines 20058 20060 +2 ==========================================
Hits 12298 12298 - Misses 6867 6869 +2
Partials 893 893 |
2939ede to
8177eeaComparebdfd828 to
c56cb88CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
c56cb88 to
854b996Comparee26b50a to
9f52b2fCompare| func TestMountSubvolume(t *testing.T) { | ||
| environment.SkipIfAPIOlder(t, "1.45") |
There was a problem hiding this comment.
Note: This test will be skipped currently (even with #4839) because the 25.0 is still on API 1.44.
I ran the tests (🟢) locally by substituting the dind image with:
FROM docker:25-dind
COPY --from=moby/moby-bin:master /dockerd /usr/local/bin/dockerdTests output
$ make -f docker.Makefile test-e2e
...
✓ e2e/cli-plugins (15.291s)
∅ e2e/cli-plugins/plugins/badmeta
∅ e2e/cli-plugins/plugins/nopersistentprerun
∅ e2e/cli-plugins/plugins/presocket
∅ e2e/internal/fixtures
✓ e2e/global (71ms)
✓ e2e/context (132ms)
∅ e2e/plugin/basic
✓ e2e/plugin (112ms)
✓ e2e/system (37ms)
✓ e2e/stack (264ms)
✓ e2e/trust (1.974s)
✓ e2e/container (5.198s)
✓ e2e/image (10.05s)
=== Skipped
=== SKIP: e2e/cli-plugins TestCLIPluginDialStdio (0.00s)
dial_test.go:16: skipping plugin dial-stdio test since DOCKER_CLI_PLUGIN_USE_DIAL_STDIO is not set
=== SKIP: e2e/container TestRunAttachedFromRemoteImageAndRemove (0.01s)
run_test.go:24: daemonPlatform != platform: running against a non linux/amd64 daemon
=== SKIP: e2e/container TestRunWithCgroupNamespace (0.06s)
run_test.go:147: !cgroupNsFound: running against a daemon that doesn't support cgroup namespaces (security options: [name=seccomp,profile=builtin]
)
=== SKIP: e2e/image TestPullWithContentTrust (0.01s)
pull_test.go:22: daemonPlatform != platform: running against a non linux/amd64 daemon
=== SKIP: e2e/image TestPushAllTags (0.01s)
push_test.go:37: daemonPlatform != platform: running against a non linux/amd64 daemon
=== SKIP: e2e/image TestPushWithContentTrust (0.01s)
push_test.go:59: daemonPlatform != platform: running against a non linux/amd64 daemon
=== SKIP: e2e/plugin TestInstallWithContentTrust (0.00s)
trust_test.go:26: skipping until a fix is implemented on moby
=== SKIP: e2e/trust TestSignLocalImage (0.01s)
sign_test.go:25: daemonPlatform != platform: running against a non linux/amd64 daemon
=== SKIP: e2e/trust TestSignWithLocalFlag (0.01s)
sign_test.go:43: daemonPlatform != platform: running against a non linux/amd64 daemon
| func SkipIfAPIOlder(t *testing.T, minimumVersion string) { | ||
| t.Helper() | ||
| // Use Client.APIVersion instead of Server.APIVersion. |
There was a problem hiding this comment.
Wondering if we should try to make the UX a bit similar to what we have in docker/docker; https://github.com/moby/moby/blob/a60546b084eef87910345876e32c3db46e7c3bbc/integration-cli/docker_cli_build_test.go#L3338
9f52b2f to
1b7242aCompareSigned-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
1b7242a to
edc09e6Compare
- What I did
volume-subpathoption to the long--mountformat.- How I did it
- How to verify it
TestMountSubvolume test (more tests in Moby)
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)