Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 20 10 14 #3

Open
wants to merge 386 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
386 commits
Select commit Hold shift + click to select a range
255c79a
Move cgroup v2 out of experimental
AkihiroSuda Feb 16, 2021
76b0df9
Merge pull request #42257 from thaJeztah/20.10_backport_fix_testinspect
tiborvass Apr 7, 2021
419b370
Merge pull request #42256 from cpuguy83/20.10_plugin_layer_mediatype
thaJeztah Apr 7, 2021
ffd037d
Merge pull request #42253 from AkihiroSuda/btrfs-allow-unprivileged-2…
tiborvass Apr 7, 2021
94854bc
Merge pull request #42109 from AkihiroSuda/rootless-add-context-2010
tiborvass Apr 7, 2021
8728dd2
Merge pull request #42263 from AkihiroSuda/move-cgroup2-out-of-experi…
tiborvass Apr 9, 2021
404ede5
Bump hcsshim for error details fix
cpuguy83 Apr 14, 2021
08b27e4
Dockerfile: update yamllint to v1.26.1 to fix build
thaJeztah Apr 15, 2021
9ca6677
bump up rootlesskit to v0.14.2
AkihiroSuda Apr 15, 2021
4af54f1
Merge pull request #42297 from thaJeztah/20.10_backport_update_yamllint
tianon Apr 23, 2021
8a7f77c
dockerd-rootless.sh: use `command -v` instead of `which`
AkihiroSuda Apr 23, 2021
ce82693
Merge pull request #42324 from AkihiroSuda/whichless-2010
tianon Apr 26, 2021
12b03bc
Error string match: do not match command path
cpuguy83 Apr 14, 2021
21391bb
hack/dind: fix cgroup v2 evacuation with `docker run --init`
AkihiroSuda Apr 27, 2021
114310d
Merge pull request #42342 from AkihiroSuda/dind-fix-cgroup2-evac-2010
tianon Apr 30, 2021
614a70a
Merge pull request #42294 from AkihiroSuda/rootlesskit-0.14.2-2010
cpuguy83 Apr 30, 2021
2a0c446
Use v2 capabilities in layer archives
EricMountain Nov 27, 2020
e3cb5ad
Merge pull request #42292 from cpuguy83/20.10_hcsshim_no_error_details
thaJeztah May 6, 2021
01f734c
[20.10] update containerd binary to v1.4.5
thaJeztah May 12, 2021
e4b9915
Merge pull request #42372 from thaJeztah/20.10_containerd_1.4.5
AkihiroSuda May 13, 2021
94c1890
builder-next: relax second cache key requirements for schema1
tonistiigi May 11, 2021
afbb127
Swarm config: use absolute paths for mount destination strings
AkihiroSuda May 1, 2021
6174e3c
Update runc binary to v1.0.0-rc94
tao12345666333 May 11, 2021
4c801fd
integration: remove KernelMemory tests
AkihiroSuda May 1, 2021
989c08c
Merge pull request #42388 from thaJeztah/20.10_backport_update_runc
AkihiroSuda May 19, 2021
fb179ff
update runc binary to v1.0.0-rc95
thaJeztah May 19, 2021
56541ec
[20.10] update containerd binary to v1.4.6
thaJeztah May 19, 2021
a23a880
Merge pull request #42395 from thaJeztah/20.10_backport_runc_rc95
thaJeztah May 19, 2021
41cf01f
pkg/signal.CatchAll: ignore SIGURG on Linux
thaJeztah May 19, 2021
c1ebb81
Merge pull request #42398 from thaJeztah/20.10_update_containerd_1.4.6
thaJeztah May 20, 2021
df371af
Merge pull request #42401 from thaJeztah/20.10_catch_almost_all
cpuguy83 May 20, 2021
3db8385
Merge pull request #42382 from thaJeztah/20.10_backport_schema1_cache…
cpuguy83 May 20, 2021
d29a55c
vendor: github.com/docker/libnetwork 64b7a4574d1426139437d20e81c0b6d3…
thaJeztah May 25, 2021
9555116
vendor: github.com/ishidawataru/sctp f2269e66cdee387bd321445d5d300893…
thaJeztah May 25, 2021
003e3c0
pkg/signal: ignore SIGURG on all platforms
thaJeztah May 25, 2021
d844987
Merge pull request #42421 from thaJeztah/20.10_backport_more_ignore
AkihiroSuda May 26, 2021
eab37e5
Merge pull request #42413 from thaJeztah/20.10_backport_bump_libnetwork
thaJeztah May 27, 2021
895eaac
vendor: github.com/moby/buildkit v0.8.3
thaJeztah May 26, 2021
6474dad
vendor: github.com/moby/buildkit v0.8.3-3-g244e8cde
thaJeztah May 31, 2021
497c50a
Merge pull request #42448 from thaJeztah/20.10_backport_update_buildkit
cpuguy83 Jun 1, 2021
b0f5bc3
Merge pull request #42352 from AkihiroSuda/cherrypick-41724
cpuguy83 Jun 1, 2021
a57fc0e
Fix setting swaplimit=true without checking
jmguzik Jun 3, 2021
523f8b3
Jenkinsfile: skip ppc64le and s390x by default on pull requests
thaJeztah May 12, 2021
4d29d58
Merge pull request #42507 from thaJeztah/20.10_backport_disable_power_z
tianon Jun 10, 2021
89edb68
Fix possible overlapping IPs
dperny May 10, 2021
87e28a6
Merge pull request #42538 from ameyag/20.10-overlap-ip
AkihiroSuda Jun 19, 2021
4d42e18
vendor: swarmkit to fix deadlock in log broker
ameyag Jun 23, 2021
46a7ebc
Merge pull request #42561 from ameyag/20.10-logbroker
thaJeztah Jun 24, 2021
872cb16
update runc binary to v1.0.0 GA
AkihiroSuda Jun 11, 2021
618f6a7
Run s390x tests on Ubuntu 20.04
StefanScherer Jun 29, 2021
78bb0f4
Dockerfile: update go-swagger to fix validation on Go1.16
thaJeztah Jul 2, 2021
44f95c7
dockerd-rootless.sh: avoid /run/xtables.lock EACCES on SELinux hosts
AkihiroSuda Mar 25, 2021
869b50e
rootless: disable overlay2 if running with SELinux
AkihiroSuda Apr 28, 2021
b9cf7b7
rootless: fix "x509: certificate signed by unknown authority" on open…
AkihiroSuda Jun 3, 2021
025e3a7
Update v1.41.yaml
Feb 18, 2021
50c392c
API: fix 404 status description on container create
thaJeztah Jul 3, 2021
72b66d5
[20.10] vendor github.com/Microsoft/hcsshim 64a2b71405dacf76c95600f4c…
thaJeztah Jul 9, 2021
7429792
docker pull: warn when pulled single-arch image does not match --plat…
thaJeztah Apr 26, 2021
793340a
[20.10] update containerd binary to v1.4.7
thaJeztah Jul 13, 2021
4b407e4
Merge pull request #42595 from thaJeztah/20.10_backport_update_swagge…
thaJeztah Jul 14, 2021
555bf58
Merge pull request #42637 from thaJeztah/20.10_update_containerd
cpuguy83 Jul 15, 2021
a1a73d1
Merge pull request #42568 from thaJeztah/20.10_backport_runc_v1.0.0
cpuguy83 Jul 15, 2021
883cc36
Merge pull request #42602 from thaJeztah/20.10_backport_swagger_404
cpuguy83 Jul 15, 2021
c37c7b5
Merge pull request #42613 from thaJeztah/20.10_update_hcsshim
thaJeztah Jul 15, 2021
8a2af96
Merge pull request #42591 from thaJeztah/20.10_backport_update_s390x_…
thaJeztah Jul 15, 2021
a504476
Merge pull request #42479 from AkihiroSuda/cherrypick-42071
thaJeztah Jul 15, 2021
8b224ca
Merge pull request #42462 from AkihiroSuda/cherrypick-rootless-selinu…
thaJeztah Jul 15, 2021
cc5a381
Merge pull request #42633 from thaJeztah/20.10_backport_warn_on_non_m…
thaJeztah Jul 15, 2021
feaca98
hack/vendor: add check for vendored archive/tar
Jul 15, 2020
1d4a06e
hack: add script to regenerate certificates
thaJeztah Jul 26, 2020
ab9a92f
Update test certificates
thaJeztah Jul 26, 2020
6793ff2
pkg/fileutils: TestMatches: remove cases no longer valid for go1.16
thaJeztah May 17, 2021
09a7efb
hack/ci/windows.ps1: disable go modules
thaJeztah May 17, 2021
8b09139
integration: ensurePlugin: disable go modules when building plugin
thaJeztah May 17, 2021
0fbb0f8
Merge pull request #42642 from thaJeztah/20.10_backport_test_changes_…
tianon Jul 16, 2021
55c363e
Bump go 1.16.5
thaJeztah Jan 7, 2020
7c6645b
update archive/tar patch for go 1.16
thaJeztah May 20, 2021
abe8c4e
updated vendored archive/tar to go1.16.5
thaJeztah May 20, 2021
b0da207
Bump go 1.16.6 (addresses CVE-2021-34558)
thaJeztah Jul 13, 2021
e7bf992
Merge pull request #42643 from thaJeztah/20.10_backport_bump_go116
AkihiroSuda Jul 18, 2021
067918a
[20.10] update containerd binary v1.4.8
thaJeztah Jul 19, 2021
013d665
Merge pull request #42657 from thaJeztah/20.10_containerd_1.4.8
cpuguy83 Jul 19, 2021
4cfeb27
update runc binary to v1.0.1
AkihiroSuda Jul 18, 2021
e8fb8f7
[20.10] update containerd binary to v1.4.9
thaJeztah Jul 29, 2021
af8e58f
Merge pull request #42659 from AkihiroSuda/runc-v1.0.1-2010
cpuguy83 Jul 29, 2021
75249d8
Merge pull request #42695 from thaJeztah/20.10_update_containerd_1.4.9
thaJeztah Jul 30, 2021
decb56a
Update Go to 1.16.7
thaJeztah Aug 7, 2021
d24c6dc
Merge pull request #42721 from thaJeztah/20.10_backport_bump_go_1.16.7
thaJeztah Aug 17, 2021
b0c0b73
bump up rootlesskit to v0.14.4
AkihiroSuda Aug 4, 2021
93ac040
Lock down docker root dir perms.
cpuguy83 Jul 2, 2021
80f1169
chrootarchive: don't create parent dirs outside of chroot
tonistiigi May 19, 2021
f0ab919
Merge pull request #2 from moby/20.10-GHSA-3fwx-pjgw-3558_0701-perms
thaJeztah Sep 9, 2021
bce32e5
Merge pull request #4 from moby/20.10-ghsa-v994-f8vw-g7j4-chroot-mkdir
thaJeztah Sep 9, 2021
964768f
cmd/dockerd: add the link of "the documentation"
AkihiroSuda Aug 27, 2021
07728cd
update runc binary to v1.0.2
AkihiroSuda Aug 23, 2021
567c01f
seccomp: add support for "clone3" syscall in default policy
tianon Sep 9, 2021
fa78afe
Update Go to 1.16.8
thaJeztah Sep 15, 2021
59f10e3
quota: adjust build-tags to allow build without CGO
Mar 19, 2021
5730c13
Bump swarmkit to get fix for rollback
awmirantis Sep 22, 2021
79ea9d3
Merge pull request #5 from moby/20.10_bump_go_1.16.8
thaJeztah Sep 23, 2021
9772835
Merge pull request #42836 from tianon/20.10-clone3
thaJeztah Oct 4, 2021
1c2ca1f
Merge pull request #42869 from pete-woods/backport-quota-package-cgo-fix
thaJeztah Oct 4, 2021
9cd3585
Merge pull request #42843 from AkihiroSuda/cherrypick-42791
thaJeztah Oct 4, 2021
6835d15
[20.10] update containerd binary to v1.4.10
thaJeztah Oct 1, 2021
129a200
[20.10] update containerd binary to v1.4.11
thaJeztah Oct 4, 2021
e086eda
Merge pull request #42760 from AkihiroSuda/cherrypick-42708
tianon Oct 7, 2021
59beba2
Merge pull request #42844 from AkihiroSuda/cherrypick-42764
tianon Oct 7, 2021
da37696
Merge pull request #42875 from awmirantis/bump_swarmkit_fix_rollback
thaJeztah Oct 7, 2021
c580a02
[20.10] Update Go to 1.16.9
thaJeztah Oct 8, 2021
a8a4b81
Merge pull request #42901 from thaJeztah/20.10_update_containerd_1.4.10
thaJeztah Oct 14, 2021
dc084ac
Merge pull request #42923 from thaJeztah/20.10_bump_go_1.16.9
thaJeztah Oct 15, 2021
c2b9a32
vendor: Update go-winio to v0.4.20
kevpar Oct 15, 2021
9f5b26f
Merge pull request #42944 from kevpar/20.10_update-winio
thaJeztah Oct 18, 2021
80b7e8b
buildkit: normalize build target and local platform
crazy-max Oct 19, 2021
bed624f
docker kill: fix bug where failed kills didnt fallback to unix kill
sparrc Oct 24, 2020
a4bcd4c
docker daemon container stop refactor
sparrc Oct 24, 2020
3285c27
Fix log statement 'failed to exit' timeout accuracy
sparrc Jun 8, 2021
2c6aa5a
Remove needless check
Apr 20, 2021
59d2a2c
dockerd-rootless.sh: Fix variable not double quotes cause unexpected …
uddmorningsun Oct 17, 2021
a4b1ae5
Merge pull request #42954 from crazy-max/20.10_build-local-normalized
thaJeztah Oct 21, 2021
52f5b61
Merge pull request #42956 from cpuguy83/20.10-backport-kill-fixes
thaJeztah Oct 21, 2021
8ab80e4
Merge pull request #42957 from thaJeztah/20.10_backport_rootless_quotes
thaJeztah Oct 22, 2021
acb4f26
Fix racey TestHealthKillContainer
cpuguy83 Oct 21, 2021
e2f740d
Merge pull request #42959 from thaJeztah/20.10_backport_fix_racey_hea…
thaJeztah Oct 22, 2021
4b9a3da
Fix race in TestCreateServiceSecretFileMode, TestCreateServiceConfigF…
thaJeztah Oct 22, 2021
9a309c6
Merge pull request #42971 from thaJeztah/20.10_backport_fix_TestCreat…
thaJeztah Nov 3, 2021
6611c72
cmd/dockerd: create panic.log file without readonly flag
Nov 2, 2021
b345692
vendor: update github.com/docker/distribution
samuelkarp Nov 4, 2021
c7edd30
[20.10] Update Go to 1.16.10
thaJeztah Nov 5, 2021
d9b2f4d
Merge pull request #42989 from thaJeztah/20.10_bump_go_1.16.10
tianon Nov 8, 2021
0e76a0a
info: unset cgroup-related fields when CgroupDriver == none
AkihiroSuda Mar 16, 2021
c7b97c3
Merge pull request #42987 from thaJeztah/20.10_backport_create_panic_…
thaJeztah Nov 9, 2021
34eb6fb
testutil: daemon.Cleanup(): cleanup more directories
thaJeztah Nov 9, 2021
7677aea
TestBuildUserNamespaceValidateCapabilitiesAreV2: cleanup daemon storage
thaJeztah Nov 5, 2021
7bd682c
Merge pull request #43008 from thaJeztah/20.10_backport_fix_TestBuild…
AkihiroSuda Nov 11, 2021
c96ed28
vendor: update github.com/containerd/containerd
samuelkarp Nov 4, 2021
c1f352c
distribution: validate blob type
samuelkarp Nov 12, 2021
10106a0
Merge pull request from GHSA-xmmx-7jpf-fx42
thaJeztah Nov 17, 2021
da9c983
[20.10] vendor: github.com/moby/buildkit v0.8.3-4-gbc07b2b8
thaJeztah Nov 17, 2021
d47de2a
[20.10] update containerd binary to v1.4.12
thaJeztah Nov 17, 2021
e0108db
[20.10] fix vendor validation
thaJeztah Nov 17, 2021
11b3bfe
Merge pull request #43028 from thaJeztah/20.10_fix_vendor_conf
thaJeztah Nov 17, 2021
dc01597
vendor: github.com/opencontainers/image-spec v1.0.2
thaJeztah Nov 17, 2021
c988693
Merge pull request #43024 from thaJeztah/20.10_containerd_1.4.12
thaJeztah Nov 17, 2021
7568123
Merge pull request #43023 from thaJeztah/20.10_bump_buildkit
thaJeztah Nov 17, 2021
4a27cd1
Merge pull request #43027 from thaJeztah/20.10_backport_update_image_…
thaJeztah Nov 18, 2021
847da18
Merge pull request #43004 from AkihiroSuda/cherrypick-42152
thaJeztah Nov 18, 2021
f4daf9d
[20.10] update Go to 1.16.11
thaJeztah Dec 6, 2021
4bed71a
Merge pull request #43063 from thaJeztah/20.10_bump_go_1.16.11
cpuguy83 Dec 8, 2021
a621bc0
[20.10] update Go to 1.16.12
thaJeztah Dec 12, 2021
459d0df
Merge pull request #43077 from thaJeztah/20.10_bump_go_1.16.12
justincormack Dec 12, 2021
660b996
daemon.WithCommonOptions() fix detection of user-namespaces
thaJeztah Aug 11, 2021
b1fc0c8
Merge pull request #43084 from AkihiroSuda/cherrypick-42736
tianon Jan 8, 2022
d6f3add
vendor: github.com/fluent/fluent-logger-golang 1.6.1
sparrc May 25, 2021
81fc02b
vendor: github.com/fluent/fluent-logger-golang v1.8.0
akerouanton Nov 1, 2021
f9df098
fluentd: Turn ForceStopAsyncSend true when async connect is used
akerouanton Nov 1, 2021
aa92e69
[20.10] update Go to 1.16.13
thaJeztah Jan 13, 2022
b106f7d
Merge pull request #43153 from thaJeztah/20.10_bump_go_1.16.13
thaJeztah Jan 18, 2022
22ff2ed
Merge pull request #43147 from PettitWesley/backport-fluentd-fix
thaJeztah Jan 20, 2022
13de46f
Revert "[20.10] update containerd binary to v1.4.12"
thaJeztah Jan 13, 2022
79fd9c1
Revert "[20.10] update containerd binary to v1.4.11"
thaJeztah Jan 13, 2022
4e838e5
Revert "[20.10] update containerd binary to v1.4.10"
thaJeztah Jan 13, 2022
eb2acf2
Revert "[20.10] update containerd binary to v1.4.9"
thaJeztah Jan 13, 2022
9e36f77
Revert "[20.10] update containerd binary v1.4.8"
thaJeztah Jan 13, 2022
de656f9
Revert "[20.10] update containerd binary to v1.4.7"
thaJeztah Jan 13, 2022
b097d29
Revert "[20.10] update containerd binary to v1.4.6"
thaJeztah Jan 13, 2022
1dd3775
Revert "[20.10] update containerd binary to v1.4.5"
thaJeztah Jan 13, 2022
f036a34
update containerd binary to v1.5.0
thaJeztah Mar 15, 2021
23f23c9
update containerd binary to v1.5.1
thaJeztah May 17, 2021
5f09d5c
update containerd binary to v1.5.2
thaJeztah May 19, 2021
1cd13dc
Update containerd binary to v1.5.3
thaJeztah Jul 13, 2021
3021146
update containerd binary v1.4.8
thaJeztah Jul 19, 2021
fd32c70
update containerd binary to v1.5.5
thaJeztah Jul 29, 2021
fb45fe6
info: remove "expected" check for tini version
thaJeztah Aug 23, 2021
0f925d5
remove deprecated "nokmem" build-tag for runc
thaJeztah Aug 23, 2021
2a18825
Dockerfile: remove GOPROXY override (was for go < 1.14)
thaJeztah Jul 26, 2021
b35a170
Dockerfile: use version for some utilities instead of commit-sha
thaJeztah Jul 26, 2021
2716336
Dockerfile: use "go install" to install utilities
thaJeztah Jul 26, 2021
0f37f29
Dockerfile: update gotestsum to v1.7.0
thaJeztah Jul 26, 2021
3700adb
Update containerd binary to v1.5.6
thaJeztah Oct 1, 2021
3fd0b8d
Update containerd binary to v1.5.7
thaJeztah Oct 5, 2021
bd42e17
update containerd binary to v1.5.8
thaJeztah Nov 17, 2021
3e5eea4
update runc binary to v1.0.3
AkihiroSuda Dec 6, 2021
829f071
update containerd binary to v1.5.9
thaJeztah Jan 10, 2022
ada1b01
daemon/logger: read the length header correctly
kzys Nov 22, 2021
3951922
daemon/logger: test followLogs' handleDecodeErr case
kzys Dec 9, 2021
78d0b93
daemon/logger: refactor followLogs to write more unit tests
kzys Dec 24, 2021
8268f70
daemon/logger: replace flaky TestFollowLogsHandleDecodeErr
kzys Dec 24, 2021
b2684c1
Fix for lack of syncromization in daemon/update.go
Feb 8, 2021
ad21bcd
Jenkinsfile: remove Windows RS1 as it reached end of support
thaJeztah Jan 11, 2022
a961b76
Add RestartPolicy "no" to swagger docs
gesellix Jul 11, 2021
751cf68
Add "changes" query parameter for /image/create to swagger docs
gesellix Jul 11, 2021
8a5240a
Fix ContainerSummary swagger docs
gesellix Jul 11, 2021
621bfdd
Use explicit object names for improved swagger based code generation
gesellix Jul 11, 2021
2c38a2a
Extract PluginPrivilegeItem as explicit type definition
gesellix Aug 19, 2021
b4b469e
Fix swagger docs to match the opencontainers image-spec
gesellix Jul 11, 2021
adf1e47
Add RestartPolicy "no" to swagger docs
gesellix Jul 11, 2021
7092a60
Add "changes" query parameter for /image/create to swagger docs
gesellix Jul 11, 2021
b8bee97
Fix ContainerSummary swagger docs
gesellix Jul 11, 2021
8fbcf06
Use explicit object names for improved swagger based code generation
gesellix Jul 11, 2021
13cbf7f
Extract PluginPrivilegeItem as explicit type definition
gesellix Aug 19, 2021
012fdff
Fix swagger docs to match the opencontainers image-spec
gesellix Jul 11, 2021
5e38ae8
api/swagger: fix up event-types and move to definitions
thaJeztah Aug 21, 2021
d445d24
api/swagger: rename PluginPrivilegeItem to PluginPrivilege
thaJeztah Aug 21, 2021
e6739a2
api/swagger: move DistributionInspect to definitions
thaJeztah Aug 21, 2021
7f9760e
api/swagger: fix up event-types and move to definitions
thaJeztah Aug 21, 2021
13cb9d9
api/swagger: rename PluginPrivilegeItem to PluginPrivilege
thaJeztah Aug 21, 2021
f9344b4
api/swagger: move DistributionInspect to definitions
thaJeztah Aug 21, 2021
dd61d8d
Merge pull request #43165 from thaJeztah/20.10_backport_logs_fixes
cpuguy83 Jan 27, 2022
d1b3497
[20.10] vendor: github.com/docker/distribution v2.8.0
thaJeztah Jan 21, 2022
606c294
Merge pull request #43177 from thaJeztah/20.10_update_distribution
thaJeztah Feb 8, 2022
878b9de
daemon/graphdriver/fuse-overlayfs: Init(): fix directory permissions …
thaJeztah Jan 28, 2022
9edb938
Merge pull request #43151 from thaJeztah/20.10_backport_containerd_15
thaJeztah Feb 10, 2022
879dd46
Merge pull request #43215 from thaJeztah/20.10_backport_fix_overlay_f…
AkihiroSuda Feb 12, 2022
9502dec
[20.10] Update Go to 1.16.14
thaJeztah Feb 15, 2022
c9e1608
Merge pull request #43243 from thaJeztah/20.10_update_go_1.16.14
tianon Feb 15, 2022
7f44d60
Merge pull request #43166 from thaJeztah/20.10_backport_fix_update_sync
cpuguy83 Feb 17, 2022
1eef444
Merge pull request #43171 from thaJeztah/20.10_backport_api_docs_fixes
thaJeztah Feb 17, 2022
3d5fb94
Merge pull request #43167 from thaJeztah/20.10_backport_jenkinsfile_r…
thaJeztah Feb 17, 2022
df6a536
vendor: github.com/coreos/etcd v3.3.25
thaJeztah Apr 6, 2021
db21420
vendor: bump etcd v3.3.27
kolyshkin Dec 14, 2020
ca5ba48
Fix typo on the v1.41 changelog
feliperuhland Apr 7, 2021
aa69e8e
Fixed exec resize success code in API docs
th0m4s Jan 5, 2022
42b13c0
Added error codes for exec resize in API docs
th0m4s Jan 5, 2022
a5a6971
docs: fixing /exec/{id}/resize response code in API documentation
thaJeztah Jan 10, 2022
fbbe1fc
api: remove HostConfig.LxcConf field
thaJeztah Jan 20, 2022
4679ffd
docs: remove HostConfig.LxcConf field from API docs
thaJeztah Jan 20, 2022
9a57c5c
Merge pull request #43260 from thaJeztah/20.10_backport_docs_fixes
thaJeztah Mar 3, 2022
c4f6167
Merge pull request #43259 from thaJeztah/20.10_backport_fix_lock
cpuguy83 Mar 3, 2022
0fa0d70
[20.10] update to go 1.16.15 to address CVE-2022-24921
thaJeztah Mar 4, 2022
409d7ac
Merge pull request #43326 from thaJeztah/20.10_bump_go_1.16.15
samuelkarp Mar 4, 2022
180f3b9
update containerd binary to v1.5.10
thaJeztah Mar 4, 2022
c3dec60
Merge pull request #43329 from thaJeztah/20.10_backport_update_contai…
thaJeztah Mar 4, 2022
ce3b6d1
distribution: retry downloading schema config on retryable error
pete-woods Feb 24, 2022
906f57f
Merge pull request #43333 from pete-woods/20.10-backport-43291-schema…
thaJeztah Mar 6, 2022
dd38613
oci: inheritable capability set should be empty
samuelkarp Jan 31, 2022
af953d2
[20.10] vendor: containerd 7cfa023d95d37076d5ab035003d4839f4b6ba791
thaJeztah Mar 23, 2022
cf0abad
Merge pull request #43416 from thaJeztah/20.10_update_containerd2
thaJeztah Mar 23, 2022
7f375bc
Merge pull request from GHSA-2mm7-x5h6-5pvq
thaJeztah Mar 23, 2022
7dfe7a1
[20.10] update containerd binary to 1.5.11
thaJeztah Mar 23, 2022
87a90dc
Merge pull request #43417 from thaJeztah/20.10_update_containerd_bina…
thaJeztah Mar 24, 2022
b383250
Add main CI workflow
nosamad Sep 23, 2021
762bbc9
Disable all other build artifacts except static-binary
nosamad Sep 27, 2021
c7303fc
Disable unit-test for linux/arm/v7
nosamad Sep 28, 2021
853db00
Print artifact version informations
nosamad Sep 28, 2021
22ef381
Add docker cli release asset download
nosamad Sep 29, 2021
a2edb65
Add release workflow
nosamad Sep 29, 2021
d20be4d
Download and extract docker cli bundle
nosamad Sep 30, 2021
d53c30e
Remove proxy workaround
nosamad Sep 28, 2021
525ca0b
Fix dockerd segmentation fault during startup
nosamad Sep 27, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
391 changes: 391 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,391 @@
name: CI

