[pre-commit.ci] pre-commit autoupdate#2378
Open
pre-commit-ci[bot] wants to merge 2 commits intomainfrom
Open
Conversation
cdb45d9 to
c7ffa73
Compare
c7ffa73 to
691cad5
Compare
691cad5 to
1de4044
Compare
1de4044 to
f7090bb
Compare
f7090bb to
f51125f
Compare
f51125f to
529a8ec
Compare
529a8ec to
67ed48a
Compare
67ed48a to
c430a53
Compare
c430a53 to
6c4e2a1
Compare
6d73dc2 to
adfdddc
Compare
adfdddc to
16905d7
Compare
16905d7 to
c3f3785
Compare
c3f3785 to
edf8d4f
Compare
edf8d4f to
96a6d29
Compare
96a6d29 to
1a8c79b
Compare
29b41dc to
7232252
Compare
e42d916 to
d5e04e3
Compare
Replaces the thin wrapper around `addono/jira-software-standalone`
with a multi-stage Dockerfile whose every Jira-major-specific knob is
a build-arg, lifting the previous "Jira 8 only" limitation. The same
source tree now builds Jira 8 through Jira 11 by flipping ARGs alone,
without depending on the addono base image (which itself is anchored
to the Jira 8.x dependency graph and silently falls back to 8.x for
newer majors).
Defaults pin to Jira 8.17.1 - the version `jira_server_ci.yml` runs
against - so the existing `docker build docker/jira-test-image` step
continues producing the same image without per-major overrides.
What changed:
docker/jira-test-image/Dockerfile
Six ARGs (JAVA_IMAGE, AMPS_VERSION, JIRA_VERSION,
SPRING_SCANNER_VERSION, TESTRUNNER_VERSION, COMPILE_FLOOR) drive
the version pins. Three stages (base / warmer / warmed / unwarmed)
let callers opt into a pre-warmed image (~1-2 min cold-boot in
exchange for ~25 min build time) via `--target warmed`.
docker/jira-test-image/plugin/pom.xml.template (new)
Source pom with `@AMPS_VERSION@`, `@SPRING_SCANNER_VERSION@`,
`@TESTRUNNER_VERSION@`, and `@COMPILE_FLOOR@` placeholders.
Rendered to plugin/pom.xml during the base stage by render-pom.sh
and excluded from git via plugin/.gitignore.
docker/jira-test-image/scripts/ (new)
install-sdk.sh: installs atlassian-plugin-sdk from the
maven-external tarball.
render-pom.sh: substitutes the four `@TOKEN@` values into the
template; fails loudly if any placeholder is left untouched.
warm.sh: builds the warmer stage. Boots atlas-run with stdin
redirected from /dev/zero so the Cargo Maven plugin does not see
EOF and shut Jira down mid-warm during the no-TTY docker build.
smoke.sh: local + CI smoke harness.
.github/workflows/ghcr-publish.yml (new)
workflow_dispatch publish job. Exposes every Dockerfile ARG as an
input. Always builds and pushes both the unwarmed and warmed
variants in a single run; the optional `tag_latest` boolean also
pushes `:<major>-latest` and `:<major>-warm-latest` floating tags.
Pushes to GHCR under the repository owner's namespace as
`ghcr.io/<owner>/jira-test-image`.
docker/jira-test-image/README.md
Removes the "Jira 9+/11+ are not supported here" caveat. Adds
"Targeting a different Jira version", "Known-good build-arg
combinations" (with the validated Jira 8/9/10/11 matrix and AMPS
line gotchas), "Warmed variant", and "Publishing" subsections.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
updates: - [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](codespell-project/codespell@v2.4.1...v2.4.2) - [github.com/adrienverge/yamllint.git: v1.37.1 → v1.38.0](https://github.com/adrienverge/yamllint.git/compare/v1.37.1...v1.38.0) - [github.com/pappasam/toml-sort: v0.24.2 → v0.24.4](pappasam/toml-sort@v0.24.2...v0.24.4) - [github.com/tox-dev/tox-ini-fmt: 1.6.0 → 1.7.1](tox-dev/tox-ini-fmt@1.6.0...1.7.1) - [github.com/astral-sh/ruff-pre-commit: v0.12.12 → v0.15.12](astral-sh/ruff-pre-commit@v0.12.12...v0.15.12) - [github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.20.2](pre-commit/mirrors-mypy@v1.17.1...v1.20.2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
updates: