Sebastiaan van Stijn
15e0bd513e
integration/client: go mod tidy
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-05-01 13:11:55 +02:00
Maksym Pavlenko
df0cc5bd18
Merge pull request #5437 from dmcgowan/revert-arm64-release-builds
...
Revert arm64 release builds
2021-04-29 20:17:18 -07:00
Derek McGowan
15d9703d61
Remove ARM64 releases from release notes
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-04-29 15:07:05 -07:00
Derek McGowan
5d2e8e86d7
Revert "Release artifacts for Linux ARM64"
...
This reverts commit cdd0758534
.
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-04-29 15:05:59 -07:00
Derek McGowan
7942ae68b1
Revert "Specify seccomp target arch for CC"
...
This reverts commit 969ec89493
.
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-04-29 15:05:54 -07:00
Michael Crosby
32005190c0
Merge pull request #5431 from AkihiroSuda/go113
...
CI: allow Go 1.13 for Docker/Moby compatibility
2021-04-29 14:07:07 -04:00
Phil Estes
4196fb2b1f
Merge pull request #5427 from claudiubelu/tests/measure-consumed-stats
...
tests: Adds consumed memory stats test
2021-04-29 12:58:24 -04:00
Phil Estes
8d2ce532ff
Merge pull request #5428 from AkihiroSuda/fedora34
...
Vagrantfile: update to Fedora 34
2021-04-29 10:51:20 -04:00
Claudiu Belu
3187b6dc81
tests: Adds consumed memory stats test
...
We can check that the reported containers stats are not lower than it should
by using the resource-consumer image. This image contains stress / testlimit.exe
which can consume a specified amount of memory.
Signed-off-by: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-04-29 14:11:34 +00:00
Derek McGowan
f0b4258904
Merge pull request #5429 from cpuguy83/fix_libseccomp_cc
...
Specify seccomp target arch for CC
2021-04-28 12:00:04 -07:00
Brian Goff
969ec89493
Specify seccomp target arch for CC
...
seccomp's build scripts require setting the target arch that will be
built when cross compiling.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2021-04-28 17:07:44 +00:00
Michael Crosby
4dc758d0c9
Merge pull request #5433 from AkihiroSuda/deprecate-aufs
...
Deprecate built-in aufs snapshotter
2021-04-28 12:20:26 -04:00
Akihiro Suda
c19b7b64d3
RELEASES.md: recommend alternatives for deprecated features
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-04-28 15:56:34 +09:00
Akihiro Suda
8a62aa1c30
Deprecate built-in aufs snapshotter
...
aufs was removed from Ubuntu kernel in Ubuntu 21.04, so deprecate the
built-in aufs snapshotter.
The aufs snapshotter can be still maintained as a non-builtin snapshotter.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-04-28 15:50:01 +09:00
Akihiro Suda
4e7915f801
CI: allow Go 1.13 for Docker/Moby compatibility
...
Docker/Moby still uses Go 1.13 for building containerd binaries.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-04-28 14:09:31 +09:00
Phil Estes
feee16e0e3
Merge pull request #5403 from claudiubelu/cri-integration-images
...
tests: Refactors container image usage
2021-04-27 14:18:25 -04:00
Akihiro Suda
8e589e873d
Vagrantfile: update to Fedora 34
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-04-27 23:54:38 +09:00
Claudiu Belu
5847340a7d
tests: Refactors container image usage
...
Currently, the cri-integration tests do not work on Windows due to various reasons.
One of the reasons is because all the tests are using Linux-specific images. This
commit refactors the image pulling / usage in the cri-integration tests, making it
easier to update, and easier to configure the a custom registry to pull those images
from.
For Windows runs, custom registries can be created, which will also contain Windows
images, and the cri-integration tests can be configured to use those registries by
specifying the "--image-list" argument, a TOML file which will contain an alternative
mapping of the default images.
Signed-off-by: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-04-27 08:44:21 +00:00
Derek McGowan
b0fb8a5a04
Merge pull request #5400 from dmcgowan/prepare-1.5.0
...
Prepare v1.5.0-rc.3 release notes
2021-04-26 15:48:51 -07:00
Derek McGowan
9f43eade62
Prepare v1.5.0-rc.3 release notes
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-04-26 12:01:47 -07:00
Derek McGowan
6b9d4281ce
Merge pull request #5329 from hakman/release-linux-arm64
...
Release artifacts for Linux ARM64
2021-04-26 11:56:24 -07:00
Phil Estes
04f73e3f8a
Merge pull request #5421 from dims/use-the-multi-arch-versions-of-test-images
...
Use the multi-arch versions of the test images
2021-04-26 11:01:04 -04:00
Phil Estes
e46a4b3c64
Merge pull request #5423 from dims/test-build-image-script
...
prow needs some additional setup for docker buildx
2021-04-26 08:24:04 -04:00
Davanum Srinivas
4c7b960cb4
prow needs some additional setup for docker buildx
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-25 22:12:52 -04:00
Davanum Srinivas
2e4c1d4b74
Use the multi-arch version of the test images
...
volume-copy-up:2.0 and volume-ownership:2.0
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-25 17:49:57 -04:00
Phil Estes
56f1b3fef8
Merge pull request #5419 from dims/script-to-build-images
...
Add script to build test images
2021-04-24 16:46:00 -04:00
Phil Estes
05a6533730
Merge pull request #5420 from dims/integration-tests-needs-lsof
...
integration tests needs lsof
2021-04-24 16:44:28 -04:00
Davanum Srinivas
4e00c4b65f
integration tests needs lsof
...
We need/use `lsof` in integration tests:
https://github.com/containerd/containerd/blob/master/integration/client/container_linux_test.go#L493
`TestShimDoesNotLeakPipes` fails if `lsof` is not present
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-24 07:49:48 -04:00
Davanum Srinivas
177273680e
Add script to build test images
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-23 22:37:10 -04:00
Phil Estes
ca6a41915a
Merge pull request #5416 from dims/add-multi-arch-support-for-test-images-take-2
...
Add multi-arch support for test images
2021-04-23 16:05:57 -04:00
Davanum Srinivas
1b5d59dfe2
Add multi-arch support for test images
...
- Add a multi-arch image with linux/amd64 and linux/arm64 (limit to just
what we are running in CI)
- Bump versions to 2.0 as 1.0 is the single-arch image
- Use `docker buildx` instead of just docker, so we don't need to build
manifests by hand
- busybox now does not have `nogroup`, since the test needs it, switch
over from busybox to ubuntu for just the volume-ownership image
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-23 15:07:33 -04:00
Mike Brown
9cf44ee13b
Merge pull request #5406 from dims/separate-jobs-for-build-and-test-for-openlab
...
New Openlab based job to run ARM64 tests
2021-04-23 10:19:44 -05:00
Davanum Srinivas
78e5297274
add integration tests
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-22 20:53:49 -04:00
Davanum Srinivas
2b0e6cdd42
Separate jobs for build and test for openlab/arm64
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-22 07:21:35 -04:00
Ciprian Hacman
cdd0758534
Release artifacts for Linux ARM64
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2021-04-22 06:50:22 +03:00
Mike Brown
3dad67eedb
Merge pull request #5203 from tghartland/5008-target-namespace
...
Support PID NamespaceMode_TARGET
2021-04-21 19:41:38 -05:00
Maksym Pavlenko
cb64dc8250
Merge pull request #5401 from Iceber/use-unbuffered-channel
...
process: use the unbuffered channel as the done signal
2021-04-21 16:50:32 -07:00
Thomas Hartland
efcb187429
Add unit tests for PID NamespaceMode_TARGET validation
...
Signed-off-by: Thomas Hartland <thomas.george.hartland@cern.ch>
2021-04-21 19:59:10 +02:00
Thomas Hartland
b48f27df6b
Support PID NamespaceMode_TARGET
...
This commit adds support for the PID namespace mode TARGET
when generating a container spec.
The container that is created will be sharing its PID namespace
with the target container that was specified by ID in the namespace
options.
Signed-off-by: Thomas Hartland <thomas.george.hartland@cern.ch>
2021-04-21 17:54:17 +02:00
Iceber Gu
909660ea92
process: use the unbuffered channel as the done signal
...
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-04-21 18:24:18 +08:00
Maksym Pavlenko
7b7a230dd2
Merge pull request #5399 from dmcgowan/update-cgroup-vendor
...
Update cgroups for regenerated protos
2021-04-20 16:19:18 -07:00
Derek McGowan
0f332dadd1
Update cgroups for regenerated protos
...
The proto version was updated with cgroup in v1.0.0 but
the protos were not regenerated. The v1.0.1 tag fixes this.
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-04-20 15:46:27 -07:00
Michael Crosby
079fe6bca8
Merge pull request #5395 from mikebrow/cmd-check-improve-error-checking
...
add check quiet option and update usage
2021-04-20 14:43:25 -04:00
Michael Crosby
a3fe5c84c0
Merge pull request #5383 from wzshiming/clean/process-io
...
move common code to pkg/process from runtime
2021-04-20 14:40:12 -04:00
Derek McGowan
c3f5a6a93d
Merge pull request #5394 from dmcgowan/prepare-1.5.0-rc.2
...
Prepare 1.5.0-rc.2 release notes
2021-04-20 09:37:42 -07:00
Mike Brown
391b123a5e
adds quiet option for ref
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2021-04-20 09:20:14 -05:00
Phil Estes
c4d30c173f
Merge pull request #5379 from ktock/fix-push-race
...
Fix PushHandler cannot push image that contains duplicated blobs
2021-04-20 08:56:07 -04:00
ktock
ab1654d0e2
Fix PushHandler cannot push image that contains duplicated blobs
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2021-04-20 14:00:53 +09:00
Mike Brown
00f8d32ef5
add not found debug out for check cmd; update usage
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2021-04-19 19:36:10 -05:00
Derek McGowan
55734b1c56
Prepare 1.5.0-rc.2 release notes
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-04-19 14:00:49 -07:00