- k8s/deployment.yaml: bump startup-probe failureThreshold from 12 to 24 (70s -> 130s max startup time) to give the app more headroom on cold start. - lib/towerops/profiles/yaml_profiles.ex: defer YAML profile loading from init/1 to a handle_info(:load_profiles, ...) so the supervisor (and Bandit) come up immediately and the profiles populate in the background within ~60s. - e2e/Makefile: convenience target wrappers around the existing npm scripts.
24 lines
247 B
Makefile
24 lines
247 B
Makefile
.PHONY: all test local staging ui headed debug report
|
|
|
|
all: test
|
|
|
|
test:
|
|
npm test
|
|
|
|
local:
|
|
npm run test:local
|
|
|
|
staging:
|
|
npm run test:staging
|
|
|
|
ui:
|
|
npm run test:ui
|
|
|
|
headed:
|
|
npm run test:headed
|
|
|
|
debug:
|
|
npm run test:debug
|
|
|
|
report:
|
|
npm run report
|