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

Allow Solr commands to be defined via .lando.yml #48

Merged
merged 6 commits into from
Sep 20, 2023

Conversation

CGoodwin90
Copy link
Contributor

Allows Solr commands to be defined via .lando.yml & updates docker depenencies.

@netlify
Copy link

netlify bot commented Aug 24, 2023

👷 Deploy request for lando-lagoon pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 20719e0

Copy link
Collaborator

@tobybellwood tobybellwood left a comment

Choose a reason for hiding this comment

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

We should also include a solr service (maybe not the drupal one - but a simple solr-8 with the correct CMD in the .lando.yml - and a test to check the mycore is there?

https://github.com/uselagoon/lagoon-images/blob/main/images/solr/8.Dockerfile#L78

services/lagoon-solr/builder.js Show resolved Hide resolved
.github/workflows/pr-all-services.yml Outdated Show resolved Hide resolved
docs/config.md Outdated Show resolved Hide resolved
@CGoodwin90 CGoodwin90 marked this pull request as ready for review September 4, 2023 02:15
@tobybellwood
Copy link
Collaborator

This looks good to me - @pirog or @reynoldsalec - ok for you?

@@ -32,10 +32,6 @@ jobs:
run: yarn install --prefer-offline --frozen-lockfile

# This block should eventually become use lando/actions-hyperdrive@v2
- name: Verify Docker dependencies
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Would be curious why this needs to get removed.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Github upgrades the version of Docker in their runners more frequently these days, but not all runners update at the same time. At the time of testing some were 23 and some 24 so failing tests.

* [Varnish](https://docs.lagoon.sh/lagoon/docker-images/varnish)

Note that we are testing against the "Drupal" variants of the above but it's _possible_ the base services work as well.

*Please note: if using [uselagoon/solr-8-drupal](https://github.com/uselagoon/lagoon-images/blob/main/images/solr-drupal/8.Dockerfile) you will need to add the following command to your `Solr` service in your `.lando.yml` file. Alternate Solr images are supported and may require different commands, this is just one example.
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Do you guys have documentation on what precreate commands are necessary for different lagoon solr images?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Mostly just this one, but if customers create their own cores, etc it can differ further.

@reynoldsalec reynoldsalec merged commit 5b0e88c into lando:main Sep 20, 2023
7 checks passed
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.

3 participants