on:
push:
branches:
- master
- 'release/**'
pull_request:
branches:
- master
- 'release/**'

env:
PLATFORM: Docker Engine - WAGO (Community)
DEFAULT_PRODUCT_LICENSE: Community Engine
DOCKER_GITCOMMIT: ${{ github.sha }}
DOCKER_EXPERIMENTAL: 1
DOCKER_GRAPHDRIVER: overlay2
BUILDKIT_PROGRESS: plain
BASE_DEBIAN_DISTRO: stretch
GO_VERSION: 1.16.7
APT_MIRROR: cdn-fastly.deb.debian.org
CHECK_CONFIG_COMMIT: 78405559cfe5987174aa2cb6463b9b2c1b917255
TESTDEBUG: 0
TIMEOUT: 120m
BUILD_OUTPUT: bundles
VERSION: '20.10-dev'

jobs:
build-cache:

strategy:
fail-fast: false
matrix:
include:
- arch: amd64
platform: linux/amd64
- arch: arm32v7
platform: linux/arm/v7

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up node for Docker make
id: setup-docker-make
uses: WAGO/docker-actions/setup-docker-make@release/v1.0
with:
golang-version: ${{ env.GO_VERSION }}
base-debian-distro: ${{ env.BASE_DEBIAN_DISTRO }}
host-arch: ${{ matrix.arch }}
target-platform: ${{ matrix.platform }}
check-config-commit: ${{ env.CHECK_CONFIG_COMMIT }}
project-version: ${{ env.VERSION }}

