mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Merge pull request #48009 from dmcgowan/containerd-migration
Update containerd to default storage and add support for migration
This commit is contained in:
@@ -3,8 +3,5 @@
|
||||
"crun": {
|
||||
"path": "/usr/local/bin/crun"
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"containerd-snapshotter": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ fi
|
||||
# intentionally open a couple bogus file descriptors to help test that they get scrubbed in containers
|
||||
exec 41>&1 42>&2
|
||||
|
||||
export DOCKER_GRAPHDRIVER=${DOCKER_GRAPHDRIVER:-vfs}
|
||||
export DOCKER_GRAPHDRIVER=${DOCKER_GRAPHDRIVER:-native}
|
||||
export DOCKER_USERLANDPROXY=${DOCKER_USERLANDPROXY:-true}
|
||||
|
||||
# example usage: DOCKER_STORAGE_OPTS="dm.basesize=20G,dm.loopdatasize=200G"
|
||||
|
||||
@@ -210,7 +210,7 @@ test_env() {
|
||||
PATH="$PATH" \
|
||||
TEMP="$TEMP" \
|
||||
TEST_CLIENT_BINARY="$TEST_CLIENT_BINARY" \
|
||||
TEST_INTEGRATION_USE_SNAPSHOTTER="$TEST_INTEGRATION_USE_SNAPSHOTTER" \
|
||||
TEST_INTEGRATION_USE_GRAPHDRIVER="$TEST_INTEGRATION_USE_GRAPHDRIVER" \
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT="$OTEL_EXPORTER_OTLP_ENDPOINT" \
|
||||
OTEL_SERVICE_NAME="$OTEL_SERVICE_NAME" \
|
||||
"$@"
|
||||
|
||||
@@ -10,7 +10,7 @@ fi
|
||||
|
||||
DOCKER_COMMAND="$(command -v dockerd)"
|
||||
|
||||
DOCKER_GRAPHDRIVER=${DOCKER_GRAPHDRIVER:-vfs}
|
||||
DOCKER_GRAPHDRIVER=${DOCKER_GRAPHDRIVER:-native}
|
||||
DOCKER_USERLANDPROXY=${DOCKER_USERLANDPROXY:-true}
|
||||
|
||||
# example usage: DOCKER_STORAGE_OPTS="dm.basesize=20G,dm.loopdatasize=200G"
|
||||
|
||||
@@ -15,7 +15,7 @@ source hack/make/.integration-test-helpers
|
||||
: "${PY_TEST_OPTIONS:=--junitxml=${DEST}/junit-report.xml}"
|
||||
|
||||
# build --squash is not supported with containerd integration.
|
||||
if [ -n "$TEST_INTEGRATION_USE_SNAPSHOTTER" ]; then
|
||||
if [ -z "$TEST_INTEGRATION_USE_GRAPHDRIVER" ]; then
|
||||
PY_TEST_OPTIONS="$PY_TEST_OPTIONS --deselect=tests/integration/api_build_test.py::BuildTest::test_build_squash"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user