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
Sebastiaan van Stijn f2b25e498f
docker-py: skip broken ImageCollectionTest::test_pull_multiple
The ImageCollectionTest.test_pull_multiple test performs a `docker pull` without
a `:tag` specified) to pull all tags of the given repository (image).

After pulling the image, the image(s) pulled are checked to verify if the list
of images contains the `:latest` tag.

However, the test assumes that all tags of the image are tags for the same
version of the image (same digest), and thus a *single* image is returned, which
is not always the case.

Currently, the `hello-world:latest` and `hello-world:linux` tags point to a
different digest, therefore the `client.images.pull()` returns multiple images:
one image for digest, making the test fail:

    =================================== FAILURES ===================================
    ____________________ ImageCollectionTest.test_pull_multiple ____________________
    tests/integration/models_images_test.py:90: in test_pull_multiple
        assert len(images) == 1
    E   AssertionError: assert 2 == 1
    E    +  where 2 = len([<Image: 'hello-world:linux'>, <Image: 'hello-world:latest'>])

This patch temporarily skips the broken test until it is fixed upstream.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-01-03 15:47:39 +01:00
..
.resources-windows hack/make: remove autogen resources for Docker CLI 2019-09-11 15:16:07 +02:00
.binary imporve hardcoded CC on cross compile 2019-07-17 17:42:14 +08:00
.binary-setup rootless: expose ports automatically 2019-03-21 02:44:08 +09:00
.detect-daemon-osarch Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
.ensure-emptyfs Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
.go-autogen Use -X ldflags to set dockerversion package vars 2019-12-02 10:21:41 -08:00
.go-autogen.ps1 hack/make: remove autogen resources for Docker CLI 2019-09-11 15:16:07 +02:00
.integration-daemon-setup Revert "Bash scripts; use double brackets, fix bare variables, add quotes" 2019-01-10 02:23:38 +01:00
.integration-daemon-start hack: fix mixed tabs/spaces for indentation 2019-08-02 15:58:33 +02:00
.integration-daemon-stop hack/make: don't attempt to unmount non-existing daemon root-dir 2019-10-11 00:34:53 +02:00
.integration-test-helpers Fix TEST_FILTER to work for both "integration" and "integration-cli" 2019-10-21 14:03:58 +02:00
binary Remove cmd/docker and other directories in cli/ in accordance with the new Moby project scope 2017-05-05 12:14:29 -07:00
binary-daemon hack/make/binary-daemon: fix some linting issues 2019-08-31 12:12:25 +02:00
build-integration-test-binary hack: remove integration-cli-on-swarm 2019-06-01 04:45:26 +09:00
containerutility Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
cross Add support for setting GOARM in cross target. 2019-04-17 13:19:14 -07:00
cross-platform-dependent Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
dynbinary hack: fix mixed tabs/spaces for indentation 2019-08-02 15:58:33 +02:00
dynbinary-daemon Add osusergo build tar for static binaries 2018-07-19 12:25:46 +03:00
install-binary rootless: expose ports automatically 2019-03-21 02:44:08 +09:00
README.md Remove test-unit from hack/make 2017-07-17 11:39:33 -04:00
run Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
test-docker-py docker-py: skip broken ImageCollectionTest::test_pull_multiple 2020-01-03 15:47:39 +01:00
test-integration integration: simplify parallel run destination 2019-09-11 17:18:38 +02:00
test-integration-cli Fixed typo DEREPCATED -> DEPRECATED. 2017-12-29 06:39:09 -05:00
test-integration-flaky Improve integration test detecetor 2019-08-07 08:43:43 -07:00
test-integration-shell Protect images in the integration/ suite 2017-08-09 11:02:57 -04: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 binary ubuntu

# Or to run all default bundles:
./hack/make.sh

To add a bundle:

  • Create a shell-compatible file here
  • Add it to $DEFAULT_BUNDLES in make.sh