Skip to content

ci: replace JDK17 pipeline with mno-adapters-style CI + release-please (start 5.0.0)#7

Merged
mjfelis merged 1 commit into
mainfrom
ci/release-please-pipeline
Jun 1, 2026
Merged

ci: replace JDK17 pipeline with mno-adapters-style CI + release-please (start 5.0.0)#7
mjfelis merged 1 commit into
mainfrom
ci/release-please-pipeline

Conversation

@mjfelis

@mjfelis mjfelis commented Jun 1, 2026

Copy link
Copy Markdown
Member

Why

The previous ci.yml set up JDK 17, which cannot compile maven.compiler.release=25 (now on main after #6) — that's why the repo no longer built on GitHub. It also used github-tag-action (which auto-tagged v1.0.5 on the #6 merge), not release-please.

What

Replaces it with the same pipeline the mno-adapters-* repos use, targeting Docker Hub (per current image config mobiera/service-log):

  • .github/workflows/ci-cd.yml (replaces ci.yml) — build/test/sast on maven:3-eclipse-temurin-25; on main builds & pushes mobiera/service-log:main to Docker Hub (DOCKER_HUB_LOGIN/DOCKER_HUB_PWD). MVN_SETTINGS configured in every Maven job (incl. test/sast) so private deps resolve.
  • .github/workflows/release-please.ymlgoogleapis/release-please-action@v4; on release, builds from the tag (JDK 25) and pushes mobiera/service-log:<version>.
  • .github/workflows/pr-title-lint.yml — conventional-commit PR titles.
  • release-please-config.jsonrelease-type: maven, package-name: service-log, skip-snapshot: true.
  • .release-please-manifest.json — baseline 5.0.0; pom <version>5.0.0 (was 1.1-SNAPSHOT).

Notes

  • Required repo secrets: MVN_SETTINGS, DOCKER_HUB_LOGIN, DOCKER_HUB_PWD.
  • To make the very first release tag exactly v5.0.0, land a commit on main with a Release-As: 5.0.0 footer; otherwise the first release-please PR bumps from the 5.0.0 baseline per conventional commits.

…e (start 5.0.0)

- ci-cd.yml: build/test/sast on maven:3-eclipse-temurin-25 (was JDK 17,
  which could not compile maven.compiler.release=25) and push the dev image
  mobiera/<repo>:main to Docker Hub on main; configure MVN_SETTINGS in the
  test/sast jobs so private deps resolve
- release-please.yml + release-please-config.json + .release-please-manifest.json:
  release-type maven, baseline 5.0.0; release-build pushes mobiera/<repo>:<version>
- pr-title-lint.yml: conventional-commit PR titles
- pom <version> set to 5.0.0; remove old ci.yml (github-tag-action)
@mjfelis mjfelis merged commit a9834f6 into main Jun 1, 2026
3 checks passed
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