- name: Build cache image layers
uses: docker/build-push-action@v2
with:
target: binary-base
context: .
push: false
tags: dockerd-dev:${{ github.sha }}
cache-from: type=local,src=${{ steps.setup-docker-make.outputs.buildx-cache }}
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
platforms: |
${{ matrix.platform }}
build-args: |
APT_MIRROR
PLATFORM
DEFAULT_PRODUCT_LICENSE
DOCKER_GITCOMMIT
VERSION=${{ steps.setup-docker-make.outputs.version }}
GOLANG_IMAGE=${{ steps.setup-docker-make.outputs.golang-imageref }}
load: true

# Temp fix
# https://github.com/docker/build-push-action/issues/252
# https://github.com/moby/buildkit/issues/1896
- name: Move cache
env:
BUILDX_CACHE: ${{ steps.setup-docker-make.outputs.buildx-cache }}
run: |
rm -rf "${BUILDX_CACHE}"
mv /tmp/.buildx-cache-new "${BUILDX_CACHE}"

build-cross-binary:

strategy:
fail-fast: false
matrix:
include:
- arch: amd64
platform: linux/amd64
- arch: amd64
platform: linux/arm/v7

runs-on: ubuntu-latest
if: false == true
needs:
- build-cache

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Make cross
id: docker-make
uses: WAGO/docker-actions/docker-make@release/v1.0
with:
targets: |
cross
golang-version: ${{ env.GO_VERSION }}
base-debian-distro: ${{ env.BASE_DEBIAN_DISTRO }}
host-arch: ${{ matrix.arch }}
target-platform: ${{ matrix.platform }}
check-config-commit: ${{ env.CHECK_CONFIG_COMMIT }}
project-version: ${{ env.VERSION }}
build-output: ${{ env.BUILD_OUTPUT }}

