[xwiki/xwiki-docker] a8fad3: XDOCKER-18: Automate updating the stable version
Branch: refs/heads/XDOCKER-18-automate-docker-images-release Home: https://github.com/xwiki/xwiki-docker Commit: a8fad35d9222863622984d022b7691ad3553d077 https://github.com/xwiki/xwiki-docker/commit/a8fad35d9222863622984d022b7691a... Author: Vincent Massol <[email protected]> Date: 2026-07-24 (Fri, 24 Jul 2026) Changed paths: M README.md M build.gradle Log Message: ----------- XDOCKER-18: Automate updating the stable version Automate the manual "Update Docker Images" release step as Gradle tasks, mirroring the existing updateLibreOffice precedent: - updateXWiki: resolve the latest final XWiki version on each existing cycle's line from XWiki's Maven metadata and, for changed cycles, download the WAR and compute its sha256. - updateJDBC: read the three JDBC driver versions from each cycle's own xwiki-platform POM and, for changed ones, download the driver from Maven Central and compute its sha256. Driver versions/sha256 are now stored per cycle (the shared mysql/mariadb/postgres maps are removed); this also corrects a latent cycle-16 mismatch (hence the regenerated 16/*). - smokeTest: boot the postgres-tomcat variant of each changed cycle with docker compose and wait for HTTP 200, then tear it down. - release: pre-push umbrella chaining updateXWiki -> updateJDBC -> updateLibreOffice -> generate -> smokeTest (the update tasks also mutate the in-memory token model so the chained generate sees fresh values). - submitOfficialImage: generate the docker-library library/xwiki file from the token model and open the official-images PR from your GitHub fork (contents API, no clone). -PdryRun previews the file and diff only. Also refactor the tokens data model (per-cycle role + JDBC values + optional libraryComment) and replace the Gradle exec API (removed in Gradle 9) with a Groovy Process helper, which also fixes the previously never-run smokeTest docker calls. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Commit: 260b15309b39339e367a91759c7f67675fea589b https://github.com/xwiki/xwiki-docker/commit/260b15309b39339e367a91759c7f676... Author: Vincent Massol <[email protected]> Date: 2026-07-24 (Fri, 24 Jul 2026) Changed paths: M build.gradle A versions.json Log Message: ----------- XDOCKER-18: Extract the version data into versions.json and rename the "previous" role Address the PR review feedback: - Move the version data model (the per-cycle XWiki + JDBC driver versions/sha256 and the shared LibreOffice version/sha256) out of build.gradle into a dedicated versions.json data file, separating the configuration from the build logic and making it straightforward to update programmatically. The updateXWiki, updateJDBC and updateLibreOffice tasks now mutate the parsed model and persist it with JsonOutput, which removes the fragile rewriteCycleFields line-rewriting helper. - Rename the cycle-16 role from "previous" to "old-lts", which is clearer. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Compare: https://github.com/xwiki/xwiki-docker/compare/e9407583b374...260b15309b39 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-docker/settings/notifications
participants (1)
-
XWiki Notifications