feat: make test-upgrade (próba generalna migracji) + make zaspawaj-wersje (pin DOCKER_VERSION)#9
Merged
Merged
Conversation
…e (pin DOCKER_VERSION) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…curl/docker) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…o appservera Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… nie 11) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…endy.md jako referencja Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… SC2088 false positive (init-configs) SC2317: print_inspect_help wolane posrednio przez trap ERR. SC2012: ls -t na kontrolowanych nazwach dumpow (db-backup-<ts>.tar.gz). SC2088: wzorce case dopasowuja literalna tylde z inputu usera (bez eval) - false positive wprowadzony na main w 10a44b2, naprawiony tutaj zeby CI przeszlo na merge'u PR. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
make zaspawaj-wersje [TAG=...]— „zaspawanie" wersji obrazów iplweb: zapisuje do$BPP_CONFIGS_DIR/.envDOCKER_VERSION=<tag CalVer>, na którym faktycznie chodzi kontenerappserver(nie lokalny taglatest, który pomake pullbez recreate może już wskazywać nowszy obraz). Po zaspawaniu nowy obraz wjeżdża tylko jawną decyzją (TAG=). Obrazy spoza rodziny iplweb pozostają nietknięte (są pinowane na sztywno w compose).make test-upgrade [TAG=...]— próba generalna aktualizacji: świeżymake db-backup→ shadow stack (bpp-shadow-dbserver+bpp-shadow-redis, czystydocker runpoza projektem Compose, na osobnej sieci, z przyciętymi limitami zasobów) →pg_restoredumpa →manage.py migrateobrazem-kandydatem z nadpisanym entrypointem. Padnięta migracja zostaje wykryta na kopii produkcyjnych danych, zanim cokolwiek dotknie produkcji. Sukces sprząta shadow; porażka zostawia go do inspekcji (make test-upgrade-clean).scripts/lib-docker-versions.sh— wspólna logika digest↔tag CalVer przez API Docker Huba; kandydat pullowany po tagu wersji, nigdy przez:latest.curl/dockerw PATH, zero sieci):make test-docker-versions— 27/27 PASS. Docs:docs/eksploatacja/komendy.md,CLAUDE.md,make help.Spec + plan w
docs/superpowers/{specs,plans}/2026-06-12-*. Kompatybilność wsteczna: zero nowych wymaganych zmiennych, fallback${DOCKER_VERSION:-latest}w compose zostaje — host bez zaspawania działa jak dotąd.Test Plan
make test-docker-versions— 27/27 PASS (macOS bash 3.2 / BSD)test-letsencrypt,test-validate-env-quotes— zielonemkdocs build --strict— bez błędówmake zaspawaj-wersjena działającym stacku →DOCKER_VERSIONzgodny z działającym appserveremmake test-upgrade(sukces + symulowana porażka → shadow zostaje →make test-upgrade-clean)pg_restorena realnej bazie (ewentualne nieszkodliwe błędy typuCOMMENT ON EXTENSION— patrz checklist w planie)🤖 Generated with Claude Code