- name: Create bundle
id: create-bundle
env:
BUNDLE_PLATFORM: ${{ steps.docker-make.outputs.target-platform-id }}
TARGET_PLATFORM: ${{ matrix.platform }}
run: |
bundle_archive_name="dockerd-cross-${BUNDLE_PLATFORM}.tar"
bundle_archive="${BUILD_OUTPUT}/${bundle_archive_name}"
build_output="${BUILD_OUTPUT}/cross/${TARGET_PLATFORM}"
tar -C "${build_output}" -cvf "${bundle_archive}" .
echo "::set-output name=input-path::${build_output}"
echo "::set-output name=archive::${bundle_archive}"
echo "::set-output name=archive-name::${bundle_archive_name}"

- name: Upload bundle
uses: actions/upload-artifact@v2
with:
name: ${{ steps.create-bundle.outputs.archive-name }}
path: ${{ steps.create-bundle.outputs.archive }}
retention-days: 7

- name: Print artifact version informations
env:
BUNDLE_INPUT_PATH: ${{ steps.create-bundle.outputs.input-path }}
run: |
"${BUNDLE_INPUT_PATH}/dockerd" --version

build-static-binary:

strategy:
fail-fast: false
matrix:
include:
- arch: amd64
platform: linux/amd64
- arch: arm32v7
platform: linux/arm/v7

