Skip to content

IBX-12271: Migrated Solr image to version 10.0 - #828

Open
barw4 wants to merge 1 commit into
6.0from
ibx-12271-solr-10-docker-image
Open

barw4 wants to merge 1 commit into
6.0from
ibx-12271-solr-10-docker-image

Conversation

@barw4

@barw4 barw4 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12271

Related PRs:

Description:

Rollout plan (lockstep with ibexa/solr#118)

Order matters — core CI is red between steps 2 and 5, keep the window short.

  • 1. Get both PRs approved and ready to merge:
    ibexa/solr# (Solr 10 support, targets 6.0) and this PR.
    Note: this PR's solr-integration job is expected to fail until step 3 —
    the ghcr.io/ibexa/core/solr:6.0 image does not exist yet.
  • 2. Merge IBX-12271: Implemented Solr 10 support solr#118 into 6.0. From this moment ibexa/solr's HEAD
    branch (6.0) only supports Solr 10, and core 6.0 CI turns red.
  • 3. Manually dispatch the "Build and publish Solr Docker image" workflow
    (gha-docker-solr.yaml) on THIS branch (ibx-12271-solr-10-docker-image).
    It clones ibexa/solr 6.0 (now Solr 10), builds the image from
    solr:10.0.0, gates it on composer test-integration-solr, and pushes
    ghcr.io/ibexa/core/solr:6.0.
  • 4. Re-run this PR's CI — solr-integration now pulls the :6.0 image
    and should be green.
  • 5. Merge this PR. Core 6.0 CI is green again.

Follow-ups (separate PRs)

  • Pin the git clone in docker/solr/Dockerfile on core 4.6 and 5.0
    to the matching ibexa/solr branch (--branch 4.6 / --branch 5.0).
    Those Dockerfiles clone the repo's HEAD branch (= 6.0), so their
    image rebuild will fail once IBX-12271: Implemented Solr 10 support solr#118 merges.
  • Consider moving docker/solr + gha-docker-solr.yaml from core to
    ibexa/solr, since the image content is generated from that repo anyway.

For QA:

Documentation:

@barw4
barw4 force-pushed the ibx-12271-solr-10-docker-image branch from d0b689e to f4755d5 Compare September 14, 2026 19:10
@sonarqubecloud

Copy link
Copy Markdown


- name: Build Solr image
run: docker build -t "$IMAGE_NAME:latest" docker/solr
run: docker build -t "$IMAGE_NAME:$IMAGE_TAG" docker/solr

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going to be confusing. I'm assuming latest will still exist from the last build, but it won't be "latest" anymore. Is it possible to build both $IMAGE_TAG and latest or alias one to another.

This also means that we should build on 5.0 a 5.0 version and on 4.6 a 4.6 version, though I expect them to be the same. // ah, I see already planned as follow-ups

Or do you also plan to align latest only after fixing 4.6 and 5.0? Given the use it, it would make sense.

Comment thread docker/solr/Dockerfile
WORKDIR /home/user
RUN git clone --depth=1 https://github.com/ibexa/solr.git solr
RUN ./solr/bin/generate-solr-config.sh --destination-dir=config --solr-version=8.6.3
RUN git clone --depth=1 --branch 6.0 https://github.com/ibexa/solr.git solr

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can 6.0 be taken from env/ARGS at runtime?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants