0
Fork 0
mirror of https://github.com/oblien/openship.git synced 2026-11-16 06:57:12 +00:00
openship/fixtures/deploy
History 2026-07-22 22:15:37 +03:00
..
dotnet update stack catalog with sample data 2026-07-16 13:16:50 +03:00
go update stack catalog with sample data 2026-07-16 13:16:50 +03:00
kotlin update stack catalog with sample data 2026-07-16 13:16:50 +03:00
laravel fix build issue for assests missing 2026-07-22 22:15:37 +03:00
node update stack catalog with sample data 2026-07-16 13:16:50 +03:00
python-fastapi update stack catalog with sample data 2026-07-16 13:16:50 +03:00
rust-axum update stack catalog with sample data 2026-07-16 13:16:50 +03:00
springboot update stack catalog with sample data 2026-07-16 13:16:50 +03:00
README.md update stack catalog with sample data 2026-07-16 13:16:50 +03:00

Deploy fixtures

Minimal, real "hello world on $PORT" apps — one per stack family — used to validate that stack detection produces the correct recipe (toolchain, package manager, install/build/start commands, output/production paths, port).

Each app:

  • binds the port from the PORT environment variable (the runtime injects it),
  • responds 200 on /,
  • is intentionally tiny — just enough to exercise detection and, later, a real build+deploy+probe smoke test across the docker / bare / cloud runtimes.

The recipe assertions live in apps/api/test/lib/language-detectors.test.ts.

Wrappers (mvnw / gradlew) are intentionally omitted here so the fixtures stay source-only; the wrapper-preference path is covered by inline cases in the test instead.