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

[pull] main from containerd:main #288

Open
wants to merge 1,887 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1887 commits
Select commit Hold shift + click to select a range
2b0550f
Merge pull request #3632 from apostasie/series-14b
AkihiroSuda Nov 4, 2024
f12f7fe
Merge pull request #3624 from apostasie/series-13
AkihiroSuda Nov 4, 2024
b776706
fix: Allow to untag images associated with running or paused containe…
haytok Oct 24, 2024
c71e8d9
Merge pull request #3602 from haytok/isssue_3454
djdongjin Nov 4, 2024
718e7cd
fix: not to be deleted a container created with --rm when detaching
haytok Nov 4, 2024
c607537
add 'none' logger
coderbirju Nov 1, 2024
83088ef
build(deps): bump github.com/containerd/errdefs from 0.3.0 to 1.0.0
dependabot[bot] Nov 4, 2024
68bd32d
build(deps): bump actions/checkout from 4.2.1 to 4.2.2
dependabot[bot] Nov 4, 2024
e80aaf1
Merge pull request #3642 from containerd/dependabot/go_modules/github…
AkihiroSuda Nov 5, 2024
2443ada
Merge pull request #3643 from containerd/dependabot/github_actions/ac…
AkihiroSuda Nov 5, 2024
8ea1d0a
build(deps): bump github.com/containerd/containerd/api
dependabot[bot] Nov 5, 2024
b34e090
Merge pull request #3641 from containerd/dependabot/go_modules/contai…
AkihiroSuda Nov 5, 2024
9bd0ab9
Merge pull request #3633 from coderbirju/add-none-logger
AkihiroSuda Nov 5, 2024
b006beb
build(deps): bump github.com/containerd/typeurl/v2 from 2.2.1 to 2.2.2
dependabot[bot] Nov 5, 2024
e6e47df
Merge pull request #3614 from haytok/issue_3568
AkihiroSuda Nov 5, 2024
c687471
Merge pull request #3645 from containerd/dependabot/go_modules/github…
AkihiroSuda Nov 5, 2024
ccbaf82
build(deps): bump github.com/containerd/containerd/v2
dependabot[bot] Nov 5, 2024
b9e9d0a
Merge pull request #3644 from containerd/dependabot/go_modules/github…
AkihiroSuda Nov 5, 2024
75be32d
update containerd (2.0.0)
AkihiroSuda Nov 5, 2024
4f64af9
update runc (1.2.1)
AkihiroSuda Nov 5, 2024
2380710
update BuildKit (0.17.0)
AkihiroSuda Nov 5, 2024
29f3ff6
update containerd-fuse-overlayfs (2.0.0)
AkihiroSuda Nov 5, 2024
7103b54
update SOCI snapshotter (0.8.0)
AkihiroSuda Nov 5, 2024
ef588da
Merge pull request #3646 from AkihiroSuda/dev
AkihiroSuda Nov 6, 2024
84cea65
[fix] avoid escaping '<', '>', '&'
xyz-li Nov 6, 2024
af229a6
Merge pull request #3649 from xyz-li/main
AkihiroSuda Nov 6, 2024
7e89bd3
typo: remove extra colons and whitespaces #3650
pqiaohaoq Nov 6, 2024
0d7dc8e
Merge pull request #3651 from qiaohao9/main
fahedouch Nov 6, 2024
417b617
typo: remove extra spaces at the lead #3650 #3651
pqiaohaoq Nov 7, 2024
6f2e032
Mark `nerdctl builder debug` as incompatible with Docker
AkihiroSuda Nov 7, 2024
561334f
Merge pull request #3655 from AkihiroSuda/fix-3652
AkihiroSuda Nov 7, 2024
d30f66e
build(deps): bump github.com/vishvananda/netns from 0.0.4 to 0.0.5
dependabot[bot] Nov 7, 2024
87aff5b
Merge pull request #3654 from qiaohao9/main
AkihiroSuda Nov 7, 2024
4a562dc
Merge pull request #3653 from containerd/dependabot/go_modules/github…
AkihiroSuda Nov 7, 2024
7d116bf
feat: configure custom IP for default bridge network
swagatbora90 Oct 30, 2024
b5a1173
build(deps): bump the golang-x group with 4 updates
dependabot[bot] Nov 7, 2024
a82ae7b
build(deps): bump github.com/compose-spec/compose-go/v2
dependabot[bot] Nov 7, 2024
d1ea2d7
build(deps): bump github.com/containerd/typeurl/v2 from 2.2.2 to 2.2.3
dependabot[bot] Nov 7, 2024
8f9864a
Merge pull request #3658 from containerd/dependabot/go_modules/golang…
AkihiroSuda Nov 8, 2024
bcc7d42
Merge pull request #3659 from containerd/dependabot/go_modules/github…
AkihiroSuda Nov 8, 2024
74355cf
Merge pull request #3640 from swagatbora90/add-custom-bridge-ip
AkihiroSuda Nov 8, 2024
9f27e77
Merge pull request #3660 from containerd/dependabot/go_modules/github…
AkihiroSuda Nov 8, 2024
130397d
build(deps): bump the golang-x group with 2 updates
dependabot[bot] Nov 8, 2024
8b814ca
Merge pull request #3662 from containerd/dependabot/go_modules/golang…
djdongjin Nov 9, 2024
9c35138
Use a more direct and less error-prone return value
pinglanlu Nov 12, 2024
7dce7c7
refactor: Fix golanglint action error
Zheaoli Nov 12, 2024
7a0b958
Merge pull request #3666 from Zheaoli/manjusaka/fix-golang-lint-error
Zheaoli Nov 13, 2024
fe217ab
Merge branch 'main' into pinglanlu/main
Zheaoli Nov 14, 2024
966c25f
Merge pull request #3665 from pinglanlu/main
Zheaoli Nov 14, 2024
32de57b
build(deps): bump github.com/containerd/continuity from 0.4.4 to 0.4.5
dependabot[bot] Nov 14, 2024
4d945c1
Merge pull request #3675 from containerd/dependabot/go_modules/github…
djdongjin Nov 17, 2024
ae50153
build(deps): bump the stargz group across 1 directory with 3 updates
dependabot[bot] Nov 14, 2024
1cfbf4f
Merge pull request #3679 from djdongjin/upgrade-stargz
AkihiroSuda Nov 18, 2024
1fdb4b0
fix: default json-file log size to 100MB
coderbirju Nov 13, 2024
37df93d
update runc (1.2.2)
yankay Nov 19, 2024
370b691
Merge pull request #3670 from coderbirju/update-json-logger
AkihiroSuda Nov 19, 2024
2463f8b
update BuildKit (0.17.1)
yankay Nov 19, 2024
c41cc9d
Pass appropriate --device arguments from compose to run
ryfow Nov 19, 2024
3b3c68c
build(deps): bump docker/metadata-action from 5.5.1 to 5.6.1
dependabot[bot] Nov 19, 2024
f572d40
build(deps): bump github.com/Masterminds/semver/v3 from 3.3.0 to 3.3.1
dependabot[bot] Nov 19, 2024
e0d03d7
Merge pull request #3685 from containerd/dependabot/go_modules/github…
AkihiroSuda Nov 19, 2024
c0ac988
Merge pull request #3684 from containerd/dependabot/github_actions/do…
AkihiroSuda Nov 20, 2024
db20fec
Merge pull request #3683 from ryfow/fix-compose-device-run-args-2
AkihiroSuda Nov 20, 2024
1cbc120
update stargz-snapshotter (0.16.1)
yankay Nov 20, 2024
f128aac
fix: refactor pkg/infoutil in order to resolve import cycle
haytok Nov 12, 2024
6ff09eb
Merge pull request #3680 from yankay/update-runc2
AkihiroSuda Nov 20, 2024
ba72ac7
build(deps): bump github.com/containerd/cgroups/v3 from 3.0.3 to 3.0.4
dependabot[bot] Nov 21, 2024
0e8abac
Update containerd (1.7.24) in CI
austinvazquez Nov 21, 2024
788fc0c
fix nerdctl ps slow on heavy IO system by using goroutine
ningmingxiao Nov 19, 2024
2ec8290
Merge pull request #3688 from containerd/dependabot/go_modules/github…
djdongjin Nov 22, 2024
9ece9be
Merge pull request #3689 from austinvazquez/update-containerd-v1.7.24
djdongjin Nov 23, 2024
232b6ad
build(deps): bump github.com/compose-spec/compose-go/v2
dependabot[bot] Nov 25, 2024
1427761
Merge pull request #3692 from containerd/dependabot/go_modules/github…
djdongjin Nov 26, 2024
b060ead
fix: add fields such as CONTAINER_NAME to journald log entries sent t…
haytok Nov 12, 2024
2ad3f57
fix redundant error checks and comment format
ErikJiang Nov 26, 2024
43b6133
Merge pull request #3693 from ErikJiang/fix_lint_issue
Zheaoli Nov 26, 2024
159e039
build(deps): bump docker/build-push-action from 6.9.0 to 6.10.0
dependabot[bot] Nov 26, 2024
eac99f8
build(deps): bump github.com/containerd/nydus-snapshotter
dependabot[bot] Nov 26, 2024
840193d
Merge pull request #3696 from containerd/dependabot/go_modules/github…
djdongjin Nov 27, 2024
400d4c3
Merge pull request #3695 from containerd/dependabot/github_actions/do…
djdongjin Nov 27, 2024
dcaee10
build(deps): bump the stargz group with 3 updates
dependabot[bot] Nov 27, 2024
1dd11e1
Merge pull request #3699 from containerd/dependabot/go_modules/stargz…
djdongjin Nov 27, 2024
3c41efe
Merge pull request #3667 from haytok/issue_3486
fahedouch Nov 29, 2024
442b01d
Fix permissions for resolv.conf and hosts
apostasie Dec 2, 2024
6e4afb4
Merge pull request #3708 from apostasie/fix-permission
AkihiroSuda Dec 2, 2024
4a21ba7
docs: the next release will be v2.0.1, not v2.1.0
AkihiroSuda Dec 2, 2024
70679d4
update BuildKit (0.18.0)
AkihiroSuda Dec 2, 2024
09039a1
update stargz-snapshotter (0.16.2)
AkihiroSuda Dec 2, 2024
0076390
update CNI plugins (1.6.1)
AkihiroSuda Dec 2, 2024
cc0600a
Merge pull request #3710 from AkihiroSuda/prepare-2.0.1
fahedouch Dec 2, 2024
ca1629e
Merge pull request #3711 from AkihiroSuda/dev
AkihiroSuda Dec 2, 2024
47f31ff
Merge pull request #3713 from AkihiroSuda/dev
AkihiroSuda Dec 2, 2024
1f81225
Merge pull request #3673 from ningmingxiao/nerd_ps
fahedouch Dec 2, 2024
5fa9f12
Relax compose concurrency lock
apostasie Dec 2, 2024
69de5dd
feat: add force-recreate and no-recreate for compose up command
pendo324 Nov 21, 2024
531e203
Marking TestCreate/logs as flaky
apostasie Dec 2, 2024
e28491f
Enhance CNI config load error condition UX
apostasie Dec 2, 2024
e2708fb
Fix hosts.toml resolution for docker domain
apostasie Dec 2, 2024
43d3a05
Merge pull request #3715 from apostasie/fix-compose-locking
AkihiroSuda Dec 3, 2024
9b67974
Merge pull request #3718 from apostasie/logs-flaky
AkihiroSuda Dec 3, 2024
6537124
Merge pull request #3716 from apostasie/fix-3691
AkihiroSuda Dec 3, 2024
051b047
Merge pull request #3720 from apostasie/fix-3697
AkihiroSuda Dec 3, 2024
eed4480
Merge pull request #3687 from pendo324/add-no-recreate-to-up
AkihiroSuda Dec 3, 2024
32ab747
Create directory for bypass4netns pid file
apostasie Dec 3, 2024
c0b8f63
Merge pull request #3724 from apostasie/bypass
AkihiroSuda Dec 3, 2024
775a005
gocni -> cni
apostasie Aug 21, 2024
f914ea3
gocontext -> context
apostasie Aug 21, 2024
e536ed5
Increase timeouts on CI
apostasie Dec 4, 2024
9bbf24d
Remove dependency on misplaced helper CreateBuildContext for next-gen…
apostasie Oct 18, 2024
3d944cb
validatePathComponent tests
apostasie Dec 3, 2024
a5ab79c
Merge pull request #3726 from apostasie/ci-fix-timeouts
djdongjin Dec 4, 2024
03f0862
Merge pull request #3728 from apostasie/chore-import-cleanup
AkihiroSuda Dec 4, 2024
1f8fe6a
Merge pull request #3725 from apostasie/fs-tests
djdongjin Dec 4, 2024
b8f4d9c
Cleanup namespace validation
apostasie Dec 3, 2024
d413058
fix: Fix --env-file flag behavior in nerdctl compose
coderbirju Nov 29, 2024
b4ba0cb
build(deps): bump the golang-x group with 6 updates
dependabot[bot] Dec 4, 2024
0c0737d
Merge pull request #3703 from coderbirju/fix-env-file-bug
AkihiroSuda Dec 5, 2024
3206b49
Merge pull request #3732 from containerd/dependabot/go_modules/golang…
AkihiroSuda Dec 5, 2024
ab704e9
Merge pull request #3723 from apostasie/namespace-validate
AkihiroSuda Dec 5, 2024
f3191c4
Merge pull request #3729 from apostasie/more-tests
djdongjin Dec 6, 2024
c2d8b4c
build(deps): bump github.com/cyphar/filepath-securejoin
dependabot[bot] Dec 6, 2024
e3e6c3d
[doc] rootlesskit port driver configuration
fahedouch Dec 7, 2024
84fc734
Merge pull request #3738 from containerd/dependabot/go_modules/github…
AkihiroSuda Dec 8, 2024
e8bca25
build(deps): bump the docker group with 2 updates
dependabot[bot] Dec 9, 2024
f934774
build(deps): bump tonistiigi/xx from 1.5.0 to 1.6.0
dependabot[bot] Dec 9, 2024
17eeb5b
Merge pull request #3743 from containerd/dependabot/docker/tonistiigi…
djdongjin Dec 9, 2024
00f6acd
Merge pull request #3742 from containerd/dependabot/go_modules/docker…
djdongjin Dec 9, 2024
407f5fc
Merge pull request #3740 from fahedouch/improve-rootless-doc
AkihiroSuda Dec 10, 2024
6dac2cf
update BuildKit (0.18.1)
AkihiroSuda Dec 10, 2024
bcc9fa7
update containerd-fuse-overlayfs (2.1.0)
AkihiroSuda Dec 10, 2024
1220ce7
Merge pull request #3746 from AkihiroSuda/dev
AkihiroSuda Dec 10, 2024
9e5a013
build(deps): bump tonistiigi/xx from 1.6.0 to 1.6.1
dependabot[bot] Dec 10, 2024
bd66dc0
build(deps): bump github.com/containerd/go-cni from 1.1.10 to 1.1.11
dependabot[bot] Dec 10, 2024
e3b231e
3432: Support --pull flag in nerdctl compose up
manugupt1 Dec 11, 2024
5736ded
Merge pull request #3750 from containerd/dependabot/go_modules/github…
AkihiroSuda Dec 11, 2024
bf01328
Merge pull request #3749 from containerd/dependabot/docker/tonistiigi…
AkihiroSuda Dec 11, 2024
1185e8e
docs: add faq tips for buildkit cache folder
miurahr Dec 8, 2024
5dfc39e
build(deps): bump golang.org/x/crypto in the golang-x group
dependabot[bot] Dec 11, 2024
8aa7169
build(deps): bump github.com/containerd/nydus-snapshotter
dependabot[bot] Dec 11, 2024
db82f09
build(deps): bump github.com/compose-spec/compose-go/v2
dependabot[bot] Dec 11, 2024
79e4f17
Merge pull request #3752 from containerd/dependabot/go_modules/golang…
AkihiroSuda Dec 11, 2024
cc9a3fc
Merge pull request #3753 from containerd/dependabot/go_modules/github…
AkihiroSuda Dec 11, 2024
580d47c
Merge pull request #3745 from manugupt1/docker-compose-up-pull
AkihiroSuda Dec 11, 2024
444c172
Merge pull request #3741 from miurahr/topic/miurahr/docs/nerdctl-buil…
AkihiroSuda Dec 11, 2024
e30a362
Rewrite cp
apostasie Dec 4, 2024
47d6d0a
cp integration tests
apostasie Dec 4, 2024
6f55896
Merge pull request #3754 from containerd/dependabot/go_modules/github…
djdongjin Dec 12, 2024
a252d35
build(deps): bump the stargz group with 3 updates
dependabot[bot] Dec 12, 2024
fd217a0
Merge pull request #3758 from containerd/dependabot/go_modules/stargz…
ktock Dec 13, 2024
db52916
Switch github actions to commit sha
apostasie Dec 7, 2024
6e913a6
Remove spurious cache true, default for action/go
apostasie Dec 7, 2024
7e97f06
Merge pull request #3739 from apostasie/ci-cleanup
AkihiroSuda Dec 14, 2024
7a69f5d
When the port is 443, also save credentials without port
apostasie Dec 16, 2024
2ae8ca7
build(deps): bump github.com/containerd/containerd/v2
dependabot[bot] Dec 16, 2024
ad49550
build(deps): bump github.com/containerd/imgcrypt/v2
dependabot[bot] Dec 16, 2024
2d79e10
build(deps): bump golangci/golangci-lint-action
dependabot[bot] Dec 16, 2024
98e939c
build(deps): bump docker/setup-buildx-action from 3.7.1 to 3.8.0
dependabot[bot] Dec 16, 2024
6ee9a83
Merge pull request #3770 from containerd/dependabot/github_actions/do…
djdongjin Dec 17, 2024
d062b17
Merge pull request #3767 from containerd/dependabot/go_modules/github…
djdongjin Dec 17, 2024
337154c
Merge pull request #3768 from containerd/dependabot/go_modules/github…
djdongjin Dec 17, 2024
0e5f7fd
Merge pull request #3769 from containerd/dependabot/github_actions/go…
djdongjin Dec 17, 2024
ef02692
update containerd (2.0.1), runc (1.2.3), buildKit (0.18.2), stargz-sn…
yankay Dec 17, 2024
98ea42d
build(deps): bump github.com/cyphar/filepath-securejoin
dependabot[bot] Dec 17, 2024
8972500
Merge pull request #3774 from yankay/update-deps
AkihiroSuda Dec 18, 2024
c894bb4
Merge pull request #3775 from containerd/dependabot/go_modules/github…
AkihiroSuda Dec 18, 2024
49bf063
Fix wrong commit sha for golangci action
apostasie Dec 18, 2024
b777a65
build(deps): bump the docker group with 2 updates
dependabot[bot] Dec 18, 2024
dab134f
Merge pull request #3777 from apostasie/fix-3769
AkihiroSuda Dec 19, 2024
c41b394
Merge pull request #3779 from containerd/dependabot/go_modules/docker…
AkihiroSuda Dec 19, 2024
25e4f3f
build(deps): bump golang.org/x/net in the golang-x group
dependabot[bot] Dec 19, 2024
8b5bb67
build(deps): bump github.com/containerd/cgroups/v3 from 3.0.4 to 3.0.5
dependabot[bot] Dec 19, 2024
3dbd24c
fix pull image process output from stderr to stdout
yankay Dec 17, 2024
b26474b
doc:add some doc for ulimit
ningmingxiao Dec 19, 2024
c5b57fa
Merge pull request #3773 from yankay/fix-pull-image-process-to-stderr2
AkihiroSuda Dec 20, 2024
5fbd493
Merge pull request #3782 from containerd/dependabot/go_modules/github…
AkihiroSuda Dec 20, 2024
35213f3
Merge pull request #3778 from containerd/dependabot/go_modules/golang…
AkihiroSuda Dec 20, 2024
f3f8310
Add nerdctl build --add-host option support
austinvazquez Dec 23, 2024
8ed777d
Merge pull request #3786 from austinvazquez/feat-build-add-host
AkihiroSuda Dec 24, 2024
3cf6903
Merge pull request #3780 from ningmingxiao/add_ulimit_doc
AkihiroSuda Dec 24, 2024
eaa8df0
Fix duplicate image entries in k8s.io namespaces
fengwei0328 Dec 10, 2024
75c8066
update:fix update pids-limit=0 error
ningmingxiao Dec 19, 2024
6f34536
Merge pull request #3323 from apostasie/b-dev-cp
AkihiroSuda Dec 25, 2024
aa5eb28
Fix image inspect exit code on image not found error
austinvazquez Dec 27, 2024
f917e5c
Merge pull request #3792 from austinvazquez/fix-inspect-err-dnf
djdongjin Dec 29, 2024
842be9a
Refactor: Encapsulate net opts loading in internalLabels
motinsa Dec 29, 2024
d6248ac
Refactor: Change function loadNetOpts from public to private
motinsa Jan 2, 2025
1a79790
build(deps): bump github.com/moby/term from 0.5.0 to 0.5.2
dependabot[bot] Jan 3, 2025
df40602
Merge pull request #3781 from ningmingxiao/fix_update
AkihiroSuda Jan 5, 2025
84fbcf8
Merge pull request #3744 from fengwei0328/dev1
AkihiroSuda Jan 5, 2025
e6132a7
Merge pull request #3794 from containerd/dependabot/go_modules/github…
djdongjin Jan 5, 2025
b0e78ee
update CNI plugins (1.6.2)
djdongjin Jan 7, 2025
1b98a5e
Merge pull request #3797 from djdongjin/cni-1-6-2
djdongjin Jan 7, 2025
8a1fd9e
build(deps): bump the golang-x group with 4 updates
dependabot[bot] Jan 7, 2025
fa3a4fa
update runc (1.2.4)
austinvazquez Jan 7, 2025
9ffc5c1
Merge pull request #3766 from apostasie/fix-3748
AkihiroSuda Jan 7, 2025
9ef9539
remove old cni 1.6.1 checksum file
djdongjin Jan 7, 2025
40b17cd
Merge pull request #3800 from djdongjin/remove-cni-1-6-1-checksum
AkihiroSuda Jan 7, 2025
bcf15a1
Merge pull request #3799 from austinvazquez/update-runc-v1.2.4
AkihiroSuda Jan 7, 2025
0184c43
Merge pull request #3795 from containerd/dependabot/go_modules/golang…
AkihiroSuda Jan 7, 2025
25ca668
build(deps): bump github.com/compose-spec/compose-go/v2
dependabot[bot] Jan 7, 2025
f5e58de
Merge pull request #3801 from containerd/dependabot/go_modules/github…
djdongjin Jan 8, 2025
690bbbf
build(deps): bump docker/setup-qemu-action from 3.2.0 to 3.3.0
dependabot[bot] Jan 8, 2025
6ea7306
build(deps): bump docker/build-push-action from 6.10.0 to 6.11.0
dependabot[bot] Jan 8, 2025
751b33b
Merge pull request #3793 from motinsa/main
fahedouch Jan 10, 2025
3961f26
Merge pull request #3803 from containerd/dependabot/github_actions/do…
fahedouch Jan 10, 2025
ae7a300
Merge pull request #3802 from containerd/dependabot/github_actions/do…
fahedouch Jan 10, 2025
74e00af
bump up github.com/containerd/go-cni to 1.1.12
djdongjin Jan 11, 2025
50dd735
move vagrant CI to ubuntu 24.04
djdongjin Jan 11, 2025
b854127
Merge pull request #3810 from djdongjin/bump-up-go-cni
AkihiroSuda Jan 12, 2025
2ce9918
docs: Fix incorrect parameter description in documentation of nydus
Jan 13, 2025
6ab1907
Update containerd (1.7.25) in CI
austinvazquez Jan 10, 2025
5844e84
build(deps): bump github.com/cyphar/filepath-securejoin
dependabot[bot] Jan 13, 2025
dfea78c
build(deps): bump github.com/containerd/platforms
dependabot[bot] Jan 13, 2025
b17b2cc
Merge pull request #3811 from BraveY/docs-nydus
djdongjin Jan 14, 2025
1003083
Merge pull request #3807 from austinvazquez/update-containerd-1.7.25-…
djdongjin Jan 14, 2025
aea28bf
Merge pull request #3814 from containerd/dependabot/go_modules/github…
djdongjin Jan 14, 2025
251c56d
build(deps): bump the docker group with 2 updates
dependabot[bot] Jan 14, 2025
ab3bdf4
Merge pull request #3815 from containerd/dependabot/go_modules/github…
AkihiroSuda Jan 14, 2025
4be793b
Merge pull request #3813 from containerd/dependabot/go_modules/docker…
AkihiroSuda Jan 14, 2025
70bed8d
build(deps): bump github.com/containerd/containerd/v2
dependabot[bot] Jan 14, 2025
1259a55
Merge pull request #3817 from containerd/dependabot/go_modules/github…
djdongjin Jan 14, 2025
e3d2710
test: refactor TestRunWithInvalidPortThenCleanUp
haytok Jan 15, 2025
7bfbd31
fix: Add the logic to clean up an orphaned etchosts directory
haytok Jan 15, 2025
fcb900e
test: Add an test for added logic to TestRunWithInvalidPortThenCleanUp
haytok Jan 15, 2025
7a4c252
build(deps): bump docker/build-push-action from 6.11.0 to 6.12.0
dependabot[bot] Jan 15, 2025
ef26ad8
reset spec if update returned error
zzzzzzzzzy9 Jan 14, 2025
ae9894e
build(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0
dependabot[bot] Jan 16, 2025
f15d0ad
Merge pull request #3819 from haytok/fix-to-clean-up-an-orphaned-etch…
AkihiroSuda Jan 17, 2025
5a669b8
Merge pull request #3823 from containerd/dependabot/github_actions/go…
AkihiroSuda Jan 17, 2025
9a6426d
fix: save multiple images for the same image id to a tar archive
haytok Jan 16, 2025
ab027ad
Correct `compose logs` command reference
rerpha Jan 17, 2025
5fdd049
Merge pull request #3824 from rerpha/patch-1
AkihiroSuda Jan 17, 2025
128e6a7
[doc] AppArmor profile setup for rootlesskit
fahedouch Jan 15, 2025
9a1d57b
Merge pull request #3820 from fahedouch/reflect-apparmor-restrict-unp…
AkihiroSuda Jan 19, 2025
343a122
Merge pull request #3821 from containerd/dependabot/github_actions/do…
fahedouch Jan 19, 2025
b792f1f
Merge pull request #3822 from haytok/nerdctl_issue_3806
fahedouch Jan 19, 2025
2eeb8de
Merge pull request #3818 from zzzzzzzzzy9/update
AkihiroSuda Jan 20, 2025
08206c8
build(deps): bump github.com/rootless-containers/rootlesskit/v2
dependabot[bot] Jan 20, 2025
587ae99
Merge pull request #3825 from containerd/dependabot/go_modules/github…
AkihiroSuda Jan 21, 2025
8af25af
update containerd (2.0.2)
AkihiroSuda Jan 21, 2025
f17df13
update Kubo (0.32.1)
AkihiroSuda Jan 21, 2025
d786133
update RootlessKit (2.3.2)
AkihiroSuda Jan 21, 2025
00e21f7
update bypass4netns (0.4.2)
AkihiroSuda Jan 21, 2025
e7e27f6
update containerd-fuse-overlayfs (2.1.1)
AkihiroSuda Jan 21, 2025
cb7fc0d
update BuildKit (0.19.0)
AkihiroSuda Jan 21, 2025
ce61fc4
Merge pull request #3826 from AkihiroSuda/dev
ktock Jan 21, 2025
a4fa4fa
integration test: specify IPFS_PATH for IPFS service
ktock Jan 21, 2025
8b92434
Merge pull request #3828 from ktock/carry-3827
AkihiroSuda Jan 21, 2025
af3bb99
build(deps): bump github.com/rootless-containers/bypass4netns
dependabot[bot] Jan 21, 2025
558dd93
Merge pull request #3830 from containerd/dependabot/go_modules/github…
AkihiroSuda Jan 22, 2025
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
  •  
  •  
  •  
41 changes: 0 additions & 41 deletions .cirrus.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_output

# golangci-lint
build
/build

# vagrant
/.vagrant
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,26 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "daily"
groups:
golang-x:
patterns:
- "golang.org/x/*"
moby-sys:
patterns:
- "github.com/moby/sys/*"
docker:
patterns:
- "github.com/docker/docker"
- "github.com/docker/cli"
containerd:
patterns:
- "github.com/containerd/containerd"
- "github.com/containerd/containerd/api"
stargz:
patterns:
- "github.com/containerd/stargz-snapshotter"
- "github.com/containerd/stargz-snapshotter/estargz"
- "github.com/containerd/stargz-snapshotter/ipfs"

# Dependencies listed in .github/workflows/*.yml
- package-ecosystem: "github-actions"
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/ghcr-image-build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Container Image Build
name: image

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
Expand All @@ -12,37 +12,38 @@ on:
tags: ['v*.*.*']
pull_request:
branches: [main]
paths-ignore:
- '**.md'

env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}


