spacewander commented on a change in pull request #3521:
URL: https://github.com/apache/apisix/pull/3521#discussion_r570209849
##########
File path: .github/workflows/release-test.yml
##########
@@ -0,0 +1,126 @@
+name: Release-test
+on: [pull_request]
+# use pull request for test, will change to push before merge
+ #push:
+ # branches:
+ # - '*'
+ # - '!master'
+
+jobs:
+ build:
+ strategy:
+ fail-fast: false
+ matrix:
+ platform:
+ - ubuntu-18.04
+ os_name:
+ - linux_openresty
+ - linux_openresty_1_17
+ - linux_openresty_1_15
+ - linux_tengine
+ - linux_apisix_master_luarocks
+ - linux_apisix_current_luarocks
+ - linux_openresty_mtls
+
+ runs-on: ${{ matrix.platform }}
+ env:
+ SERVER_NAME: ${{ matrix.os_name }}
+ OPENRESTY_VERSION: default
+
+
+ services:
+ etcd:
+ image: bitnami/etcd:3.4.0
+ ports:
+ - 2379:2379
+ - 2380:2380
+ env:
+ ALLOW_NONE_AUTHENTICATION: yes
+ ETCD_ADVERTISE_CLIENT_URLS: http://0.0.0.0:2379
+
+ old_etcd:
Review comment:
Maybe we can add a new step in the build.yml, and remove the `apisix` in
git repo, replace `./bin/apisix` with `/usr/bin/apisix`? So thev remain don't
need to be changed.
##########
File path: .github/workflows/release-test.yml
##########
@@ -0,0 +1,126 @@
+name: Release-test
+on: [pull_request]
+# use pull request for test, will change to push before merge
+ #push:
+ # branches:
+ # - '*'
+ # - '!master'
+
+jobs:
+ build:
+ strategy:
+ fail-fast: false
+ matrix:
+ platform:
+ - ubuntu-18.04
+ os_name:
+ - linux_openresty
+ - linux_openresty_1_17
+ - linux_openresty_1_15
+ - linux_tengine
+ - linux_apisix_master_luarocks
+ - linux_apisix_current_luarocks
+ - linux_openresty_mtls
+
+ runs-on: ${{ matrix.platform }}
+ env:
+ SERVER_NAME: ${{ matrix.os_name }}
+ OPENRESTY_VERSION: default
+
+
+ services:
+ etcd:
+ image: bitnami/etcd:3.4.0
+ ports:
+ - 2379:2379
+ - 2380:2380
+ env:
+ ALLOW_NONE_AUTHENTICATION: yes
+ ETCD_ADVERTISE_CLIENT_URLS: http://0.0.0.0:2379
+
+ old_etcd:
Review comment:
Maybe we can add a new step in the build.yml, and remove the `apisix` in
git repo, replace `./bin/apisix` with `/usr/bin/apisix`? So the remain don't
need to be changed.
----------------------------------------------------------------
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:
[email protected]