Skip to content

chore: drop dead .gitignore entries for the Docker e2e registry mounts #2215

Closed

Description

@TerryHowe

Blocked on #2208, which is what makes these entries dead.

.gitignore carries two entries that exist only because of the Docker-on-the-runner e2e path:

test/e2e/testdata/distribution/mount/docker/
test/e2e/testdata/distribution/mount_fallback/docker/

They were needed because run_registry in test/e2e/scripts/common.sh extracted the pre-baked registry tarballs into the worktree before bind-mounting them into the container:

rm -rf $mnt_root/docker
for layer in $(ls -rt $mnt_root/*.tar.gz); do
    tar -xvzf $layer -C $mnt_root
done

The KinD path does the equivalent extraction inside the pod instead — test/e2e/k8s/docker-registry.yaml's init-registry-data container untars into /var/lib/registry on an emptyDir. Once #2208 removes common.sh, nothing writes those paths in a local checkout, so both rules can go.

Explicitly keep these

Three coverage-related entries look dead after #2208 but are not — #2209 reintroduces exactly these files when it teaches the KinD job to collect coverage (covcounters/covmeta are the raw GOCOVERDIR output, test/e2e/coverage.txt is the go tool covdata textfmt target):

test/e2e/coverage.txt
**/covcounters.*
**/covmeta.*

Also worth leaving alone: the test/e2e/testdata/zot/ block. test/e2e/scripts/generate-cache-db.sh still writes cache.db back into that directory, and the rule carries a set of ! negations that are easy to break for no benefit.

Scope

Two lines deleted. Purely cosmetic — no behavior change — so this is low priority and safe to fold into any other .gitignore touch rather than carrying its own PR.

Activity

  1. added
    good first issue
    E2E testing
    on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    E2E testinggood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions