mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
4d0275c819
Adds a new bundle `verify-integration-tests` which pre-compiles a test binary for the integration tests. This makes sure that the integration tests will actually compile before doing other tasks which take much longer, such as building dockerd and loading test fixtures. When it comes time to actually run the tests, the pre-compiled binary will be used so it doesn't have to compile the tests a 2nd time. Signed-off-by: Brian Goff <cpuguy83@gmail.com> |
||
---|---|---|
.. | ||
.build-deb | ||
.build-rpm | ||
.resources-windows | ||
.binary | ||
.binary-setup | ||
.detect-daemon-osarch | ||
.ensure-emptyfs | ||
.ensure-frozen-images | ||
.ensure-frozen-images-windows | ||
.ensure-httpserver | ||
.ensure-nnp-test | ||
.ensure-syscall-test | ||
.go-autogen | ||
.integration-daemon-setup | ||
.integration-daemon-start | ||
.integration-daemon-stop | ||
.integration-test-helpers | ||
.validate | ||
binary | ||
binary-client | ||
binary-daemon | ||
build-deb | ||
build-integration-test-binary | ||
build-rpm | ||
clean-apt-repo | ||
clean-yum-repo | ||
cover | ||
cross | ||
dynbinary | ||
dynbinary-client | ||
dynbinary-daemon | ||
generate-index-listing | ||
install-binary | ||
install-binary-client | ||
install-binary-daemon | ||
install-script | ||
README.md | ||
release-deb | ||
release-rpm | ||
run | ||
sign-repos | ||
test-deb-install | ||
test-docker-py | ||
test-install-script | ||
test-integration-cli | ||
test-integration-shell | ||
test-old-apt-repo | ||
test-unit | ||
tgz | ||
ubuntu | ||
update-apt-repo | ||
validate-dco | ||
validate-default-seccomp | ||
validate-gofmt | ||
validate-lint | ||
validate-pkg | ||
validate-test | ||
validate-toml | ||
validate-vendor | ||
validate-vet | ||
win |
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 test
./hack/make.sh binary ubuntu
# Or to run all bundles:
./hack/make.sh
To add a bundle:
- Create a shell-compatible file here
- Add it to $DEFAULT_BUNDLES in make.sh