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 drivers: re-export ResourceUsage structs 2019-01-08 09:11:47 -05:00
driver.go client: enable support for cgroups v2 2022-03-23 11:35:27 -05:00
errors.go Standardize driver health description messages for all drivers 2019-01-06 22:06:38 -06:00
execstreaming.go implemment streaming exec handling in driver grpc handlers 2019-05-09 16:49:08 -04:00
plugin.go drivers: pass logger through driver plugin client 2019-01-25 09:38:41 -05:00
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 Add plugin API versioning to plugin loader and plugins 2018-12-18 16:48:00 -08:00