Skip to content

Commit

Permalink
[scripts]: Move Redis installation from build to test (#37)
Browse files Browse the repository at this point in the history
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
  • Loading branch information
Shuotian Cheng authored Jun 14, 2019
1 parent f3a13a4 commit b051100
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/common/sonic-swss-common-build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
# Install SWIG
sudo dpkg -i buildimage/target/debs/stretch/swig3.0_*.deb

# Install Redis
sudo dpkg -i buildimage/target/debs/stretch/redis-tools_*.deb
sudo dpkg -i buildimage/target/debs/stretch/redis-server_*.deb

# Install HIREDIS
sudo dpkg -i buildimage/target/debs/stretch/libhiredis*.deb

Expand Down
3 changes: 3 additions & 0 deletions scripts/common/sonic-swss-common-build/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash -x

# Install Redis
sudo dpkg -i buildimage/target/debs/stretch/redis-tools_*.deb
sudo dpkg -i buildimage/target/debs/stretch/redis-server_*.deb
sudo sed -i 's/notify-keyspace-events ""/notify-keyspace-events AKE/' /etc/redis/redis.conf
sudo service redis-server start

Expand Down

0 comments on commit b051100

Please sign in to comment.