BUG FIXES:
- Clean-up core signals handler by removing unnecessary cruft (#533)
- Clean-up a few things around global/job shutdown (#533)
- Add optional debug logging of timer/timeout events (#534)
- Prevent overzealous collection of Metric events through Prometheus (#536)
- docs: fix typo in link to job config spec (#537)
SHA1 57857530356708e9e8672d133b3126511fb785ab
This release adds two major enhancements, upgrades to Go 1.9 and Consul 1.0.0 as well as signal events.
We've added a new event trigger to ContainerPilot. You can now send a UNIX
signal into a containerpilot
process and have it trigger a custom job. Signal
based jobs can trigger on either SIGHUP
or SIGUSR2
.
FEATURES:
- Upgraded to Go 1.9 for building ContainerPilot (#519)
- Upgraded to Consul 1.0.0 for our testing infrastructure and target Consul version (#519)
- Signal events which allow a job to trigger on a UNIX signal (#513)
SHA1 1248784ff475e6fda69ebf7a2136adbfb902f74b
BUG FIXES:
- Fix a goroutine leak in the signal handler code path (#523)
SHA1 7ee8e59588b6b593325930b0dc18d01f666031d7
The big change in this release for ContainerPilot is a refactoring of how the app shuts down. We're now using the Go context package throughout the entire application. Many of the race conditions and timing issues that occurred on global shutdown should now be removed.
FEATURES:
- Log the pid of every job in a logger field (#497)
BUG FIXES:
- Refactor away EventHandler into separate pub/sub interfaces (#476)
- Migrate from deprecated Consul API call PassTTL to UpdateTTL (#515)
SHA1 f06b2e8398f83ee860a73c207354b75758e3e3ac
FEATURES:
- add Jobs to status endpoint (#507)
BUG FIXES:
- cleanup test assert.Equal argument order (#509)
- fix lint and support go 1.9 (#507)
- enter/exit maintenance events should also trigger job start (#501)
- Fix join (#495)
SHA1 e8258ed166bcb3de3e06638936dcc2cae32c7c58
BUG FIXES:
- split SIGCHLD from all other signal handlers in supervisor (#493)
SHA1 5c99ae9ede01e8fcb9b027b5b3cb0cfd8c0b8b88
BUG FIXES:
- move defer out of loop so as not to leak a closure (#488)
SHA1 4d13cfb345de86135ab2271b77516c6b6a7bed3a
FEATURES:
- config: Introduce logging to file w/ log file re-open on SIGUSR1 (#477)
- add raw logging field to bypass logger for exec (#462)
BUG FIXES:
- control: HTTPServer should handle existing control socket files (#480)
- docs: Better language around
stopTimeout
(#479) - fix GOOS setting in makefile (#483)
- discovery: fix tls config for Consul (#481)
- default restarts to "unlimited" when when->interval is set (#473)
- docs: add pointers to godoc (#475)
SHA1 ff14bfc9f6b7a10654b0c8777175c2b0436575aa
BUG FIXES:
- fix race that can sometimes cause deadlock during reload/shutdown with larger numbers of jobs (#468) (#469)
SHA1 806f28a25a06acdbcfa8940c8968d5f8e20a2c4f
BUG FIXES:
- make sure jobs configured for stopping/stopped exit on shutdown/reload (#465) (#466)
SHA1 8d680939a8a5c8b27e764d55a78f5e3ae7b42ef4
BUG FIXES:
- Fix when->timeout canceling running jobs (#456) (#458)
SHA1 056d45f728e9b9c61793d6f994da291d5eebeabd
BUG FIXES:
- fixed bug where
/status
always reported job as "unknown" status (#445) (#450) - fixed bug where job exec was getting
SIGKILL
instead ofSIGTERM
on ContainerPilot stop (#448) (#449) - fixed bug where supervisor's
SIGCHLD
handler could blockSIGTERM
/SIGINT
handlers
SHA1 e27c1b9cd1023e622f77bb19914606dee3c9b22c
BUG FIXES:
- Backport supervisor process to v2 to avoid race in zombie cleanup after timeout (#447) (#452)
SHA1 030f1e54a43a842d38b30373f8847132a9771829
BUG FIXES:
- move child reaping into supervisor process (#439) (#440)
- bugfix for catching another when event stopping the running job (#417) (#438)