zulip/.github/workflows
Alex Vandiver 2daad58afa ci: Use an init process to reap defunct processes.
When Github Actions run in Docker, the default pid 1 entrypoint is
`tail -f /dev/null`.  PID 1 is responsible for propagating signals to
its children, and calling `waitpid()` on defunct processes; `tail`
does not do these things.  This results in zombie processes piling up
inside the container, which is not an issue in most contexts.

However, it affects `start-stop-daemon`, which hangs when stopping
daemon processes, as they are never reaped.  This appears in CI as
`/etc/init.d/supervisor restart` never being able to succeed.

Run the docker container with `--init`, which spawns a
`/sbin/docker-init` PID 1 to handle the job of an init process.
2021-07-22 14:09:01 -07:00
..
cancel-previous-runs.yml scripts: Use curl -f (--fail). 2021-07-13 16:47:49 -07:00
codeql-analysis.yml docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
legacy-os.yml ci: Notify in zulip when a build fails in GitHub Actions. 2021-02-26 08:29:56 -08:00
production-suite.yml ci: Use an init process to reap defunct processes. 2021-07-22 14:09:01 -07:00
update-oneclick-apps.yml actions: Rename kandra-ops to kandra ops in oneclick config file. 2021-04-15 10:41:20 -07:00
zulip-ci.yml ci: Update outdated comments, documentation and gitignore. 2021-07-22 14:09:01 -07:00