tests/e2e: config profiles (web, dokploy, minimal, headless/auto-reboot)

Aperta
#131 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

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
48/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
bash, github-actions, shell
Ambito
ci-cd, devops, testing

Direzione di ricerca

Start with tests/e2e/run.sh, the configs in tests/e2e/, and .github/workflows/e2e.yml; trace how ci.cfg is loaded and how profile results appear in the report matrix. Run the existing end-to-end workflow to establish its runtime and assertions. Done means each requested profile is exercised on Debian 13 and Ubuntu 24.04, with PR and weekly runs assigned and the PR workflow within its time limit.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: audit area: ci area: prep claude enhancement panel: dokploy priority: medium size: L

Epic #121 · Milestone Phase 1: Community & CI · Priority medium · Size L · Depends on #94 · Related #10


Why

Every run uses tests/e2e/ci.cfg: Coolify, tailscale,public, EXPOSE_WEB=no, everything installed. Whole branches of server-prep.sh never run in the tests.

What to do

  • Add a --profile <name> option to run.sh, with one config per profile in tests/e2e/ (no secrets, like ci.cfg).
  • web: EXPOSE_WEB=yes + EXTRA_PORTS. Assert 80/443 and the extra ports answer from outside, and other ports don't.
  • dokploy: PANEL=dokploy. Assert the panel-specific guards ([[ ${PANEL,,} == ... ]]) do what they should and messages say Dokploy.
  • minimal: every INSTALL_* set to no. Assert those steps are SKIPPED, nothing extra is installed, and the audit turns the optional checks into INFO, not FAIL.
  • headless / auto-reboot: HEADLESS=yes, AUTO_REBOOT=yes. Assert the matching settings (unattended-upgrades reboot settings, services).
  • Old names: one profile uses COOLIFY_* names to check they are mapped at load.
  • Decide which profiles run on every PR and which run weekly, and add them to e2e.yml.
  • Show the profile in the report matrix.

Acceptance criteria

  • Each profile passes on at least Debian 13 and Ubuntu 24.04.
  • The PR run stays under the CI time limit.
Lingua principale
Shell
Stelle
2
Fork
3
Merge medio
2g 14m
PR unite (30g)
47

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di exceev-consulting/server-prep

Tutte le issue di exceev-consulting/server-prep

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.