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
Paul Liljenberg 620b8250e8 improve test-deb-install
This PR adds support for using the DOCKER_BUILD_PKGS env var to
better help defining what packege to build. It also adds support
for the integration-daemon so we can run it as a bundle.

Signed-off-by: Paul Liljenberg <liljenberg.paul@gmail.com>

add directory test

Adds missing directory test. This helps verifying that
DOCKER_BUILD_PKGS is a directory and exists before continueing.

Signed-off-by: Paul Liljenberg <liljenberg.paul@gmail.com>

fix indent

Signed-off-by: Paul Liljenberg <liljenberg.paul@gmail.com>
2016-02-04 18:14:08 +01:00
..
.build-deb *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
.build-rpm fix opensuse rpm 2016-02-03 10:34:17 -08:00
.resources-windows Windows: Build docker.exe manifested and with icon 2015-06-04 11:49:10 -07:00
.detect-daemon-osarch add support for building first ARM debian package 2016-01-29 00:21:17 +01:00
.ensure-emptyfs Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
.ensure-frozen-images Merge pull request #19013 from hqhq/add_support_docker_aarch64 2016-01-26 10:33:48 -08:00
.ensure-frozen-images-windows Windows CI: Setup for testing against Windows 2016-01-11 11:52:03 -08:00
.ensure-httpserver Add initial support for Docker on ARM 2015-11-15 13:15:31 +01:00
.ensure-syscall-test Make .ensure-syscall-test to use build-arg 2016-01-08 15:27:21 +08:00
.go-autogen *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
.integration-daemon-setup Windows CI: Setup for testing against Windows 2016-01-11 11:52:03 -08:00
.integration-daemon-start Windows CI: More debugging 2016-01-06 11:44:07 -08:00
.integration-daemon-stop Windows CI: No integration daemon stop 2016-01-05 10:52:59 -08:00
.validate .: remove trailing white spaces 2015-03-25 13:38:17 -04:00
binary Add DOCKER_BUILD_GOGC to tweak GOGC for compile 2016-01-27 13:35:26 -05:00
build-deb add support for building first ARM debian package 2016-01-29 00:21:17 +01:00
build-rpm fix opensuse rpm 2016-02-03 10:34:17 -08:00
clean-apt-repo add scripts to clean experimental rpms and debs 2016-01-27 15:54:53 -08:00
clean-yum-repo add scripts to clean experimental rpms and debs 2016-01-27 15:54:53 -08:00
cover Make "DEST" a make.sh construct instead of ad-hoc 2015-05-30 11:16:43 -07:00
cross make windows cross compile static daemon work 2015-08-10 16:16:58 -07:00
dynbinary *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
dyngccgo *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
gccgo Build and test Docker on IBM Power and Z using gccgo. Enable CI on Power and Z. 2015-11-14 03:16:45 +00:00
generate-index-listing add script to generate index listing for the repo if say hosted on s3 2015-10-08 09:21:16 -07:00
install-script Create a bundle for the install script to support other domains 2016-01-21 20:42:20 -08:00
README.md Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
release-deb add support for building first ARM debian package 2016-01-29 00:21:17 +01:00
release-rpm add support for building first ARM debian package 2016-01-29 00:21:17 +01:00
sign-repos Add ability to use a different GPG key identifier 2015-08-31 11:27:57 -07:00
test-deb-install improve test-deb-install 2016-02-04 18:14:08 +01:00
test-docker-py docker-py: upgrade and fix test script 2015-10-28 12:56:50 -04:00
test-install-script add test script for built debs 2015-10-19 16:15:27 -07:00
test-integration-cli Remove timer and use -check.v for tests formatting 2015-06-18 14:22:40 -07:00
test-old-apt-repo add script to test the old apt-repo 2015-11-04 16:01:19 -08:00
test-unit Windows: Native make test-unit 2015-11-07 08:23:10 -08:00
tgz Make "DEST" a make.sh construct instead of ad-hoc 2015-05-30 11:16:43 -07:00
ubuntu revert apparmor changes back to how it was in 1.7.1, but keep tests 2015-08-06 12:49:25 -07:00
update-apt-repo add scripts to clean experimental rpms and debs 2016-01-27 15:54:53 -08: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-lint Fix few comments in validate scripts 2015-10-10 11:21:04 +02:00
validate-pkg Add new "validate-pkg" bundlescript 2015-06-12 12:28:23 -07:00
validate-test Fix few comments in validate scripts 2015-10-10 11:21:04 +02:00
validate-toml Fix few comments in validate scripts 2015-10-10 11:21:04 +02:00
validate-vendor Add a validate-vendor script 2016-01-07 19:57:50 +01:00
validate-vet Fix few comments in validate scripts 2015-10-10 11:21:04 +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