Skip to content

Commit

Permalink
ci: pass again (#3141)
Browse files Browse the repository at this point in the history
Previously CI is failed because of some policy change of Apache
Foundation.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
  • Loading branch information
spacewander authored Dec 28, 2020
1 parent 5377751 commit 45e909a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ jobs:

- name: Install Redis Cluster
if: matrix.os_name == 'linux_openresty' || matrix.os_name == 'linux_openresty_1_17'
uses: vishnudxb/redis-cluster@1.0.5
with:
master1-port: 5000
master2-port: 5001
master3-port: 5002
slave1-port: 5003
slave2-port: 5004
slave3-port: 5005
run: |
docker run -d -p ${MASTER1_PORT}:6379 -p ${MASTER2_PORT}:6380 -p ${MASTER3_PORT}:6381 -p ${SLAVE1_PORT}:6382 -p ${SLAVE2_PORT}:6383 -p ${SLAVE3_PORT}:6384 --name redis-cluster vishnunair/docker-redis-cluster:latest
env:
MASTER1_PORT: 5000
MASTER2_PORT: 5001
MASTER3_PORT: 5002
SLAVE1_PORT: 5003
SLAVE2_PORT: 5004
SLAVE3_PORT: 5005

- name: Running Redis Cluster Test
if: matrix.os_name == 'linux_openresty' || matrix.os_name == 'linux_openresty_1_17'
Expand Down

0 comments on commit 45e909a

Please sign in to comment.