open-nomad/plugins/drivers
Seth Hoenig d1bda4a954 ci: fixup task runner chroot test
This PR is 2 fixes for the flaky TestTaskRunner_TaskEnv_Chroot test.

And also the TestTaskRunner_Download_ChrootExec test.

- Use TinyChroot to stop copying gigabytes of junk, which causes GHA
to fail to create the environment in time.

- Pre-create cgroups on V2 systems. Normally the cgroup directory is
managed by the cpuset manager, but that is not active in taskrunner tests,
so create it by hand in the test framework.
2022-04-19 10:37:46 -05:00
..
proto allow configuration of Docker hostnames in bridge mode (#11173) 2021-09-16 08:13:09 +02:00
testutils ci: fixup task runner chroot test 2022-04-19 10:37:46 -05:00
utils gofmt all the files 2021-10-01 10:14:28 -04:00
client.go fix(plugins): should return when ctx.Done 2022-04-09 01:04:29 +08:00
cstructs.go
driver.go client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
errors.go
execstreaming.go implemment streaming exec handling in driver grpc handlers 2019-05-09 16:49:08 -04:00
plugin.go
server.go fix integer bounds checks (#11815) 2022-01-25 11:16:48 -05:00
task_handle.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
utils.go allow configuration of Docker hostnames in bridge mode (#11173) 2021-09-16 08:13:09 +02:00
utils_test.go allow configuration of Docker hostnames in bridge mode (#11173) 2021-09-16 08:13:09 +02:00
versions.go