Skip to content

Publish a patch release every 4 weeks and let Renovate merge non-major updates - #1098

Open
chrapkowski-sg wants to merge 2 commits into
mainfrom
scheduled-releases
Open

chrapkowski-sg wants to merge 2 commits into
mainfrom
scheduled-releases

Conversation

@chrapkowski-sg

@chrapkowski-sg chrapkowski-sg commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

The Docker image only picks up base image and Ubuntu security fixes when a release rebuilds it, and releases only happen when someone creates one by hand. A new scheduled workflow now publishes a patch release every fourth Monday after 2026-11-23, the same weeks as the other SCIP indexers, and it can also be run by hand with an optional version. scip-java takes its version from the tag and has no version file, so instead of opening a release PR the workflow creates the GitHub release and tag, with generated notes, on the newest main commit whose required checks passed. It then calls release-maven and release-docker for the tag in the same run, because tags created with GITHUB_TOKEN don't trigger their push events, so a failed publish shows up on that run and "Re-run failed jobs" retries only what failed. The Dockerfile already runs apt-get upgrade.

Renovate now runs on Monday mornings (Europe/Warsaw) and groups GitHub Actions, Bazel, Kotlin, and Docker image updates. It merges non-major updates once CI pass, Nix pass, and Repository indexing pass succeed. Those checks cover tests on JDK 17, 21, and 25, snapshots, Bazel and Maven builds, indexing real Gradle, Maven, and Bazel projects, and building the Docker image to index Maven and Gradle fixtures. Major updates, which used to merge on their own too, now need review. So do Kotlin feature releases, because the Analysis API pin has to follow them by hand. Docker image and Gradle runtime updates stay manual, as before.

@chrapkowski-sg

Copy link
Copy Markdown
Collaborator Author

This change is part of the following stack:

Change managed by git-spice.

The Docker image only picks up base image and Ubuntu security fixes when a
release rebuilds it, so a scheduled workflow now creates a patch release every
fourth Monday after 2026-11-23, the same weeks as the other SCIP indexers. It
releases the newest main commit that passed the required checks, creates the
GitHub release with generated notes, and calls the Maven Central and Docker
release workflows for the tag, since tags created with GITHUB_TOKEN don't
trigger them. The workflow can also be run by hand, optionally with a version.
Renovate opened PRs whenever updates appeared and merged every update,
including major ones, once checks passed. It now runs on Monday mornings in
Europe/Warsaw, merges only non-major updates on its own, and groups GitHub
Actions, Bazel, Kotlin, and Docker image updates into one PR each. Kotlin feature
releases need review because the Analysis API pin follows them by hand.
@chrapkowski-sg
chrapkowski-sg marked this pull request as ready for review November 25, 2026 13:49

This branch has not been deployed

No deployments
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.

1 participant