Skip to content

Commit

Permalink
Merge pull request #25 from medienagent-user/master
Browse files Browse the repository at this point in the history
sed on mac needs -e
  • Loading branch information
seebeen authored Oct 25, 2023
2 parents ac81987 + af72ff0 commit e767b43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ project_files:
post_install_actions:
- |
#ddev-description: Change the redis dump filename
#
sed -i "s/REPLACE_ME/${DDEV_SITENAME}/g" redis/snapshots.conf
docker run -e DDEV_SITENAME -v "$(pwd)"/redis:/redis -i --rm ddev/ddev-utilities bash -c "sed -i 's/REPLACE_ME/$DDEV_SITENAME/g' /redis/snapshots.conf"
4 changes: 2 additions & 2 deletions tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ teardown() {
@test "install from release" {
set -eu -o pipefail
cd "$TEST_DIR" || ( printf "unable to cd to "$TEST_DIR"\n" && exit 1 )
echo "# ddev get oblakstudio/ddev-redis with project "$PROJECT" in "$TEST_DIR"" >&3
health_checks "oblakstudio/ddev-redis-7"
echo "# ddev get ddev/ddev-redis with project "$PROJECT" in "$TEST_DIR"" >&3
health_checks "ddev/ddev-redis-7"
}

0 comments on commit e767b43

Please sign in to comment.