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
.detect-daemon-osarch add support for building first ARM debian package 2016-01-29 00:21:17 +01:00
.ensure-emptyfs
.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
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
cross
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
install-script Create a bundle for the install script to support other domains 2016-01-21 20:42:20 -08:00
README.md
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
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
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
ubuntu
update-apt-repo add scripts to clean experimental rpms and debs 2016-01-27 15:54:53 -08:00
validate-dco
validate-gofmt
validate-lint Fix few comments in validate scripts 2015-10-10 11:21:04 +02:00
validate-pkg
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