TEST-INFRA: [ci-pipeline-design] Simplify the Docker job setup #1979

Open
opened 2026-04-03 00:29:20 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: chore/m8-ci-simplify-docker-job
  • Commit Message: chore(ci): simplify docker job by using a Docker-in-Docker base image
  • Milestone: v3.8.0
  • Parent Epic: #1678

Background and Context

The current CI pipeline in .forgejo/workflows/ci.yml has a complex setup for the docker job. It manually starts the Docker daemon and installs dependencies on each run. This is fragile, slow, and adds unnecessary maintenance overhead. Using a pre-built Docker-in-Docker (DinD) image that already has Docker installed and running will simplify the job, reduce setup time, and improve reliability.

Subtasks

  • Research and identify a suitable Docker-in-Docker (DinD) image (e.g., docker:dind) that includes the Docker daemon pre-configured for CI use.
  • Update the docker job in .forgejo/workflows/ci.yml to use the identified DinD image.
  • Remove the manual steps for starting the Docker daemon from the docker job.
  • Remove the manual dependency installation steps that are superseded by the DinD image.
  • Update features/ci_workflow_validation.feature to assert the simplified docker job structure.
  • Run nox (all default sessions) and fix any errors.
  • Verify coverage >= 97% via nox -s coverage_report.

Definition of Done

  • All subtasks above are completed and checked off.
  • The docker job in .forgejo/workflows/ci.yml uses a Docker-in-Docker image instead of manual daemon setup.
  • Manual steps for starting the Docker daemon and installing dependencies are removed from the docker job.
  • The CI pipeline successfully runs with the simplified docker job.
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly (chore(ci): simplify docker job by using a Docker-in-Docker base image), followed by a blank line, then additional lines providing relevant details about the implementation.
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly (chore/m8-ci-simplify-docker-job).
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done.
  • All nox stages pass.
  • Coverage >= 97%.

Automated by CleverAgents Bot
Supervisor: Test Infrastructure | Agent: ca-new-issue-creator

## Metadata - **Branch**: `chore/m8-ci-simplify-docker-job` - **Commit Message**: `chore(ci): simplify docker job by using a Docker-in-Docker base image` - **Milestone**: v3.8.0 - **Parent Epic**: #1678 ## Background and Context The current CI pipeline in `.forgejo/workflows/ci.yml` has a complex setup for the `docker` job. It manually starts the Docker daemon and installs dependencies on each run. This is fragile, slow, and adds unnecessary maintenance overhead. Using a pre-built Docker-in-Docker (DinD) image that already has Docker installed and running will simplify the job, reduce setup time, and improve reliability. ## Subtasks - [ ] Research and identify a suitable Docker-in-Docker (DinD) image (e.g., `docker:dind`) that includes the Docker daemon pre-configured for CI use. - [ ] Update the `docker` job in `.forgejo/workflows/ci.yml` to use the identified DinD image. - [ ] Remove the manual steps for starting the Docker daemon from the `docker` job. - [ ] Remove the manual dependency installation steps that are superseded by the DinD image. - [ ] Update `features/ci_workflow_validation.feature` to assert the simplified `docker` job structure. - [ ] Run `nox` (all default sessions) and fix any errors. - [ ] Verify coverage >= 97% via `nox -s coverage_report`. ## Definition of Done - [ ] All subtasks above are completed and checked off. - [ ] The `docker` job in `.forgejo/workflows/ci.yml` uses a Docker-in-Docker image instead of manual daemon setup. - [ ] Manual steps for starting the Docker daemon and installing dependencies are removed from the `docker` job. - [ ] The CI pipeline successfully runs with the simplified `docker` job. - [ ] A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly (`chore(ci): simplify docker job by using a Docker-in-Docker base image`), followed by a blank line, then additional lines providing relevant details about the implementation. - [ ] The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly (`chore/m8-ci-simplify-docker-job`). - [ ] The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done. - [ ] All nox stages pass. - [ ] Coverage >= 97%. --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: ca-new-issue-creator
freemo added this to the v3.8.0 milestone 2026-04-03 00:29:38 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Medium (confirmed)
  • Milestone: v3.8.0 (already assigned — CI infrastructure)
  • MoSCoW: Could Have — Simplifying Docker job setup is a CI maintenance improvement. The current setup works; this is about reducing complexity and maintenance burden.

Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: ca-project-owner

Issue triaged by project owner: - **State**: Verified - **Priority**: Medium (confirmed) - **Milestone**: v3.8.0 (already assigned — CI infrastructure) - **MoSCoW**: Could Have — Simplifying Docker job setup is a CI maintenance improvement. The current setup works; this is about reducing complexity and maintenance burden. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
cleveragents/cleveragents-core#1979
No description provided.