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
Tibor Vass 89276c679e Fix release scripts
Add some missing dependencies in the Dockerfile:
- apt-utils for apt-ftparchive.conf
- bsdmainutils for our use of the column command in
  hack/make/generate-index-listing

We also ensure that the docker daemon is started before calling
release-deb or release-rpm, since .detect-daemon-osarch, which is sourced
in each of them, requires the daemon to be running.

This commit also gets completely rid of s3cmd and fixes references to
AWS_* environment variables (changing from AWS_ACCESS_KEY to
AWS_ACCESS_KEY_ID and AWS_SECRET_KEY to AWS_SECRET_ACCESS_KEY) in order
to please awscli. Also AWS_DEFAULT_REGION is now important to specify,
the default has been set to the region used by get.docker.com and
test.docker.com.

Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 996138bf8e)
2016-03-25 13:43:08 -04:00
..
.build-deb Revert "Merge pull request #21003 from riyazdf/hardware-signing-ga" 2016-03-25 13:43:08 -04:00
.build-rpm Revert "Merge pull request #21003 from riyazdf/hardware-signing-ga" 2016-03-25 13:43:08 -04:00
.resources-windows
.detect-daemon-osarch Add explicit code to handle older versions of Docker, too 2016-03-14 09:30:45 -07:00
.ensure-emptyfs
.ensure-frozen-images Adjust "hack/make/.detect-daemon-osarch" to be the source of truth for "platform detection" 2016-03-10 20:07:21 -08:00
.ensure-frozen-images-windows Windows CI: Setup for testing against Windows 2016-01-11 11:52:03 -08:00
.ensure-httpserver Improve remote integration-cli tests 2016-02-11 07:31:49 -08:00
.ensure-nnp-test Add support for NoNewPrivileges in docker 2016-03-07 09:47:02 -08:00
.ensure-syscall-test use debian:jessie for ensure-syscall-test 2016-02-09 13:13:38 -05:00
.go-autogen *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
.integration-daemon-setup Add support for NoNewPrivileges in docker 2016-03-07 09:47:02 -08:00
.integration-daemon-start Fix release scripts 2016-03-25 13:43:08 -04:00
.integration-daemon-stop Windows CI: No integration daemon stop 2016-01-05 10:52:59 -08:00
.validate
binary Revert "Merge pull request #21003 from riyazdf/hardware-signing-ga" 2016-03-25 13:43:08 -04:00
build-deb Fix symlink copying for deb init scripts 2016-03-25 13:43:08 -04:00
build-rpm Packaging changes required for new containerd binaries 2016-03-25 13:43:07 -04: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 Export GOOS and GOARCH in subprocess for tgz 2016-03-22 15:43:06 -07:00
generate-index-listing Fix index generator for apt/yum packages 2016-02-16 21:54:07 -05:00
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 Fix release scripts 2016-03-25 13:43:08 -04:00
release-rpm Fix release scripts 2016-03-25 13:43:08 -04: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 use per-check timeouts 2016-03-11 14:38:52 -05:00
test-old-apt-repo add script to test the old apt-repo 2015-11-04 16:01:19 -08:00
test-unit use per-check timeouts 2016-03-11 14:38:52 -05:00
tgz Packaging changes required for new containerd binaries 2016-03-25 13:43:07 -04:00
ubuntu
update-apt-repo fix common misspell 2016-02-11 15:49:36 -08:00
validate-dco
validate-default-seccomp add validation for generating default secccomp profile 2016-02-08 13:04:52 -08:00
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
win Windows libnetwork integration 2016-03-09 20:33:21 -08: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