runs-on: ubuntu-latest
needs:
- build-cache

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Make binary
id: docker-make
uses: WAGO/docker-actions/docker-make@release/v1.0
with:
targets: |
binary
golang-version: ${{ env.GO_VERSION }}
base-debian-distro: ${{ env.BASE_DEBIAN_DISTRO }}
host-arch: ${{ matrix.arch }}
target-platform: ${{ matrix.platform }}
check-config-commit: ${{ env.CHECK_CONFIG_COMMIT }}
project-version: ${{ env.VERSION }}
build-output: ${{ env.BUILD_OUTPUT }}

- name: Download docker cli
id: download-docker-cli
uses: WAGO/docker-actions/download-release-asset@release/v1.0
with:
repository: WAGO/docker-cli
token: ${{ secrets.GITHUB_TOKEN }}
url-filterpattern: docker-cli-.*static.*-${{ steps.docker-make.outputs.target-platform-id }}[.]tar[.]gz
working-directory: ${{ env.BUILD_OUTPUT }}

- name: Extract docker cli
id: extract-docker-cli
env:
DOWNLOAD_PATH: ${{ steps.download-docker-cli.outputs.root-path }}
run: |
build_output="${BUILD_OUTPUT}/binary-daemon"
tar -C "${build_output}" -xzvf "${DOWNLOAD_PATH}/docker-cli-"*"static"*".tar.gz"
echo "::set-output name=path::${build_output}"

