Gabriel Adrian Samfira
50921e71bb
Run go mod tidy in integration tests
...
make integration currently fails due to outdated go.mod.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-04-04 11:01:56 +03:00
Akihiro Suda
9f4e13973d
Merge pull request #6765 from thaJeztah/move_indirects
...
go.mod: move indirects, and update integration go.mod to 1.18
2022-04-03 07:09:20 +09:00
Phil Estes
aaf64c455a
Merge pull request #6762 from mxpv/testify
...
Drop gotest.tools
2022-04-02 17:25:32 -04:00
Sebastiaan van Stijn
99c194e033
go.mod: move indirects, and update integration go.mod to 1.18
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-02 12:02:13 +02:00
Maksym Pavlenko
6ccec53d3e
Remove gotest.tools
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-04-01 18:18:04 -07:00
Maksym Pavlenko
871b6b6a9f
Use testify
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-04-01 18:17:58 -07:00
Maksym Pavlenko
9766107a53
Merge pull request #6760 from mxpv/env
...
Use t.Setenv instead of os.Setenv
2022-04-01 14:37:13 -07:00
Kazuyoshi Kato
999cbc4049
Merge pull request #6709 from BooleanCat/main
...
Upgrade to Go 1.18
2022-04-01 14:26:01 -07:00
Kazuyoshi Kato
6da3183105
Disable writing freelist to make the file robust against data corruptions
...
A bbolt database has a freelist to track all pages that are available
for allocation. However writing the list takes some time and reading
the list sometimes panics.
This commit sets NoFreelistSync true to skipping the freelist entirely,
following what etcd does.
https://github.com/etcd-io/etcd/blob/v3.5.2/server/mvcc/backend/config_linux.go#L31
Fixes #4838 .
Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
2022-04-01 21:06:42 +00:00
Maksym Pavlenko
62c846b17b
Update linters to use t.Setenv
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-04-01 13:53:42 -07:00
Maksym Pavlenko
2d59a39445
Use t.Setenv instead of os.Setenv
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-04-01 13:53:17 -07:00
Phil Estes
00d951e16a
Merge pull request #6751 from nobellium1997/arm-support-gce-configure
...
Adding multi-arch support for the configure.sh script
2022-04-01 15:58:30 -04:00
Nobel Barakat
4bdac2b43b
Adding multi-arch support for the configure.sh script
...
This script is used by various tests to install and configure
containerd. However, right now it's hardcoded to only support x86
and not other architectures like arm. This change will now check the
architecture of the machine the script is running on and will pull
the correct artifacts accordingly from the correct artifact store
(GCS vs Github).
Signed-off-by: Nobel Barakat <nobelbarakat@google.com>
2022-04-01 19:10:13 +00:00
Maksym Pavlenko
1ba613e200
Merge pull request #6758 from AkihiroSuda/docs-getting-started
...
docs/getting-started.md: massive update
2022-04-01 11:20:28 -07:00
Derek McGowan
00a1cb4b97
Merge pull request #6755 from AkihiroSuda/remove-unmaintained-linuxkit-kubernetes
...
Remove unmaintained contrib/linuxkit
2022-04-01 11:09:36 -07:00
Maksym Pavlenko
549cc6890d
Merge pull request #6757 from gabriel-samfira/address-test-timeouts
...
[Windows CI] Address some timeout issues
2022-04-01 10:32:41 -07:00
Maksym Pavlenko
1e5b23aeb1
Merge pull request #6756 from AkihiroSuda/update-build-deps
...
BUILDING.md: update supported Go versions
2022-04-01 10:31:37 -07:00
Fu Wei
7a9e5ac42b
Merge pull request #6753 from AkihiroSuda/runc-1.1.1
2022-04-01 20:24:03 +08:00
Akihiro Suda
6f269ccb3c
docs/getting-started.md: massive update
...
The previous documentation was too much forcusing on the Go API and not useful
for users who are not interested in implementing their own containerd client.
It was also recommending the deprecated way (cri-containerd-*.tar.gz) to install
containerd and its dependencies.
The new documentation recommends the current official way to install containerd,
and provides several links for end users.
This will replace the content of https://containerd.io/docs/getting-started/
after merging the containerd/containerd.io PR 120.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-04-01 20:45:17 +09:00
Gabriel Adrian Samfira
c7bdcdfbef
Address some timeout issues in the Windows CI
...
This change disables Windows Defender real-time monitoring on the test
workers, and increases the test timeout to 20 minutes (default is 10).
The Windows Defender real time monitoring feature scans any newly
created files for malitious contents. This takes up a lot of CPU when
expanding image archives, which contain lots of files. The CI has been
timing out due to the fact that tests take longer than 10 minutes. This
change should address that issue.
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2022-04-01 14:02:20 +03:00
Akihiro Suda
a2d22ac057
BUILDING.md: update supported Go versions
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-04-01 18:22:00 +09:00
Akihiro Suda
d0bd65d3c7
Remove unmaintained contrib/linuxkit
...
The last commit on https://github.com/linuxkit/kubernetes was on Nov 2018.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-04-01 18:16:21 +09:00
Akihiro Suda
f2d5f71a78
update runc binary to v1.1.1
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-04-01 15:20:26 +09:00
Akihiro Suda
11a31320bb
go.mod: github.com/opencontainers/runc v1.1.1
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-04-01 15:16:08 +09:00
Maksym Pavlenko
0b2a95e107
Add no_tracing tag
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-03-31 14:37:11 -07:00
Fu Wei
887615c7d0
Merge pull request #6747 from AkihiroSuda/rocky-ci
2022-03-31 20:19:19 +08:00
Fu Wei
9617d2f29b
Merge pull request #6748 from AkihiroSuda/crun-1.4.4
...
CI: bump up crun to 1.4.4
2022-03-30 22:10:27 +08:00
Akihiro Suda
b42e936c55
CI: add Rocky Linux 8
...
Testing containerd on an EL8 variant will be beneficial for enterprise users.
EL9 is coming soon, but we should keep maintaining EL8 CI for a couple of years for long-time stability.
Fixes issue 6542
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-03-30 21:27:15 +09:00
Akihiro Suda
b1030e7b68
CI: bump up crun to 1.4.4
...
https://github.com/containers/crun/compare/1.3...1.4.4
Also adds `crun-version` file for consistency with `runc-version`.
(Note: unlike runc, crun does not prepend "v" to a version tag)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-03-30 21:08:17 +09:00
Phil Estes
11685ccdef
Merge pull request #6743 from Jordy24/makehelp
...
added make help for cri integration
2022-03-29 09:59:59 -04:00
Phil Estes
bbabe76d5f
Merge pull request #6740 from dabaooline/dabaooline-patch-1
...
Update README.md cncf landscape url
2022-03-29 08:38:57 -04:00
dabaooline
b737cb10e6
Update README.md
...
update cncf landscape url
Signed-off-by: Baoli Qiao <201028369@qq.com>
2022-03-29 10:04:00 +08:00
Jordan Karaze
cf571fa968
added make help for cri integration
...
Signed-off-by: Jordan Karaze <jordan.karaze@ibm.com>
2022-03-28 16:44:12 -05:00
Eric Lin
44a8ac7b0c
Turn paths from cmdline into absolute paths
...
Snapshotter service returning relative paths confuses the client (i.e.
ctr).
Closes : #6671
Signed-off-by: Eric Lin <linxiulei@gmail.com>
2022-03-27 17:25:44 +00:00
Fu Wei
d394e00c7e
Merge pull request #6738 from zhsj/fix-test-msg
...
Fix error message in TestNewBinaryIO
2022-03-25 23:40:06 +08:00
Phil Estes
3633cae64b
Merge pull request #6706 from kzys/typeurl-upgrade
...
Use typeurl.Any instead of github.com/gogo/protobuf/types.Any
2022-03-25 10:38:46 -04:00
Shengjing Zhu
2689432bfa
Fix error message in TestNewBinaryIO
...
Signed-off-by: Shengjing Zhu <zhsj@debian.org>
2022-03-25 11:56:21 +08:00
Akihiro Suda
eaf7929320
Merge pull request #5738 from thaJeztah/simplify_cgroup_add
...
Use cgroups.AddProc() for cgroups v1
2022-03-25 10:24:43 +09:00
Fu Wei
595ad06de7
Merge pull request #6713 from cosmoer/fix-ctr-images-mount-command
...
fix: ctr images mount with snapshotter option can't get snapshotter
2022-03-25 07:37:04 +08:00
Kazuyoshi Kato
96b16b447d
Use typeurl.Any instead of github.com/gogo/protobuf/types.Any
...
This commit upgrades github.com/containerd/typeurl to use typeurl.Any.
The interface hides gogo/protobuf/types.Any from containerd's Go client.
Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
2022-03-24 20:50:07 +00:00
Fu Wei
e7cba85e1c
Merge pull request #6323 from jepio/jepio/fix-cgroupv2-oom-event
2022-03-24 15:51:28 +08:00
Fu Wei
992f5d4634
Merge pull request #6721 from mikebrow/update-go-cni-to-v1.1.4
...
moving up to go-cni v1.1.4
2022-03-24 09:51:07 +08:00
Phil Estes
db84fdae10
Merge pull request #6722 from tonistiigi/snapshot-deadlocks
...
native: fix deadlock from leaving transactions open
2022-03-23 21:48:28 -04:00
Tonis Tiigi
fe426227d4
native: fix deadlock from leaving transactions open
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-03-23 15:48:42 -07:00
Mike Brown
a51da91c1d
moving up to go-cni v1.1.4
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2022-03-23 22:16:51 +00:00
Kazuyoshi Kato
439316c7af
Merge pull request #5390 from thaJeztah/remove_googleapis_replace
...
go.mod: remove replace, and update github.com/gogo/googleapis v1.4.1
2022-03-23 14:02:25 -07:00
Derek McGowan
551516a18d
Merge pull request from GHSA-c9cp-9c75-9v8c
...
Fix the Inheritable capability defaults.
2022-03-23 10:50:56 -07:00
Sebastiaan van Stijn
36612d692f
go.mod: remove replace and update github.com/gogo/googleapis v1.4.1
...
gogo/googleapis has a single dependency (github.com/gogo/protobuf), which is
currently the same version as we use, and we have a separate replace for that
dependency, so removing this override should not make a difference there.
gogo/googleapis v1.4.1 Includes updated protos with the gogo/protobuf fixes for
[CVE-2021-3121](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3121 )
Change logs and diffs for each release:
- v1.3.3
generate grpc service for google/longrunning/operations.proto
full diff: https://github.com/gogo/googleapis/compare/v1.3.2...v1.3.3
- v1.4.0
Add google geo type
full diff: https://github.com/gogo/googleapis/compare/v1.3.3...v1.4.0
- v1.4.1
This release contains sources generated with the version of gogo/protobuf
containing a fix for the "skippy peanut butter" issue.
full diff: https://github.com/gogo/googleapis/compare/v1.4.0...v1.4.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-23 16:56:30 +01:00
Phil Estes
36dcc76fa9
Merge pull request #6496 from thaJeztah/deprecate_criu_opt
...
runtime: deprecate runc --criu / -criu-path option
2022-03-23 11:17:58 -04:00
cosmoer
df93940fb2
fix: ctr images mount with snapshotter option can't get snapshotter
...
Signed-off-by: Qian Zhang <cosmoer@qq.com>
2022-03-23 23:12:54 +08:00