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

Support Solr 9.x minor versions #51

Merged
merged 3 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
* Added support for Solr 9.x minor versions. [#50](https://github.com/lando/solr/issues/50)

## v1.1.0 - [March 8, 2024](https://github.com/lando/solr/releases/tag/v1.1.0)
* Updated to latest database services.

Expand Down
14 changes: 14 additions & 0 deletions builders/solr.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ const path = require('path');

// Versions
const supportedVersions = [
'9.7',
'9.6',
'9.5',
'9.4',
'9.3',
'9.2',
'9.1',
'9.0',
'9',
'8.11',
Expand Down Expand Up @@ -138,6 +145,13 @@ const parseConfig = options => {
case '8.1': return parse8(options);
case '8.0': return parse8(options);
case '8': return parse8(options);
case '9.7': return parse9(options);
case '9.6': return parse9(options);
case '9.5': return parse9(options);
case '9.4': return parse9(options);
case '9.3': return parse9(options);
case '9.2': return parse9(options);
case '9.1': return parse9(options);
case '9.0': return parse9(options);
case '9': return parse9(options);
default: return parseElse(options);
Expand Down
7 changes: 7 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ services:

## Supported versions

* [9.7](https://hub.docker.com/_/solr/) **(experimental)**
* [9.6](https://hub.docker.com/_/solr/) **(experimental)**
* [9.5](https://hub.docker.com/_/solr/) **(experimental)**
* [9.4](https://hub.docker.com/_/solr/) **(experimental)**
* [9.3](https://hub.docker.com/_/solr/) **(experimental)**
* [9.2](https://hub.docker.com/_/solr/) **(experimental)**
* [9.1](https://hub.docker.com/_/solr/) **(experimental)**
* [9](https://hub.docker.com/_/solr/) **(experimental)**
* [9.0](https://hub.docker.com/_/solr/) **(experimental)**
* [8](https://hub.docker.com/_/solr/)
Expand Down
2 changes: 1 addition & 1 deletion examples/9.x/.lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
config:
dir: '9.x-conf'
patch:
type: solr:9.0
type: solr:9.7
core: solo
portforward: true
config:
Expand Down
4 changes: 2 additions & 2 deletions examples/9.x/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Run the following commands to validate things are rolling as they should.
# Should use version 9.x for the default version
lando ssh -s helper -c "curl defaults:8983/solr/admin/info/system?wt=json" | grep "solr-spec-version" | grep "9."

# Should use version 9.0 on patch version
lando ssh -s helper -c "curl patch:8983/solr/admin/info/system" | grep "solr-spec-version" | grep "9.0"
# Should use version 9.7 on patch version
lando ssh -s helper -c "curl patch:8983/solr/admin/info/system" | grep "solr-spec-version" | grep "9.7"

# Should have lando core by default
lando ssh -s helper -c "curl defaults:8983/solr/admin/cores?action=STATUS" | grep lando
Expand Down
Loading