Commit e19353e
committed
fix: restore dev stack after e2e tests to prevent env contamination
The e2e script mutates running containers in-place with test env config
but never restores them. This leaves nginx on port 8080 with APP_ENV=test
after tests complete. Add an EXIT trap that runs `docker compose up -d`
(without the e2e override) to recreate containers with dev defaults.1 parent bf6867d commit e19353e
1 file changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
48 | 55 | | |
49 | 56 | | |
50 | 57 | | |
| 58 | + | |
51 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
52 | 68 | | |
53 | | - | |
| 69 | + | |
0 commit comments