- name: Create bundle
id: create-bundle
env:
BUNDLE_PLATFORM: ${{ steps.docker-make.outputs.target-platform-id }}
run: |
bundle_archive_name="docker-static-${BUNDLE_PLATFORM}.tar"
bundle_archive="${BUILD_OUTPUT}/${bundle_archive_name}"
build_output="${{ steps.extract-docker-cli.outputs.path }}"
tar -C "${build_output}" -cvf "${bundle_archive}" .
echo "::set-output name=input-path::${build_output}"
echo "::set-output name=archive::${bundle_archive}"
echo "::set-output name=archive-name::${bundle_archive_name}"

- name: Upload bundle
uses: actions/upload-artifact@v2
with:
name: ${{ steps.create-bundle.outputs.archive-name }}
path: ${{ steps.create-bundle.outputs.archive }}
retention-days: 7

- name: Print artifact version informations
env:
BUNDLE_INPUT_PATH: ${{ steps.create-bundle.outputs.input-path }}
run: |
"${BUNDLE_INPUT_PATH}/runc" --version
"${BUNDLE_INPUT_PATH}/containerd" --version
"${BUNDLE_INPUT_PATH}/dockerd" --version
"${BUNDLE_INPUT_PATH}/docker" version

build-dynamic-binary:

strategy:
fail-fast: false
matrix:
include:
- arch: amd64
platform: linux/amd64
- arch: arm32v7
platform: linux/arm/v7

