starsz commented on a change in pull request #133:
URL: https://github.com/apache/apisix-docker/pull/133#discussion_r580815925



##########
File path: .github/workflows/apisix-alpine-docker-test.yaml
##########
@@ -0,0 +1,31 @@
+name: APISIX Alpine docker Test
+
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    branches:
+      - master
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+
+      - name: Build and run
+        run: |
+          docker build -t apisix:alpine -f ./alpine/Dockerfile .
+          docker-compose -f ./alpine/docker-compose.yaml up -d
+          sleep 30
+          docker logs docker_apisix_1
+
+      - name: Test
+        run: |
+          curl http://127.0.0.1:9080/apisix/admin/schema/service -H 
'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1'
+          code=$(curl -k -i -m 20 -o /dev/null -s -w %{http_code} 
http://127.0.0.1:9080/apisix/admin/schema/service -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1')
+          if [ ! $code -eq 200 ]; then

Review comment:
       How is it going?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to