Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Solr 8 images #97

Merged
merged 20 commits into from
Nov 23, 2021
Merged

Add Solr 8 images #97

merged 20 commits into from
Nov 23, 2021

Conversation

tobybellwood
Copy link
Member

@tobybellwood tobybellwood commented Feb 11, 2021

This PR adds experimental support for Solr 8 to Lagoon.

The images created here are available at testlagoon/solr-8:experimental and testlagoon/solr-8-drupal:experimental.

Please note that they are currently EXPERIMENTAL and, as such, are not suitable for use in production as they may change before they reach GA.

In order to utilise these images, you can either use them

  1. "as-is" and reference the image in your docker-compose.yml file - they come with a built-in drupal-compatible core (from search-api-solr)
  2. in a dockerfile as the FROM source, so that you can load a custom Drupal configuration in the place of the default one, or load a different config completely.

In the second case, you will need to use a custom command in your CMD like so:

FROM testlagoon/solr-8-drupal:experimental

COPY lagoon/my-solr-config/ /solr-conf/conf

CMD solr-recreate drupal /solr-conf && solr-foreground

the solr-recreate command will ensure that the updated configuration is loaded into the correct location in the volume prior to the solr process starting solr-foreground

In addition, this PR adds the logic to build and publish experimental images outside of the formal tag release process.

@tobybellwood tobybellwood added this to the 21.04 milestone Mar 25, 2021
@tobybellwood tobybellwood changed the title Testing new upstream Solr 7 & 8 versions Add Experimental Solr 8 images Nov 23, 2021
@tobybellwood tobybellwood removed this from the 21.4.0 milestone Nov 23, 2021
@tobybellwood tobybellwood merged commit 17205d6 into main Nov 23, 2021
@almunnings almunnings mentioned this pull request May 18, 2022
@tobybellwood
Copy link
Member Author

Now that these are no longer experimental, replace the above docker images with uselagoon/solr-8:latest or uselagoon/solr-8-drupal:latest (or pin a release version like 22.7.0), but the rest of the dockerfile is correct.

@tobybellwood tobybellwood deleted the testing/upstream_solr_7_8 branch November 28, 2022 20:37
@tobybellwood tobybellwood changed the title Add Experimental Solr 8 images Add Solr 8 images Jul 27, 2023
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.

1 participant