From 45e909a0b122b8cda5a75e95adcfaf62378f7a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E6=B3=BD=E8=BD=A9?= Date: Mon, 28 Dec 2020 11:21:16 +0800 Subject: [PATCH] ci: pass again (#3141) Previously CI is failed because of some policy change of Apache Foundation. Signed-off-by: spacewander --- .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 f0b2a41e4656..fba8558658c0 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/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'