Skip to content

feat: add Kubernetes-based e2e testing infrastructure - #1913

Merged
sabre1041 merged 4 commits into
oras-project:mainfrom
TerryHowe:chore-run-e2e-on-k8s
Sep 23, 2026
Merged

sabre1041 merged 4 commits into
oras-project:mainfrom
TerryHowe:chore-run-e2e-on-k8s

Conversation

@TerryHowe

Copy link
Copy Markdown
Member

This commit adds comprehensive Kubernetes-based end-to-end testing support for ORAS. GitHub Actions workflow for automated KinD-based testing This maintains compatibility with existing Docker-based e2e tests while adding a more realistic Kubernetes-based testing environment.

@codecov

codecov Bot commented Nov 25, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.78%. Comparing base (be79214) to head (f7d8b24).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1913      +/-   ##
==========================================
- Coverage   87.81%   87.78%   -0.04%     
==========================================
  Files         139      139              
  Lines        5714     5714              
==========================================
- Hits         5018     5016       -2     
- Misses        415      417       +2     
  Partials      281      281              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TerryHowe
TerryHowe force-pushed the chore-run-e2e-on-k8s branch from cdb516c to 64af1de Compare November 25, 2025 19:24
@TerryHowe TerryHowe added this to the v1.4.0 milestone Dec 26, 2025
@TerryHowe
TerryHowe force-pushed the chore-run-e2e-on-k8s branch from dbaf41b to dce7eff Compare July 24, 2026 17:05
@TerryHowe
TerryHowe requested a review from sabre1041 as a code owner July 24, 2026 17:05
This commit adds comprehensive Kubernetes-based end-to-end testing support
for ORAS.  GitHub Actions workflow for automated KinD-based testing
This maintains compatibility with existing Docker-based e2e tests while
adding a more realistic Kubernetes-based testing environment.

Signed-off-by: Terry Howe <[email protected]>
The default make target includes lint which requires golangci-lint,
which is not installed in the Docker image. Use the specific build
target instead since linting runs separately in CI.

Signed-off-by: Terry Howe <[email protected]>
go.mod requires go >= 1.26.7, so the 1.25 toolchain in the e2e-k8s
workflow matrix and the e2e Dockerfile base images failed 'go mod
download' with GOTOOLCHAIN=local. Align with the other workflows on 1.26.

Signed-off-by: Terry Howe <[email protected]>
Removing the whole zot ignore block left zot's runtime state (meta.db and
rewritten repo storage) showing up as untracked noise. Restore the block
and add cache.db as an explicit exception, since it is a generated
fixture checked in alongside the other zot testdata.

Signed-off-by: Terry Howe <[email protected]>

@sabre1041 sabre1041 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Great work here

@sabre1041
sabre1041 merged commit a0cd4de into oras-project:main Sep 23, 2026
10 checks passed
Ashutosh-Panda2004 added a commit to Ashutosh-Panda2004/oras that referenced this pull request Oct 2, 2026
The KinD e2e job from oras-project#1913 runs the same Ginkgo suite, so the
Docker-on-the-runner path in build.yml is redundant. Drop the Run E2E
Tests step, the teste2e/teste2e-covdata make targets, and the now-unused
e2e.sh, prepare.sh and common.sh scripts.

Fixes oras-project#2188.

Signed-off-by: Ashutosh Panda <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants