This is an automated email from the ASF dual-hosted git repository.
chenjunxu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new e6be67f fix CI failed due to IP restrictions (#1439)
e6be67f is described below
commit e6be67f23a218c00c0f46d1593da2456f3107516
Author: nic-chen <[email protected]>
AuthorDate: Fri Feb 5 21:48:15 2021 +0800
fix CI failed due to IP restrictions (#1439)
---
.github/workflows/deploy-with-docker.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/deploy-with-docker.yml
b/.github/workflows/deploy-with-docker.yml
index 0213764..697e719 100644
--- a/.github/workflows/deploy-with-docker.yml
+++ b/.github/workflows/deploy-with-docker.yml
@@ -26,10 +26,11 @@ jobs:
run: |
docker build -t dashboard:ci . --build-arg
APISIX_DASHBOARD_VERSION=master
- - name: Modify ETCD IP
+ - name: Modify Config
run: |
sed -i 's/127.0.0.1:2379/172.16.238.10:2379/' api/conf/conf.yaml
sed -i 's/host: 127.0.0.1/host: 0.0.0.0/' api/conf/conf.yaml
+ sed -i '[email protected]/[email protected]/0@' ./api/conf/conf.yaml
- name: Run Docker Compose
working-directory: ./api/test/docker-deploy