Skip to content

Fix SOLR setup under Github Actions #1959

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

Closed
wants to merge 2 commits into from

Conversation

black3r
Copy link
Contributor

@black3r black3r commented Apr 28, 2024

See #1917

As #1921 seems a bit stuck, I decided to pursue the same issue, but with smaller PRs.

We don't really need container networking right now, because the tests run directly on the runner and not inside a container, and while it's nice to have, we can deal with that in a separate PR. Same goes for switching the SOLR port from the custom 9001 back to standard 8983.

This does just one thing - configures the SOLR properly under GH actions, so that the tests run. Also, unlike #1921, I did the configuration in a separate shell script, so that it can be also used for local testing with docker, for example with running solr with docker run -it --rm -p 9001:8983 solr:6 and then running the same script locally...

@cclauss
Copy link
Contributor

cclauss commented Apr 28, 2024

super().__init__(**kwargs)

Change to super().__init__(search_help_text="@cclauss, @black3r FIX ME!!!", **kwargs)

https://docs.djangoproject.com/en/5.0/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_help_text

@black3r
Copy link
Contributor Author

black3r commented Apr 28, 2024

replaced by #1960

@black3r black3r closed this Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy