You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore: remove the Docker-based e2e test run now that KinD e2e has landed #2188
Now that #1913 has merged, e2e tests run twice on every push and pull request:
build (.github/workflows/build.yml) runs make teste2e / make teste2e-covdata, which starts the three registries as plain Docker containers on the runner via test/e2e/scripts/e2e.sh.
e2e-k8s (.github/workflows/e2e-k8s.yml) runs the same Ginkgo suite inside a KinD cluster.
The Docker-on-the-runner path is now redundant. It should be removed so there is a single e2e entry point.
Proposed changes
.github/workflows/build.yml: drop the Run E2E Tests step and its ORAS_PATH env. build keeps build + unit tests + version check.
Makefile: remove the teste2e and teste2e-covdata targets.
test/e2e/scripts/: remove e2e.sh, prepare.sh, and common.sh (only used by the removed targets). build-image.sh, deploy.sh, status.sh, run-tests.sh, run-interactive.sh, teardown.sh, and generate-cache-db.sh stay.
test/e2e/README.md / CONTRIBUTING.md: make sure nothing still points at make teste2e as the local workflow.
test/e2e/testdata/distribution/mount* stays — the KinD registry manifests unpack the same tarballs in their init containers.
Open questions
Coverage.teste2e-covdata sets GOCOVERDIR, converts the profile with go tool covdata textfmt, and build uploads it to codecov with fail_ci_if_error: true. e2e-k8s does not collect coverage today, so removing the step drops e2e coverage from the codecov report. Either teach the KinD job to pull GOCOVERDIR out of the test pod, or accept unit-test-only coverage and say so.
Tag builds.build.yml deliberately runs the non-covdata target for v* tag builds. Confirm e2e-k8s triggers cover whatever that path was protecting (it currently only runs on push/pull_request for main and release-*, not on tags).
Local dev.make teste2e is the documented way to run e2e locally. The replacement requires a cluster; worth confirming the KinD script flow in test/e2e/README.md is good enough before deleting the make targets.
Activity
chore: remove duplicate Docker e2e runner (oras-project#2188)
Remove Docker-based e2e test run