mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2025-12-27 11:06:35 +00:00
refactor: migrate to src/ package + add DinD-based E2E runner with debug artifacts
- Replace legacy standalone scripts with a proper src-layout Python package (baudolo backup/restore/configure entrypoints via pyproject.toml) - Remove old scripts/files (backup-docker-to-local.py, recover-docker-from-local.sh, databases.csv.tpl, Todo.md) - Add Dockerfile to build the project image for local/E2E usage - Update Makefile: build image and run E2E via external runner script - Add scripts/test-e2e.sh: - start DinD + dedicated network - recreate DinD data volume (and shared /tmp volume) - pre-pull helper images (alpine-rsync, alpine) - load local baudolo:local image into DinD - run unittest E2E suite inside DinD and abort on first failure - on failure: dump host+DinD diagnostics and archive shared /tmp into artifacts/ - Add artifacts/ debug outputs produced by failing E2E runs (logs, events, tmp archive) https://chatgpt.com/share/694ec23f-0794-800f-9a59-8365bc80f435
This commit is contained in:
13
artifacts/dind-events-20251226180030.txt
Normal file
13
artifacts/dind-events-20251226180030.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
2025-12-26T18:00:43.105600680+01:00 image pull ghcr.io/kevinveenbirkenbach/alpine-rsync:latest (name=ghcr.io/kevinveenbirkenbach/alpine-rsync, org.opencontainers.image.created=2025-12-26T11:16:41.250Z, org.opencontainers.image.description=alpine image with rsync, org.opencontainers.image.licenses=AGPL-3.0, org.opencontainers.image.revision=44d48fb12106e82de8e0bb9c374f6a2c0c2b542c, org.opencontainers.image.source=https://github.com/kevinveenbirkenbach/alpine-rsync, org.opencontainers.image.title=alpine-rsync, org.opencontainers.image.url=https://github.com/kevinveenbirkenbach/alpine-rsync, org.opencontainers.image.version=main)
|
||||
2025-12-26T18:00:48.233210218+01:00 image pull alpine:3.20 (name=alpine)
|
||||
2025-12-26T18:00:52.495680501+01:00 image load sha256:0bc9b158f3e8edb2e5a131a12d51edba2b2954e1edc626c4ad989581fd8bb562 (name=sha256:0bc9b158f3e8edb2e5a131a12d51edba2b2954e1edc626c4ad989581fd8bb562)
|
||||
2025-12-26T18:00:53.087729138+01:00 volume create baudolo-e2e-files-full-45d7677d08-vol-src (driver=local)
|
||||
2025-12-26T18:00:53.236672233+01:00 container create debae25e9efdf3852a3a80174d33276bc78d40964c126972a2d9baa6fc637b45 (image=alpine:3.20, name=elated_snyder)
|
||||
2025-12-26T18:00:53.238392166+01:00 container attach debae25e9efdf3852a3a80174d33276bc78d40964c126972a2d9baa6fc637b45 (image=alpine:3.20, name=elated_snyder)
|
||||
2025-12-26T18:00:53.257319926+01:00 volume mount baudolo-e2e-files-full-45d7677d08-vol-src (container=debae25e9efdf3852a3a80174d33276bc78d40964c126972a2d9baa6fc637b45, destination=/data, driver=local, propagation=, read/write=true)
|
||||
2025-12-26T18:00:53.434210509+01:00 network connect 43f0f11bd2813c28b15d0f2b1d59875b2457c70aaef10ff7a309d57279bcf39e (container=debae25e9efdf3852a3a80174d33276bc78d40964c126972a2d9baa6fc637b45, name=bridge, type=bridge)
|
||||
2025-12-26T18:00:53.469302289+01:00 container start debae25e9efdf3852a3a80174d33276bc78d40964c126972a2d9baa6fc637b45 (image=alpine:3.20, name=elated_snyder)
|
||||
2025-12-26T18:00:53.625702613+01:00 network disconnect 43f0f11bd2813c28b15d0f2b1d59875b2457c70aaef10ff7a309d57279bcf39e (container=debae25e9efdf3852a3a80174d33276bc78d40964c126972a2d9baa6fc637b45, name=bridge, type=bridge)
|
||||
2025-12-26T18:00:53.636946550+01:00 volume unmount baudolo-e2e-files-full-45d7677d08-vol-src (container=debae25e9efdf3852a3a80174d33276bc78d40964c126972a2d9baa6fc637b45, driver=local)
|
||||
2025-12-26T18:00:53.657329988+01:00 container die debae25e9efdf3852a3a80174d33276bc78d40964c126972a2d9baa6fc637b45 (execDuration=0, exitCode=0, image=alpine:3.20, name=elated_snyder)
|
||||
2025-12-26T18:00:53.724058321+01:00 container destroy debae25e9efdf3852a3a80174d33276bc78d40964c126972a2d9baa6fc637b45 (image=alpine:3.20, name=elated_snyder)
|
||||
Reference in New Issue
Block a user