You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ch...@apache.org on 2021/02/05 01:28:17 UTC

[apisix-dashboard] branch master updated: fix: docker build failed in backend e2e test CI (#1433)

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 9824b5f  fix: docker build failed in backend e2e test CI (#1433)
9824b5f is described below

commit 9824b5f60121f7274c41a93aacff0cc80dec0fa2
Author: nic-chen <33...@users.noreply.github.com>
AuthorDate: Fri Feb 5 09:28:09 2021 +0800

    fix: docker build failed in backend e2e test CI (#1433)
---
 .github/workflows/backend-e2e-test.yml | 5 +++++
 api/test/docker/docker-compose.yaml    | 8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/backend-e2e-test.yml b/.github/workflows/backend-e2e-test.yml
index a305f87..ade3194 100644
--- a/.github/workflows/backend-e2e-test.yml
+++ b/.github/workflows/backend-e2e-test.yml
@@ -27,6 +27,11 @@ jobs:
           sed -i '/172.16.238.10:2379/a\      - 172.16.238.11:2379' ./api/conf/conf.yaml
           sed -i '/172.16.238.10:2379/a\      - 172.16.238.12:2379' ./api/conf/conf.yaml
 
+      - name: download file Dockerfile-apisix
+        working-directory: ./api/test/docker
+        run: |
+          curl -o Dockerfile-apisix https://raw.githubusercontent.com/apache/apisix-docker/master/alpine/Dockerfile
+
       - name: run docker compose
         working-directory: ./api/test/docker
         run: |
diff --git a/api/test/docker/docker-compose.yaml b/api/test/docker/docker-compose.yaml
index 8b6f4ff..c1a28d5 100644
--- a/api/test/docker/docker-compose.yaml
+++ b/api/test/docker/docker-compose.yaml
@@ -128,8 +128,8 @@ services:
   apisix:
     hostname: apisix_server1
     build:
-      context: https://github.com/apache/apisix-docker.git#master:alpine-dev/
-      dockerfile: Dockerfile
+      context: ../../
+      dockerfile: test/docker/Dockerfile-apisix
       args:
         - APISIX_VERSION=master
     restart: always
@@ -153,8 +153,8 @@ services:
   apisix2:
     hostname: apisix_server2
     build:
-      context: https://github.com/apache/apisix-docker.git#master:alpine-dev/
-      dockerfile: Dockerfile
+      context: ../../
+      dockerfile: test/docker/Dockerfile-apisix
       args:
         - APISIX_VERSION=master
     restart: always