runs-on: ubuntu-latest
if: false == true
needs:
- build-cache

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Make dynamic binary
id: docker-make
uses: WAGO/docker-actions/docker-make@release/v1.0
with:
targets: |
dynbinary
golang-version: ${{ env.GO_VERSION }}
base-debian-distro: ${{ env.BASE_DEBIAN_DISTRO }}
host-arch: ${{ matrix.arch }}
target-platform: ${{ matrix.platform }}
check-config-commit: ${{ env.CHECK_CONFIG_COMMIT }}
project-version: ${{ env.VERSION }}
build-output: ${{ env.BUILD_OUTPUT }}

- name: Create bundle
id: create-bundle
env:
BUNDLE_PLATFORM: ${{ steps.docker-make.outputs.target-platform-id }}
run: |
bundle_archive_name="dockerd-dynamic-${BUNDLE_PLATFORM}.tar"
bundle_archive="${BUILD_OUTPUT}/${bundle_archive_name}"
build_output="${BUILD_OUTPUT}/dynbinary-daemon"
tar -C "${build_output}" -cvf "${bundle_archive}" .
echo "::set-output name=input-path::${build_output}"
echo "::set-output name=archive::${bundle_archive}"
echo "::set-output name=archive-name::${bundle_archive_name}"

- name: Upload bundle
uses: actions/upload-artifact@v2
with:
name: ${{ steps.create-bundle.outputs.archive-name }}
path: ${{ steps.create-bundle.outputs.archive }}
retention-days: 7