jobs:
build:

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write

steps:
- name: Checkout repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@v2.2.0
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand All @@ -52,14 +53,14 @@ jobs:
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4.6.0
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
uses: docker/build-push-action@v4.1.1
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: lint

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

env:
GO_VERSION: 1.23.x

jobs:
go:
timeout-minutes: 5
name: "go | ${{ matrix.goos }} | ${{ matrix.canary }}"
runs-on: "${{ matrix.os }}"
defaults:
run:
shell: bash
strategy:
matrix:
include:
- os: ubuntu-24.04
goos: linux
- os: ubuntu-24.04
goos: freebsd
# FIXME: this is currently failing in a non-sensical way, so, running on linux instead...
# - os: windows-2022
- os: ubuntu-24.04
goos: windows
- os: ubuntu-24.04
goos: linux
# This allows the canary script to select any upcoming golang alpha/beta/RC
canary: go-canary
env:
GOOS: "${{ matrix.goos }}"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
- name: Set GO env
run: |
# If canary is specified, get the latest available golang pre-release instead of the major version
if [ "$canary" != "" ]; then
. ./hack/build-integration-canary.sh
canary::golang::latest
fi
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@ec5d18412c0aeab7936cb16880d708ba2a64e1ae # v6.2.0
with:
args: --verbose
other:
timeout-minutes: 5
name: yaml | shell | imports order
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
- name: yaml
run: make lint-yaml
- name: shell
run: make lint-shell
- name: go imports ordering
run: |
go install -v github.com/incu6us/goimports-reviser/v3@latest
make lint-imports
31 changes: 31 additions & 0 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: project

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

