1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration
Sebastiaan van Stijn 2c8018f4bd
Use commit-sha instead of tag for containerd
The `docker info` command compares the installed version
of containerd using a Git-sha. We currently use a tag for
this, but that tag is not returned by the version-API of
containerd, resulting in the `docker info` output to show:

    containerd version: 89623f28b87a6004d4b785663257362d1658a729 (expected: v1.0.0)

This patch changes the `v1.0.0` tag to the commit that
corresponds with the tag, so that the `docker info` output
does not show the `expected:` string.

This should be considered a temporary workaround; the check
for the exact version of containerd that's installed was needed
when we still used the 0.2.x branch, because it did not have
stable releases yet.

With containerd reaching 1.0, and using SemVer, we can likely
do a comparison for "Major" version, or make this a "packaging"
issue, and remove the check entirely (we can still _print_ the
version that's installed if we think it's usefule).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-12-12 10:43:56 -08:00
..
build Fix layer DNE with duplicate layers. 2017-11-23 15:41:59 -05:00
container test case to check « exec » works as expected 2017-12-06 07:42:57 +01:00
image Merge pull request #35572 from arm64b/big-image-imp-test-aarch64 2017-11-28 13:51:15 +01:00
network [integration] ensure frozen images are loaded 2017-10-20 16:51:13 -04:00
plugin Replace vol plugin integration test w/ unit test 2017-11-15 13:13:22 -05:00
service Adding test for creating service multiple times. 2017-11-30 13:03:44 -08:00
system Use commit-sha instead of tag for containerd 2017-12-12 10:43:56 -08:00
testdata/https integration/plugin/authz: port tests from integration-cli 2017-10-02 14:20:59 +01:00
util Skip all testdata in integration 2017-10-02 17:02:52 -04:00
doc.go