unit-test:

strategy:
fail-fast: false
matrix:
include:
- arch: amd64
platform: linux/amd64
# FIXME: Temporary disabled, while running under QEMU - a baremetal runner is needed to avoid false-positives
# - arch: arm32v7
# platform: linux/arm/v7

runs-on: ubuntu-latest
needs:
- build-static-binary

env:
TEST_SKIP_INTEGRATION_CLI: 1

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up kernel modules
run: sudo modprobe ip6table_filter

- name: Set artifact information
id: set-artifact-info
uses: WAGO/docker-actions/artifact-info@release/v1.0
with:
version: ${{ env.VERSION }}
platform: ${{ matrix.platform }}

- name: Set bundle meta information
env:
BUNDLE_PLATFORM: ${{ steps.set-artifact-info.outputs.platform-id }}
run: |
echo "BUNDLE_PLATFORM=${BUNDLE_PLATFORM}" >> "${GITHUB_ENV}"
echo "BUNDLE_ARCHIVE_NAME=docker-static-${BUNDLE_PLATFORM}.tar" >> "${GITHUB_ENV}"

- name: Download bundle
uses: actions/download-artifact@v2
with:
name: ${{ env.BUNDLE_ARCHIVE_NAME }}
path: ${{ env.BUILD_OUTPUT }}

- name: Extract bundle
run: |
mkdir -p "${BUILD_OUTPUT}/binary-daemon"
tar -C "${BUILD_OUTPUT}/binary-daemon" -xvf "${BUILD_OUTPUT}/${BUNDLE_ARCHIVE_NAME}"

- name: Make test-unit
id: docker-make
uses: WAGO/docker-actions/docker-make@release/v1.0
with:
targets: |
test-unit
golang-version: ${{ env.GO_VERSION }}
base-debian-distro: ${{ env.BASE_DEBIAN_DISTRO }}
host-arch: ${{ matrix.arch }}
target-platform: ${{ matrix.platform }}
check-config-commit: ${{ env.CHECK_CONFIG_COMMIT }}
buildx-driver-opts: |
network=host
buildx-build-args: |
--load
make-args: |
DOCKER_IMAGE=dockerd-dev:${{ github.sha }}
KEEPBUNDLE=1
project-version: ${{ env.VERSION }}
build-output: ${{ env.BUILD_OUTPUT }}

- name: Copy test results
id: copy-test-results
if: always()
run: |
report_output="${BUILD_OUTPUT}/junit-reports/${BUNDLE_PLATFORM}"
mkdir -p "$report_output"
cp "${BUILD_OUTPUT}"/junit-report*.xml "$report_output"
echo "::set-output name=input-path::${report_output}"

- name: Upload test results
uses: actions/upload-artifact@v2
if: always()
with:
name: dockerd-test-results
path: ${{ steps.copy-test-results.outputs.input-path }}
retention-days: 7

publish-test-results:
runs-on: ubuntu-latest
needs:
- unit-test
# unit-test job might be skipped, we don't need to run this job then
if: success() || failure()

steps:
- name: Download test results
uses: actions/download-artifact@v2
with:
name: dockerd-test-results
path: bundles/junit-reports

- name: Publish test results
uses: EnricoMi/publish-unit-test-result-action@v1
with:
deduplicate_classes_by_file_name: true
files: bundles/junit-reports/**/junit-report*.xml

Loading