mirror of
https://github.com/moby/moby.git
synced 2026-08-09 17:39:58 +00:00
gotestsum enables color output for known CI environments by checking whether CI is set first, then looking for a vendor-specific variable (GITHUB_ACTIONS, GITLAB_CI, etc.). GITHUB_ACTIONS was already forwarded into the test containers, but CI was not, so the check was never reached and gotestsum fell back to isatty, which returns no-color for the non-TTY pipes used inside Docker. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This directory holds scripts called by make.sh in the parent directory.
Each script is named after the bundle it creates. They should not be called directly - instead, pass it as argument to make.sh, for example:
./hack/make.sh binary ubuntu
# Or to run all default bundles:
./hack/make.sh
To add a bundle:
- Create a shell-compatible file here
- Add it to $DEFAULT_BUNDLES in make.sh