This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 45e909a ci: pass again (#3141)
45e909a is described below
commit 45e909a0b122b8cda5a75e95adcfaf62378f7a30
Author: 罗泽轩 <[email protected]>
AuthorDate: Mon Dec 28 11:21:16 2020 +0800
ci: pass again (#3141)
Previously CI is failed because of some policy change of Apache
Foundation.
Signed-off-by: spacewander <[email protected]>
---
.github/workflows/build.yml | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f0b2a41..fba8558 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -60,14 +60,15 @@ jobs:
- name: Install Redis Cluster
if: matrix.os_name == 'linux_openresty' || matrix.os_name ==
'linux_openresty_1_17'
- uses: vishnudxb/[email protected]
- 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'