Guides
Test API Smoke
Deploy the bundled test API and verify health, routing, and echo.
Use the bundled test workload at packages/enclave-template/test-api for repeatable smoke validation.
1) Start from the template directory
cd packages/enclave-template/test-api2) Validate config
enclavely build --config enclavely.yaml3) Deploy a release
enclavely deploy \
--project <project> \
--env <env> \
--image-digest sha256:<image-digest> \
--eif-digest sha256:<eif-digest> \
--wait4) Check routing
enclavely routing --project <project> --env <env>Confirm the route has:
targetwithhttp1-vsockandcid/portlatestinhealthystatus
5) Validate endpoint behavior
curl -sS https://<project>.<tenant>.<env>.<base-domain>/healthz
curl -sS https://<project>.<tenant>.<env>.<base-domain>/readyz
curl -sS -X POST https://<project>.<tenant>.<env>.<base-domain>/echo \
-H 'content-type: application/json' \
-d '{"hello":"world"}'