Skip to content

Commit 4dbcf21

Browse files
committed
Use new ddev get command
1 parent 80b1965 commit 4dbcf21

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ defaults:
1818
run:
1919
shell: bash
2020

21+
env:
22+
NIGHTLY_DDEV_PR_URL: "https://nightly.link/drud/ddev/actions/artifacts/146117649.zip"
23+
2124
jobs:
2225
tests:
2326
defaults:
@@ -54,7 +57,7 @@ jobs:
5457
- name: Use ddev PR
5558
if: matrix.ddev_version == 'PR'
5659
run: |
57-
curl -sSL -o ddev_linux.zip https://nightly.link/drud/ddev/actions/artifacts/144791287.zip
60+
curl -sSL -o ddev_linux.zip ${NIGHTLY_DDEV_PR_URL}
5861
unzip ddev_linux.zip
5962
mv ddev /usr/local/bin/ddev && chmod +x /usr/local/bin/ddev
6063

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## What is this?
44

5-
This repository allows you to quickly install Apache Solr for Drupal 9 into a [Ddev](https://ddev.readthedocs.io) project using just `ddev service get drud/ddev-drupal9-solr`.
5+
This repository allows you to quickly install Apache Solr for Drupal 9 into a [Ddev](https://ddev.readthedocs.io) project using just `ddev get drud/ddev-drupal9-solr`.
66

77
## Installation on Drupal 9
88

9-
1.`ddev service get drud/ddev-drupal9-solr && ddev restart`
9+
1.`ddev get drud/ddev-drupal9-solr && ddev restart`
1010
2. You may need to install the relevant Drupal requirements: `ddev composer require drush/drush:* drupal/search_api_solr`
1111
3. Enable the Search API Solr Search Defaults module: `ddev drush en -y search_api_solr_defaults`. (If it can't be enabled due to the "article" content type not existing, you can just create a search_api_solr server manually.)
1212
4. Edit the enabled search_api server named `default_solr_server` at `admin/config/search/search-api/server/default_solr_server/edit`

tests/test.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ teardown() {
2020

2121
@test "basic installation" {
2222
cd ${TESTDIR}
23-
ddev service get ${DIR}
23+
ddev get ${DIR}
2424
ddev restart
2525
status=$(ddev exec 'drush sapi-sl --format=json | jq -r .default_solr_server.status')
2626
[ "${status}" = "enabled" ]

0 commit comments

Comments
 (0)