-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add elasticsearch support to tugboat. (#413)
* Add elasticsearch support to tugboat. --------- Co-authored-by: Andrew Berry <[email protected]> Co-authored-by: Sally Young <[email protected]>
- Loading branch information
1 parent
874fe6f
commit 4ca15cc
Showing
6 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,12 +28,17 @@ jobs: | |
git-email: [email protected] | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
|
||
# Lock in versions so tests know what to expect. | ||
# Redis tag v1.2.0 == 6-bullseye | ||
# Elasticsearch tag v0.3.2 == 7.17.14 | ||
- name: Setup Project | ||
run: | | ||
ddev config --auto | ||
ddev config --php-version "8.1" | ||
ddev config --nodejs-version "18" | ||
ddev config --database=mariadb:10.4 | ||
ddev get ddev/ddev-redis --version v1.2.0 | ||
ddev get ddev/ddev-elasticsearch --version v0.3.2 | ||
ddev start | ||
ddev composer config extra.drupal-scaffold.gitignore true | ||
ddev composer config --json extra.drupal-scaffold.allowed-packages \[\"lullabot/drainpipe\"] | ||
|
@@ -49,13 +54,13 @@ jobs: | |
# preview - they should be the same. | ||
- name: Test Generated Files | ||
run: | | ||
cmp -b drainpipe/.tugboat/config.yml .tugboat/config.yml | ||
diff -up drainpipe/.tugboat/config.yml .tugboat/config.yml | ||
sed -i '/#drainpipe-start/,/#drainpipe-end/d' drainpipe/.tugboat/steps/1-init.sh | ||
sed -i '/#drainpipe-start/,/#drainpipe-end/d' drainpipe/.tugboat/steps/2-update.sh | ||
sed -i '/#drainpipe-start/,/#drainpipe-end/d' drainpipe/.tugboat/steps/3-build.sh | ||
cmp -b drainpipe/.tugboat/steps/1-init.sh .tugboat/steps/1-init.sh | ||
cmp -b drainpipe/.tugboat/steps/2-update.sh .tugboat/steps/2-update.sh | ||
cmp -b drainpipe/.tugboat/steps/3-build.sh .tugboat/steps/3-build.sh | ||
diff -up drainpipe/.tugboat/steps/1-init.sh .tugboat/steps/1-init.sh | ||
diff -up drainpipe/.tugboat/steps/2-update.sh .tugboat/steps/2-update.sh | ||
diff -up drainpipe/.tugboat/steps/3-build.sh .tugboat/steps/3-build.sh | ||
- name: Add a build:tugboat step | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters