diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 64dc2dd..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -.github/workflows/**/* @seebeen diff --git a/docker-compose.redis.yaml b/docker-compose.redis.yaml index 0d1bef5..e3539d8 100644 --- a/docker-compose.redis.yaml +++ b/docker-compose.redis.yaml @@ -17,7 +17,7 @@ services: volume: nocopy: true - ".:/mnt/ddev_config" - - "./redis/conf:/etc/redis/conf" + - "./redis:/etc/redis/conf" command: - redis-server - /etc/redis/conf/redis.conf diff --git a/install.yaml b/install.yaml index 20db840..5c59552 100644 --- a/install.yaml +++ b/install.yaml @@ -7,15 +7,15 @@ project_files: - .redisimageBuild/Dockerfile - commands/redis/redis - commands/redis/redis-flush - - redis/conf/redis.conf - - redis/conf/advanced.conf - - redis/conf/append.conf - - redis/conf/general.conf - - redis/conf/io.conf - - redis/conf/memory.conf - - redis/conf/network.conf - - redis/conf/security.conf - - redis/conf/snapshots.conf + - redis/redis.conf + - redis/advanced.conf + - redis/append.conf + - redis/general.conf + - redis/io.conf + - redis/memory.conf + - redis/network.conf + - redis/security.conf + - redis/snapshots.conf - docker-compose.redis.yaml global_files: @@ -24,4 +24,4 @@ post_install_actions: - | #ddev-description: Change the redis dump filename # - sed -i "s/REPLACE_ME/${DDEV_SITENAME}/g" redis/conf/snapshots.conf + sed -i "s/REPLACE_ME/${DDEV_SITENAME}/g" redis/snapshots.conf diff --git a/redis/conf/advanced.conf b/redis/advanced.conf similarity index 100% rename from redis/conf/advanced.conf rename to redis/advanced.conf diff --git a/redis/conf/append.conf b/redis/append.conf similarity index 100% rename from redis/conf/append.conf rename to redis/append.conf diff --git a/redis/conf/general.conf b/redis/general.conf similarity index 100% rename from redis/conf/general.conf rename to redis/general.conf diff --git a/redis/conf/io.conf b/redis/io.conf similarity index 100% rename from redis/conf/io.conf rename to redis/io.conf diff --git a/redis/conf/memory.conf b/redis/memory.conf similarity index 100% rename from redis/conf/memory.conf rename to redis/memory.conf diff --git a/redis/conf/network.conf b/redis/network.conf similarity index 100% rename from redis/conf/network.conf rename to redis/network.conf diff --git a/redis/conf/redis.conf b/redis/redis.conf similarity index 100% rename from redis/conf/redis.conf rename to redis/redis.conf diff --git a/redis/conf/security.conf b/redis/security.conf similarity index 100% rename from redis/conf/security.conf rename to redis/security.conf diff --git a/redis/conf/snapshots.conf b/redis/snapshots.conf similarity index 100% rename from redis/conf/snapshots.conf rename to redis/snapshots.conf diff --git a/tests/test.bats b/tests/test.bats index 1e0d7b1..7bdfad3 100644 --- a/tests/test.bats +++ b/tests/test.bats @@ -39,7 +39,7 @@ health_checks() { # populate 10000 keys echo '' > keys.txt - for i in {1..10000}; do echo "SET testkey-$i $i" >> keys.txt; done + run bash -c 'for i in {1..10000}; do echo "SET testkey-$i $i" >> keys.txt; done' run bash -c "cat keys.txt | ddev redis --pipe" assert_success assert_line --index 2 "errors: 0, replies: 10000"