This is an automated email from the ASF dual-hosted git repository.

soulbird pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new 69930e3  chore: sync APISIX use 9180 as default port of admin API 
(#345)
69930e3 is described below

commit 69930e3e4a3bc9f34c51ae6cf3b025cb96dc3806
Author: soulbird <[email protected]>
AuthorDate: Fri Sep 2 14:37:02 2022 +0800

    chore: sync APISIX use 9180 as default port of admin API (#345)
    
    * chore: sync APISIX use 9180 as default port of admin API
    
    Co-authored-by: soulbird <[email protected]>
---
 ...docker-test.yaml => apisix-docker-dev-test.yaml} | 21 ++++++++++-----------
 .github/workflows/apisix-docker-test.yaml           |  1 -
 compose/docker-compose.yaml                         |  1 +
 3 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/apisix-docker-test.yaml 
b/.github/workflows/apisix-docker-dev-test.yaml
similarity index 83%
copy from .github/workflows/apisix-docker-test.yaml
copy to .github/workflows/apisix-docker-dev-test.yaml
index a183fbb..0358382 100644
--- a/.github/workflows/apisix-docker-test.yaml
+++ b/.github/workflows/apisix-docker-dev-test.yaml
@@ -1,12 +1,13 @@
-name: APISIX Docker Test
+name: APISIX Docker dev Test
 
 on:
+  schedule:
+    - cron: "0 1 * * *"
   push:
-    branches:
-      - master
-  pull_request:
-    branches:
-      - master
+    branches: [master]
+    paths-ignore:
+      - 'docs/**'
+      - '**/*.md'
 
 jobs:
   build:
@@ -14,14 +15,12 @@ jobs:
       fail-fast: false
       matrix:
         platform:
-          - alpine
-          - centos
-          - debian
           - debian-dev
 
     runs-on: ubuntu-latest
     env:
-      APISIX_DOCKER_TAG: 2.15.0-${{ matrix.platform }}
+      APISIX_VERSION: master
+      APISIX_DOCKER_TAG: master-${{ matrix.platform }}
     steps:
       - uses: actions/checkout@v2
 
@@ -36,7 +35,7 @@ jobs:
         run: |
           grep -C 3 '\[error\]' example/apisix_log/error.log && exit 1
 
-          curl http://127.0.0.1:9080/apisix/admin/routes/1 \
+          curl http://127.0.0.1:9180/apisix/admin/routes/1 \
           -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
             {
             "uri": "/get",
diff --git a/.github/workflows/apisix-docker-test.yaml 
b/.github/workflows/apisix-docker-test.yaml
index a183fbb..7ed687a 100644
--- a/.github/workflows/apisix-docker-test.yaml
+++ b/.github/workflows/apisix-docker-test.yaml
@@ -17,7 +17,6 @@ jobs:
           - alpine
           - centos
           - debian
-          - debian-dev
 
     runs-on: ubuntu-latest
     env:
diff --git a/compose/docker-compose.yaml b/compose/docker-compose.yaml
index 0753dd3..6f62c38 100644
--- a/compose/docker-compose.yaml
+++ b/compose/docker-compose.yaml
@@ -27,6 +27,7 @@ services:
     depends_on:
       - etcd
     ports:
+      - "9180:9180/tcp"
       - "9080:9080/tcp"
       - "9091:9091/tcp"
       - "9443:9443/tcp"

Reply via email to