-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Description
Description
The Gitea instance used in the git resolver e2e tests (test/git-resolver/gitea.yaml) is pinned to v1.17.1 (July 2022), which is 8 major versions behind the current release (v1.25.4, January 2026). The Helm chart it was generated from (v6.0.0) is also far behind the current v12.5.0.
What needs updating
| Component | Current | Latest |
|---|---|---|
| Gitea server image | mirror.gcr.io/gitea/gitea:1.17.1 |
1.25.x |
Helm chart (source of gitea.yaml) |
v6.0.0 | v12.5.0 |
Gitea Go SDK (code.gitea.io/sdk/gitea) |
v0.21.0 | Verify compatibility |
Context
The gitea.yaml was originally generated via helm template gitea gitea-charts/gitea and committed as a static file. The Helm chart has since been significantly restructured. The tests were disabled in 5f38010 (Sep 2025) because the chart had changed, and are being re-enabled in #9442.
Suggested approach
- Regenerate
test/git-resolver/gitea.yamlfrom the currentgitea-charts/giteaHelm chart - Update the Gitea image references to 1.25.x
- Verify the admin user API, token creation API (the
sha1field in the token response may have changed), and file creation API still work with thesetupGiteahelper intest/resolvers_gitea_test.go - Bump the Go SDK if needed for compatibility
Affected files
test/git-resolver/gitea.yaml— static Helm chart outputtest/resolvers_gitea_test.go—setupGitea()function that calls Gitea APIsgo.mod— Gitea SDK version (if bump needed)
Related
- Add Gitea e2e tests to CI #9442 — re-enables the Gitea e2e tests in CI
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.Categorizes issue or PR as related to cleaning up code, process, or technical debt.