Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1956 from GabyCT/topic/fixredis
Browse files Browse the repository at this point in the history
ci: Setup and install redis on SLES 12 SP4
  • Loading branch information
GabyCT authored Sep 12, 2019
2 parents 043b699 + c0295be commit 132a600
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .ci/setup_env_sles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ declare -A packages=( \
[haveged]="haveged" \
[gnu_parallel]="gnu_parallel" \
[libsystemd]="systemd-devel" \
[redis]="redis" \
)

main()
Expand Down Expand Up @@ -76,6 +75,12 @@ main()
chronic sudo -E easy_install pip
chronic sudo -E pip install yamllint

echo "Add redis repo and install redis"
redis_repo="https://download.opensuse.org/repositories/server:database/SLE_${VERSION//-/_}/server:database.repo"
chronic sudo -E zypper addrepo --no-gpgcheck ${redis_repo}
chronic sudo -E zypper refresh
chronic sudo -E zypper -n install redis

[ "$setup_type" = "minimal" ] && exit 0

echo "Install Build Tools"
Expand Down

0 comments on commit 132a600

Please sign in to comment.