1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/hack/make
Jörg Thalheim 2b4facdf2e hack: explicit bundles for integration-cli prequisites
no longer load hide critical code such as in .integration-daemon-{start,stop},
if this step failed, it will had logged the corresponding module before:

---> Making bundle: .integration-daemon-start (in bundles/1.7.0-dev/daemon-start)

which is nicer to debug.

This will make it also easier to execute a single tests in an interactive shell.

$ make shell
docker> . hack/make.sh binary .integration-daemon-start .integration-daemon-setup
docker> docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED STATUS              PORTS               NAMES
docker> go test github.com/docker/docker/integration-cli

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
2015-06-09 07:22:26 +02:00
..
.build-deb Update urls from .com to .org. 2015-06-03 13:28:47 -07:00
.build-rpm Update urls from .com to .org. 2015-06-03 13:28:47 -07:00
.dockerinit hack/make/test-integration-cli: introduce MAKEDIR variable 2015-04-15 10:44:14 +02:00
.dockerinit-gccgo Merge pull request #12376 from Mic92/refactor-hack 2015-04-22 12:12:44 -07:00
.ensure-emptyfs Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
.ensure-frozen-images add unshare apparmor profile test 2015-05-20 14:06:00 -07:00
.ensure-httpserver Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
.go-autogen Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
.go-compile-test-dir Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
.integration-daemon-setup hack: explicit bundles for integration-cli prequisites 2015-06-09 07:22:26 +02:00
.integration-daemon-start hack: explicit bundles for integration-cli prequisites 2015-06-09 07:22:26 +02:00
.integration-daemon-stop add unshare apparmor profile test 2015-05-20 14:06:00 -07:00
.validate .: remove trailing white spaces 2015-03-25 13:38:17 -04:00
binary Make "DEST" a make.sh construct instead of ad-hoc 2015-05-30 11:16:43 -07:00
build-deb hack: explicit bundles for integration-cli prequisites 2015-06-09 07:22:26 +02:00
build-rpm Swap build-* to use UTC instead of local time 2015-06-03 09:56:46 -07:00
cover Make "DEST" a make.sh construct instead of ad-hoc 2015-05-30 11:16:43 -07:00
cross Make "DEST" a make.sh construct instead of ad-hoc 2015-05-30 11:16:43 -07:00
dynbinary Make "DEST" a make.sh construct instead of ad-hoc 2015-05-30 11:16:43 -07:00
dyngccgo Make "DEST" a make.sh construct instead of ad-hoc 2015-05-30 11:16:43 -07:00
gccgo Make "DEST" a make.sh construct instead of ad-hoc 2015-05-30 11:16:43 -07:00
README.md Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
test-docker-py hack: explicit bundles for integration-cli prequisites 2015-06-09 07:22:26 +02:00
test-integration-cli hack: explicit bundles for integration-cli prequisites 2015-06-09 07:22:26 +02:00
test-unit Make "DEST" a make.sh construct instead of ad-hoc 2015-05-30 11:16:43 -07:00
tgz Make "DEST" a make.sh construct instead of ad-hoc 2015-05-30 11:16:43 -07:00
ubuntu Make "DEST" a make.sh construct instead of ad-hoc 2015-05-30 11:16:43 -07:00
validate-dco hack/make/test-integration-cli: introduce MAKEDIR variable 2015-04-15 10:44:14 +02:00
validate-gofmt hack/make/test-integration-cli: introduce MAKEDIR variable 2015-04-15 10:44:14 +02:00
validate-test Validate we're not using the old testing stuff 2015-04-23 10:29:47 -07:00
validate-toml hack/make/test-integration-cli: introduce MAKEDIR variable 2015-04-15 10:44:14 +02:00
validate-vet hack/make/test-integration-cli: introduce MAKEDIR variable 2015-04-15 10:44:14 +02:00

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