mirror of
https://github.com/go-gitea/gitea.git
synced 2026-12-04 15:54:57 +00:00
chore: drop obsolete renovate pins, test against PostgreSQL 15 (#40528)
PostgreSQL 14 reached end of life on 2026-11-12, so CI moves to 15, the oldest supported major. Also drops two Renovate pins that do nothing: `@mcaptcha/vanilla-glue` has had no release since the pinned `0.1.0-rc2`, and the `gomodMod` constraint equals the `@latest` Renovate installs by default. Changes to the DB test workflow or the `pgsql-shard` action now trigger all DB tests. Before, only SQLite ran, so a PostgreSQL bump like this one went untested. Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
1 parent
483d546231
commit
4f45df1727
3 files changed
+5
-8
No files matched your search
@@ -66,6 +66,8 @@ jobs:
|
||||
- "tests/gitea-repositories-meta/**"
|
||||
- "tests/testdata/**"
|
||||
- "tools/test-integration.sh"
|
||||
- ".github/workflows/pull-db-tests.yml"
|
||||
- ".github/actions/pgsql-shard/**"
|
||||
|
||||
frontend:
|
||||
- "*.ts"
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
timeout-minutes: 50
|
||||
services:
|
||||
pgsql:
|
||||
image: postgres:14@sha256:c0e9c0e9bac7e4c1834b698217a03ee5c708de30d313c84a506972de0e24b059
|
||||
image: postgres:15@sha256:91b9edc40277faf94bc1e3d7ae621b185fa70f3099b94309c4731a8296114870
|
||||
env:
|
||||
POSTGRES_DB: test
|
||||
POSTGRES_PASSWORD: postgres
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
timeout-minutes: 50
|
||||
services:
|
||||
pgsql:
|
||||
image: postgres:14@sha256:c0e9c0e9bac7e4c1834b698217a03ee5c708de30d313c84a506972de0e24b059
|
||||
image: postgres:15@sha256:91b9edc40277faf94bc1e3d7ae621b185fa70f3099b94309c4731a8296114870
|
||||
env:
|
||||
POSTGRES_DB: test
|
||||
POSTGRES_PASSWORD: postgres
|
||||
|
||||
+1
-6
@@ -12,7 +12,6 @@
|
||||
"separateMajorMinor": false, // include major updates in group PRs
|
||||
"minimumReleaseAge": "5 days",
|
||||
"postUpdateOptions": ["gomodUpdateImportPaths", "pnpmDedupe"],
|
||||
"constraints": {"gomodMod": "v0.10.0"},
|
||||
"semanticCommits": "enabled",
|
||||
"osvVulnerabilityAlerts": true,
|
||||
"vulnerabilityAlerts": {
|
||||
@@ -66,10 +65,6 @@
|
||||
"groupName": "dependencies", // single weekly PR for all dependency updates
|
||||
"semanticCommitType": "chore", // dep updates are rarely fixes for gitea
|
||||
},
|
||||
{
|
||||
"matchPackageNames": ["@mcaptcha/vanilla-glue"],
|
||||
"allowedVersions": "^0.1", // breaking changes in rc versions need to be handled
|
||||
},
|
||||
{
|
||||
"matchPackageNames": ["tailwindcss"],
|
||||
"allowedVersions": "^3", // need to migrate
|
||||
@@ -84,7 +79,7 @@
|
||||
},
|
||||
{
|
||||
"matchPackageNames": ["postgres"],
|
||||
"allowedVersions": "/^14($|[.-])/", // pin to oldest supported major
|
||||
"allowedVersions": "/^15($|[.-])/", // pin to oldest supported major
|
||||
},
|
||||
{
|
||||
"matchPackageNames": ["bitnamilegacy/mysql"],
|
||||
|
||||
Reference in new issue
Block a user