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
Christy Perez 691ed6ef99 Check for apparmor file before reading it
I ran a single integration test and got an error that the file
/sys/module/apparmor/parameters/enabled doesn't exist. I don't have
apparmor installed. So, just check the file first to avoid a confusing
error.

Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
2015-06-17 11:58:17 -05:00
..
.build-deb Moving man pages out of docs 2015-06-10 13:43:35 -07:00
.build-rpm Moving man pages out of docs 2015-06-10 13:43:35 -07:00
.resources-windows Windows: Build docker.exe manifested and with icon 2015-06-04 11:49:10 -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 Windows: Build docker.exe manifested and with icon 2015-06-04 11:49:10 -07: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 Check for apparmor file before reading it 2015-06-17 11:58:17 -05:00
.integration-daemon-stop Check for apparmor file before reading it 2015-06-17 11:58:17 -05: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 Moving man pages out of docs 2015-06-10 13:43:35 -07:00
build-rpm Moving man pages out of docs 2015-06-10 13:43:35 -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 Moving man pages out of docs 2015-06-10 13:43:35 -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-pkg Add new "validate-pkg" bundlescript 2015-06-12 12:28:23 -07: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