moby / moby/moby

CI: de-DINDify

Open
#53,670 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area/testing exp/expert
Dominant language
Go
Stars
72.1k
Forks
19.2k
Avg merge
1d 17h
Merged PRs (30d)
164

Description

The current DIND-based CI practically limits the host distribution to Debian userspace + irregular system configuration (systemd, udevd, resolved, etc.) + irregular kernel (Ubuntu, or Oracle on Lima workflows).
https://github.com/moby/moby/blob/8210b0babaed17fbe706a4c5e8c7d0b9c6aba2a1/Dockerfile#L4
https://github.com/moby/moby/blob/8210b0babaed17fbe706a4c5e8c7d0b9c6aba2a1/.github/workflows/test.yml#L35
https://github.com/moby/moby/blob/8210b0babaed17fbe706a4c5e8c7d0b9c6aba2a1/.github/workflows/vm.yml#L46-L47

To cover "real" host OSes with their standard configuration, we have to consider de-DINDifying the CI.
I suggest beginning with de-DINDIfying ./integration/container ./integration/build ./integration/system executed in vm.yml.


openSUSE's test script might be useful for reference https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/containers/docker_engine.pm


  • .vm.yml #53672
  • .test.yml
    • integration
    • integration-cli
    • integration-flaky
    • docker-py

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with .github/workflows/vm.yml and the ./integration/container, ./integration/build, and ./integration/system targets named in the issue. Compare the current DIND-based execution with the openSUSE test script for reference. Done means these integration areas run in vm.yml without relying on Docker-in-Docker while covering hosts with their standard configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions
Domain
ci-cd, devops, infrastructure
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.