Webship Workspace 1.0.50 is out: off DDEV a stop now reaches the application's server and the project's tasks, and Home Assistant is listed.
- A stop reaches the application's server and the project's tasks off DDEV. They get the runtime's whole grace to end: 10 seconds on Docker Compose and Podman, 30 on Kubernetes. Before, the server was killed 2 seconds after a stop, whatever it was doing.
- Home Assistant is listed. Its step pack is in the Extra steps list and its Workspace plugin in the catalogue.
Upgrading from 1.0.49
- Nothing to do for a new build. A project made before 1.0.50 off DDEV takes the new start when its files are written again (
ddev configin its folder, or its next build).
Fixed
- The stop off DDEV (#983, #989): the server and the tasks start with
setpriv(util-linux), which execs, in place ofrunuser, which killed the server 2 s after a stop.start.shand the newdaemons.share the first processes: each passes the stop on to its process groups as it came (TERM, INT, QUIT, or WINCH, the stop signals of nginx and Apache) and ends once they have all ended.- Lando: the generic stack's appserver sets
LANDO_NEEDS_EXEC, so a stop reaches the server at all; before, it was killed at the end of the grace. - Docksal: the tasks' supervisor program starts
daemons.sh, which passes the stop on. - The daemons service asks for
stop_signal: SIGTERM; the generic Alpine image addssetpriv. - Proven with a test server that works 8 s after a stop: it ended cleanly on Docker (8.4 s), Podman (9.7 s), Kubernetes (16.7 s), Lando (8.2 s) and Docksal's tasks (5.4 s); on 1.0.49 it was never asked, or killed. Checked in the browser before the merge: the row's Stop let it finish its 8 s.
- Lando: the generic stack's appserver sets
Added
- Home Assistant (#987, #988):
@webship-js/home-assistant-stepsin the step-pack list, and@webship.co/workspace-home-assistantin the plugin catalogue. An app is recognised by the application name its front page carries, or by its onboarding page. The logo is Simple Icons' Home Assistant icon (CC0), in the brand's colour.