Skip to content

Update nerdctl and containerd together #22084

@nirs

Description

@nirs

nerdctl 2.1.x does not support containerd 2.2.x, so we should update containerd with nerdctl, or update containerd after nerdctl is updated.

Possible fixes

  • run both updates in the same PR, always updating to latest stable version of nerdctl and containerd, merging .github/workflows/update-nerdctl-version.yml and .github/workflows/update-containerd-version.yml
  • skip containerd update if nerdctl is not updated to latest stable version, keeping current workflows
  • Use nerdctl-full - Includes dependencies such as containerd, runc, and CNI

Merging the workflows

May be complicated, we try to generate a commit message about the update, and we have many combinations:

  • containerd updated from version a1 to a2, nerdctl updated from version b1 to b2
  • containerd updated from version a1 to a2
    • should we update? how do we know that nerdct is compatible with this version?
  • nerdctl updated from version b1 to b2
  • no update

Skipping containerd update

Skip if nerdctl needs an update. The next update is likely to pass.

Using nerdctl-full

The tarballs are huge:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions