-
Time Log
Design & Scope Definition – 30 min
- Clarified separation of dev vs runtime responsibilities
- Identified minimum required commands
- Eliminated unnecessary build logic
Script Implementation – 60 min
- Implemented minimal runtime script
- Added defensive checks
- Added URL printing
Clean Environment Testing – 60 min
- Tested from outside repository
- Verified no implicit path dependencies
- Confirmed no Maven or Git assumptions
Compose Default Refinement – 45 min
- Added fallback defaults for:
- POSTGRES_PASSWORD
- SZTAB_PUBLIC_URL
- GIT_PUBLIC_URL
- Ensured
.envoptional
Final Review & Hardening – 30 min
- Verified no dev-only logic leaked in
- Confirmed predictable failure modes
- Removed build-related commands
Total Time Spent
3h 45m
Estimated: 4h
Actual: ~3h45m
| Type |
New Feature
|
| Priority |
Major
|
| Assignee | |
| Version |
1.9.0
|
| Sprints |
n/a
|
| Customer |
n/a
|
Issue Votes (0)
Summary
Introduce a minimal runtime control script (
sztabctl) for Sztab release environments.This script will:
It is intended strictly for release/runtime usage and must not depend on repository layout, Dockerfiles, or Maven.
This cleanly separates:
sztabsztabctlMotivation
The existing
sztabscript is development-oriented and:In release environments none of this is required.
Sztab administrator only needs to:
We should not require a Git checkout or repository root for runtime control.
Scope
Create new standalone script:
sztabctlIt must operate using:
docker-compose-release.ymlfrom the current directory.
It must not reference:
Functional Requirements
--start
Runs:
After start, print:
--down
Runs:
--logs
Runs:
--status
Runs:
--urls
Print static URLs:
Non-Goals
Testing Plan
docker-compose-release.ymlcaddy/Caddyfilesztabctl./sztabctl --start./sztabctl --status./sztabctl --logs./sztabctl --downEstimated Time
Total: 4.0h
Risk
Low.
Main risk: accidental coupling to development compose file or repo structure.
Mitigation: test in completely empty directory.
Impact
Target Release: 1.9.x