Skip to content

Commit 2b14429

Browse files
authored
feat: release v1.6.1 (#155)
1 parent 5347a42 commit 2b14429

File tree

2 files changed

+41
-4
lines changed

2 files changed

+41
-4
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ jobs:
4343
go-version: "1.15"
4444

4545
- name: get dependencies
46-
run: sudo apt install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl luarocks
46+
run: sudo apt install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl
47+
48+
- name: Install Lua
49+
uses: leafo/gh-actions-lua@v8
50+
51+
- name: Install Luarocks
52+
uses: leafo/gh-actions-luarocks@v4
4753

4854
- name: install
4955
run: |
@@ -54,9 +60,9 @@ jobs:
5460
chmod +x build-apisix-openresty.sh
5561
OR_PREFIX=$OPENRESTY_PREFIX ./build-apisix-openresty.sh latest
5662
57-
sudo luarocks make rockspec/lua-resty-etcd-master-0.1-0.rockspec
58-
sudo luarocks install luacheck > build.log 2>&1 || (cat build.log && exit 1)
59-
sudo luarocks install dkjson > build.log 2>&1 || (cat build.log && exit 1)
63+
luarocks make rockspec/lua-resty-etcd-master-0.1-0.rockspec
64+
luarocks install luacheck > build.log 2>&1 || (cat build.log && exit 1)
65+
luarocks install dkjson > build.log 2>&1 || (cat build.log && exit 1)
6066
make utils
6167
wget https://github.com/etcd-io/etcd/releases/download/v$ETCD_VER/etcd-v$ETCD_VER-linux-amd64.tar.gz
6268
tar xf etcd-v$ETCD_VER-linux-amd64.tar.gz
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
package = "lua-resty-etcd"
2+
version = "1.6.1-0"
3+
source = {
4+
url = "git://github.com/api7/lua-resty-etcd",
5+
tag = "v1.6.1"
6+
}
7+
8+
description = {
9+
summary = "Nonblocking Lua etcd driver library for OpenResty",
10+
homepage = "https://github.com/api7/lua-resty-etcd",
11+
license = "Apache License 2.0"
12+
}
13+
14+
dependencies = {
15+
"api7-lua-resty-http = 0.2.0",
16+
"lua-typeof = 0.1"
17+
}
18+
19+
build = {
20+
type = "builtin",
21+
modules = {
22+
["resty.etcd"] = "lib/resty/etcd.lua",
23+
["resty.etcd.v2"] = "lib/resty/etcd/v2.lua",
24+
["resty.etcd.v3"] = "lib/resty/etcd/v3.lua",
25+
["resty.etcd.utils"] = "lib/resty/etcd/utils.lua",
26+
["resty.etcd.serializers.json"] = "lib/resty/etcd/serializers/json.lua",
27+
["resty.etcd.serializers.raw"] = "lib/resty/etcd/serializers/raw.lua",
28+
["resty.etcd.health_check"] = "lib/resty/etcd/health_check.lua",
29+
}
30+
}
31+

0 commit comments

Comments
 (0)