jobs:
project:
name: checks
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: src/github.com/containerd/nerdctl
fetch-depth: 100
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: ${{ env.GO_VERSION }}
cache-dependency-path: src/github.com/containerd/nerdctl
- uses: containerd/project-checks@434a07157608eeaa1d5c8d4dd506154204cd9401 # v1.1.0
with:
working-directory: src/github.com/containerd/nerdctl
repo-access-token: ${{ secrets.GITHUB_TOKEN }}
- run: ./hack/verify-no-patent.sh
working-directory: src/github.com/containerd/nerdctl
- run: ./hack/verify-pkg-isolation.sh
working-directory: src/github.com/containerd/nerdctl
17 changes: 5 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@ on:
tags:
- 'v*'
- 'test-action-release-*'
env:
GO111MODULE: on
jobs:
release:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 40
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/setup-go@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: 1.20.x
go-version: 1.23.x
- name: "Compile binaries"
run: make artifacts
- name: "SHA256SUMS"
Expand All @@ -26,11 +24,8 @@ jobs:
run: (cd _output; sha256sum SHA256SUMS)
- name: "Prepare the release note"
run: |
tag="${GITHUB_REF##*/}"
shasha=$(sha256sum _output/SHA256SUMS | awk '{print $1}')
cat <<-EOF | tee /tmp/release-note.txt
${tag}

