Commit Graph

3 Commits

Author SHA1 Message Date
Raúl Kripalani 4f8de94bb9 circleci: run build on bare linux. 2021-01-18 21:33:52 +00:00
Raúl Kripalani 8676adea5c introduce cgroup-driven watchdog; refactor.
This commit introduces the cgroup-driven watchdog. It can be
initialized by calling watchdog.CgroupDriven().

This watchdog infers the limit from the process' cgroup, which
is either derived from /proc/self/cgroup, or from the root
cgroup if the PID == 1 (running in a container).

Tests have been added/refactored to accommodate running locally
and in a Docker container.

Certain test cases now must be isolated from one another, to
prevent side-effects from dirty go runtimes. A Makefile has been
introduced to run all tests.
2021-01-18 21:24:31 +00:00
Raúl Kripalani da833d93a7
Add .circleci/config.yml (#5) 2020-12-09 16:21:16 +00:00