tests/e2e: brownfield, the update step restarts nothing in use (tests #113)
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 53/100
Direzione di ricerca
Start with tests/e2e/scenarios-brownfield.sh and the setup-brownfield fixture, then read the scenarios from #141 and #124 plus the update behavior introduced by #113. Add the update-existing scenario with the older docker-ce fixture and checks for package origins, holds, restart state, interactive defaults, and the fresh path. Run the end-to-end scenario on Debian 13 and Ubuntu 24.04; it is done when every listed check passes and the control confirms docker-ce is upgradable before the run.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Epic #121 · Tests #113 (epic #109) · Milestone Phase 5: Servers already in use · Priority medium · Size M · Depends on #113, #141, #124
Why
#113 adds UPGRADE_MODE and keeps the update step from restarting Docker, databases and web servers on a server in use.
Scenarios go in tests/e2e/scenarios-brownfield.sh (profile added by #124) and reuse its fixture from setup-brownfield: nginx on 80/443 with a token page, a container -p 8080:80, a deploy user with a key, the 50-site.conf drop-in, UFW with its own rules, a custom fail2ban jail, ptrace_scope = 0, and a "panel" root login on 22 before the run. Extra fixture listed below is added by this issue only.
Extra fixture
- The older
docker-cefrom the #141 test, and the container running.
Scenario update-existing
-
--existing --yes --only update(UPGRADE_MODE=security): exit 0;docker-cekeeps its version;apt-mark showholdis empty after the run (the hold was only for the run); a todo gives the command for the maintenance window; the containerStartedAtand the nginx main pid are unchanged. - Every package upgraded in this run comes from a security origin (
/var/log/apt/history.logchecked againstapt-cache policy). - needrestart only lists: services it would restart are in a todo, and none of them restarted (pids unchanged).
-
UPGRADE_MODE=none: the count fromapt list --upgradableis the same before and after. - Interactive: the "all / security / none" question shows, and defaults to
securitywith--existing. - Fresh path:
--yes --only updatewithout--existingupgradesdocker-ceas today. - Control: before the run,
apt list --upgradablereally listsdocker-ce. Otherwise the scenario fails as "fixture broken", not as passed.
Acceptance criteria
- Passes on Debian 13 and Ubuntu 24.04.
- Lingua principale
- Shell
- Stelle
- 2
- Fork
- 3
- Merge medio
- 2g 14m
- PR unite (30g)
- 47
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di exceev-consulting/server-prep
-
area: docs bug claude documentation good first issue priority: low size: S triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
exceev-consulting/server-prep#225 ·
I maintainer di solito rispondono entro 2 giorni
-
area: preconfig bug claude priority: medium size: S triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
exceev-consulting/server-prep#224 ·
I maintainer di solito rispondono entro 2 giorni
-
claude enhancement priority: low size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
exceev-consulting/server-prep#222 ·
I maintainer di solito rispondono entro 2 giorni
-
e2e flake: boot fails on debian-13 when its genericcloud image is missing from SHA512SUMSForse già presa @exceev-claude l’ha presa 1 giorno fa. Apertaarea: ci bug claude priority: high size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
exceev-consulting/server-prep#212 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
server-audit.sh: flag world-writable directories in /etc such as /etc/dokploy (GHSA-qxjv-6cvh-32c6)Apertaarea: audit claude enhancement panel: dokploy priority: high security size: S triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
exceev-consulting/server-prep#211 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di exceev-consulting/server-prep
Issue simili
-
bot-found documentation priority: P3
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
madenvel/KalinkaPlayer#602 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
huggingface/kernels#1006 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
I maintainer di solito rispondono entro 2 giorni
-
severity: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
luainkernel/lunatik#2594 ·
I maintainer di solito rispondono entro 1 giorno