Test recipes locally with Docker Compose (#1)

scripts/local-test.sh starts a recipe the way Cottage runs it (parameters filled in, owned
volumes without copy-up, default limits, no-new-privileges, localhost only), waits for its
health path to answer 200 and cleans up. CI runs it on every pull request, forks included,
alongside Cottage's own checks, which now live under .github/.

The README explains the recipe format and rules for contributors.
This commit is contained in:
michael authored and GitHub committed 2026-11-21 14:03:35 -05:00
1 parent a0d992022d
commit 193936ab2e
9 files changed
+215 -64

No files matched your search

-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh
# Deploy, wait for running, check the health path, delete. See scripts/smoke.sh.
exec "$(dirname "$0")/../../../scripts/smoke.sh" "$(dirname "$0")/.."
-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh
# Deploy, wait for running, check the health path, delete. See scripts/smoke.sh.
exec "$(dirname "$0")/../../../scripts/smoke.sh" "$(dirname "$0")/.."
-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh
# Deploy, wait for running, check the health path, delete. See scripts/smoke.sh.
exec "$(dirname "$0")/../../../scripts/smoke.sh" "$(dirname "$0")/.."