1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib
Ahmet Alp Balkan 2e95bb5f1a integ-cli: Implement remote FakeStorage server for build via URL tests
Implemented a FakeStorage alternative that supports spinning
up a remote container on DOCKER_TEST_HOST to serve files over
an offline-compiled Go static web server image so that tests which
use URLs in Dockerfile can build them over at the daemon side.

`fakeStorage` function now automatically chooses if it should
use a local httptest.Server or a remote container.

This fixes the following tests when running against a remote
daemon:

- `TestBuildCacheADD`
- `TestBuildCopyWildcardNoFind`
- `TestBuildCopyWildcardCache`
- `TestBuildADDRemoteFileWithCache`
- `TestBuildADDRemoteFileWithoutCache`
- `TestBuildADDRemoteFileMTime`
- `TestBuildADDLocalAndRemoteFilesWithCache`
- `TestBuildADDLocalAndRemoteFilesWithoutCache`
- `TestBuildFromURLWithF`
- `TestBuildApiDockerFileRemote`

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-03-09 12:03:55 -07:00
..
completion Fix docker build and docker run bash completion 2015-03-06 15:35:52 +08:00
desktop-integration DOCKER_VERSION and docker-version havn't been implemented. 2014-10-21 16:04:11 +10:00
docker-device-tool contrib: fix the docker-device-tool 2014-11-24 13:49:09 -05:00
host-integration DOCKER_VERSION and docker-version havn't been implemented. 2014-10-21 16:04:11 +10:00
httpserver integ-cli: Implement remote FakeStorage server for build via URL tests 2015-03-09 12:03:55 -07:00
init Merge pull request #10598 from lsm5/core-file-size 2015-02-09 17:31:40 -08:00
mkimage Adjust contrib/mkimage/debootstrap PATH handling to be more robust 2015-02-28 00:11:55 -07:00
syntax Update syntax/vim README with Vundle instructions 2015-01-05 11:08:22 -08:00
udev Add udev rules files for hiding the docker loopback devices from udisks 2013-12-02 09:11:06 -07:00
vagrant-docker IANA allocated Docker port: 2375 2014-06-04 06:54:19 +10:00
check-config.sh Merge pull request #10418 from bobrik/overlay-kernel-checks 2015-02-19 14:29:17 -08:00
download-frozen-image.sh Download busybox from the Hub instead of GitHub 2015-03-02 14:38:19 -07:00
MAINTAINERS Remove @KSid from contrib maintainers for now 2013-10-15 00:58:34 -06:00
mkimage-alpine.sh mkimage-alpine.sh: Allow to change ARCH from the environment 2015-02-13 13:57:04 +01:00
mkimage-arch-pacman.conf mkimage-arch: provide and use own pacman.conf 2014-01-21 14:22:56 +01:00
mkimage-arch.sh mkimage-arch.sh - don't run docker in interactive mode 2015-01-29 19:49:28 +00:00
mkimage-busybox.sh mkimage: use /var/tmp by default instead of /tmp 2014-06-27 14:43:12 +02:00
mkimage-crux.sh mkimage: use /var/tmp by default instead of /tmp 2014-06-27 14:43:12 +02:00
mkimage-debootstrap.sh update go import path and libcontainer 2014-07-24 22:19:50 +00:00
mkimage-rinse.sh mkimage: use /var/tmp by default instead of /tmp 2014-06-27 14:43:12 +02:00
mkimage-unittest.sh mkimage: use /var/tmp by default instead of /tmp 2014-06-27 14:43:12 +02:00
mkimage-yum.sh Patch mkimage-yum.sh to work with Amazon Linux (2014.09) 2015-02-18 15:17:15 -08:00
mkimage.sh fix help message for mkimage debootstrap with components 2014-10-01 23:18:23 +02:00
mkseccomp.pl Update to double-dash everywhere 2014-03-13 11:46:02 -06:00
mkseccomp.sample added capabilities needed by new sysinit 2014-01-14 19:27:31 +01:00
nuke-graph-directory.sh Fix a bashism and some minor bugs in nuke-graph-directory.sh 2014-12-12 11:51:12 -07:00
README Add contrib/ directory, README, and script to create a basic busybox image 2013-03-14 03:16:42 +00:00

The `contrib` directory contains scripts, images, and other helpful things
which are not part of the core docker distribution. Please note that they
could be out of date, since they do not receive the same attention as the
rest of the repository.