Merge pull request #48009 from dmcgowan/containerd-migration

Update containerd to default storage and add support for migration
This commit is contained in:
Austin Vazquez
2025-08-11 13:33:14 -07:00
committed by GitHub
19 changed files with 806 additions and 123 deletions

View File

@@ -3,8 +3,5 @@
"crun": {
"path": "/usr/local/bin/crun"
}
},
"features": {
"containerd-snapshotter": false
}
}

View File

@@ -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"

View File

@@ -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" \
"$@"

View File

@@ -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"

View File

@@ -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