Pin Testcontainers to 1.x and skip rebuilds for config-only commits
build-and-publish / build (push) Successful in 1m17s

Testcontainers 2.0 renamed the postgresql/junit-jupiter module artifacts, so the major
bump can't even be resolved — disable it rather than let a bot PR reopen it each run.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XXKjx7FNyRVAjU8dgB5KhN
This commit is contained in:
2026-07-22 21:22:43 -05:00
co-authored by Claude Opus 4.8
parent 1a7f0f1980
commit 48b37d7d6c
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -2,6 +2,9 @@ name: build-and-publish
on: on:
push: push:
branches: [main] branches: [main]
# Files that can't change the image. Skipping them avoids a pointless rebuild that Watchtower
# would then redeploy — a few seconds of downtime on a live site for a docs-only commit.
paths-ignore: ["renovate.json", "**.md"]
# Lets `rebuild-all-apps.sh` force a rebuild (e.g. to roll out an urgent platform fix immediately # Lets `rebuild-all-apps.sh` force a rebuild (e.g. to roll out an urgent platform fix immediately
# instead of waiting for a Renovate bump PR). # instead of waiting for a Renovate bump PR).
workflow_dispatch: workflow_dispatch:
+6
View File
@@ -7,6 +7,12 @@
"matchPackageNames": ["net.thebennett.platform:**"], "matchPackageNames": ["net.thebennett.platform:**"],
"groupName": "bennett platform", "groupName": "bennett platform",
"automerge": true "automerge": true
},
{
"description": "Stay on Testcontainers 1.x. 2.0 renamed the module artifacts (postgresql, junit-jupiter), so the major bump doesn't just fail the build — its POM won't even parse. Revisit deliberately, not via a bot PR.",
"matchPackageNames": ["org.testcontainers:**"],
"matchUpdateTypes": ["major"],
"enabled": false
} }
], ],
"vulnerabilityAlerts": { "vulnerabilityAlerts": {