From b05322184ff93264eda29cd5fda72a68689ae7c4 Mon Sep 17 00:00:00 2001 From: Maxime Heckel Date: Tue, 7 Jul 2015 12:13:27 +0200 Subject: [PATCH 1/3] remove circle.yml --- circle.yml | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 circle.yml diff --git a/circle.yml b/circle.yml deleted file mode 100644 index b64313f..0000000 --- a/circle.yml +++ /dev/null @@ -1,10 +0,0 @@ -machine: - services: - - docker -dependencies: - override: - - docker build -t redis . -test: - override: - - docker run -d -p 6380:6379 -e REDIS_PASS="mypass" redis; sleep 30 - - redis-cli -a mypass -p 6380 ping | grep PONG From f14cda326ed3b775e28173c05d002e1318630c62 Mon Sep 17 00:00:00 2001 From: "Griffith T. Pickett" Date: Thu, 12 Nov 2015 10:42:52 -0600 Subject: [PATCH 2/3] have sed globally replace _'s with -'s --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index acffbe4..f5595f1 100755 --- a/run.sh +++ b/run.sh @@ -35,7 +35,7 @@ if [ ! -f /.redis_configured ]; then fi for i in $(printenv | grep REDIS_); do - echo $i | sed "s/REDIS_//" | sed "s/_/-/" | sed "s/=/ /" | sed "s/^[^ ]*/\L&\E/" >> /etc/redis/redis_default.conf + echo $i | sed "s/REDIS_//" | sed "s/_/-/g" | sed "s/=/ /" | sed "s/^[^ ]*/\L&\E/" >> /etc/redis/redis_default.conf done echo "=> Using redis.conf:" From cf909391f69a698a53c20235524f69eab78bf2f2 Mon Sep 17 00:00:00 2001 From: "Griffith T. Pickett" Date: Thu, 12 Nov 2015 10:42:52 -0600 Subject: [PATCH 3/3] have sed globally replace _'s with -'s --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index acffbe4..f5595f1 100755 --- a/run.sh +++ b/run.sh @@ -35,7 +35,7 @@ if [ ! -f /.redis_configured ]; then fi for i in $(printenv | grep REDIS_); do - echo $i | sed "s/REDIS_//" | sed "s/_/-/" | sed "s/=/ /" | sed "s/^[^ ]*/\L&\E/" >> /etc/redis/redis_default.conf + echo $i | sed "s/REDIS_//" | sed "s/_/-/g" | sed "s/=/ /" | sed "s/^[^ ]*/\L&\E/" >> /etc/redis/redis_default.conf done echo "=> Using redis.conf:"