$(hack/generate-release-note.sh)
- - -
The binaries were built automatically on GitHub Actions.
Expand All @@ -45,6 +40,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag="${GITHUB_REF##*/}"
asset_flags=()
for f in _output/*; do asset_flags+=("-a" "$f"); done
hub release create "${asset_flags[@]}" -F /tmp/release-note.txt --draft "${tag}"
gh release create -F /tmp/release-note.txt --draft --title "${tag}" "${tag}" _output/*
98 changes: 98 additions & 0 deletions .github/workflows/test-canary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# This pipeline purpose is solely meant to run a subset of our test suites against upcoming or unreleased dependencies versions
name: canary

on:
push:
branches:
- main
- 'release/**'
pull_request:
paths-ignore:
- '**.md'

env:
UBUNTU_VERSION: "24.04"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
linux:
runs-on: "ubuntu-24.04"
timeout-minutes: 40
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
- name: "Prepare integration test environment"
run: |
. ./hack/build-integration-canary.sh
canary::build::integration
- name: "Remove snap loopback devices (conflicts with our loopback devices in TestRunDevice)"
run: |
sudo systemctl disable --now snapd.service snapd.socket
sudo apt-get purge -y snapd
sudo losetup -Dv
sudo losetup -lv
- name: "Register QEMU (tonistiigi/binfmt)"
run: |
# `--install all` will only install emulation for architectures that cannot be natively executed
# Since some arm64 platforms do provide native fallback execution for 32 bits,
# armv7 emulation may or may not be installed, causing variance in the result of `uname -m`.
# To avoid that, we explicitly list the architectures we do want emulation for.
docker run --privileged --rm tonistiigi/binfmt --install linux/amd64
docker run --privileged --rm tonistiigi/binfmt --install linux/arm64
docker run --privileged --rm tonistiigi/binfmt --install linux/arm/v7
- name: "Run unit tests"
run: go test -v ./pkg/...
- name: "Run integration tests"
run: docker run -t --rm --privileged test-integration ./hack/test-integration.sh -test.only-flaky=false
- name: "Run integration tests (flaky)"
run: docker run -t --rm --privileged test-integration ./hack/test-integration.sh -test.only-flaky=true

windows:
timeout-minutes: 30
runs-on: windows-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
- name: Set GO env
run: |
# Get latest containerd
args=(curl --proto '=https' --tlsv1.2 -fsSL -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28")
[ "${GITHUB_TOKEN:-}" == "" ] && {
>&2 printf "GITHUB_TOKEN is not set - you might face rate limitations with the Github API\n"
} || args+=(-H "Authorization: Bearer $GITHUB_TOKEN")
ctd_v="$("${args[@]}" https://api.github.com/repos/containerd/containerd/tags | jq -rc .[0].name)"
echo "CONTAINERD_VERSION=${ctd_v:1}" >> "$GITHUB_ENV"

. ./hack/build-integration-canary.sh
canary::golang::latest
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
- run: go install ./cmd/nerdctl
- run: go install -v gotest.tools/gotestsum@v1
# This here is solely to get the cni install script, which has not been modified in 3+ years.
# There is little to no reason to update this to latest containerd
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: containerd/containerd
ref: "v1.7.25"
path: containerd
fetch-depth: 1
- name: "Set up CNI"
working-directory: containerd
run: GOPATH=$(go env GOPATH) script/setup/install-cni-windows
# Windows setup script can only use released versions
- name: "Set up containerd"
env:
ctrdVersion: ${{ env.CONTAINERD_VERSION }}
run: powershell hack/configure-windows-ci.ps1
- name: "Run integration tests"
run: ./hack/test-integration.sh -test.only-flaky=false
- name: "Run integration tests (flaky)"
run: ./hack/test-integration.sh -test.only-flaky=true
Loading