Skip to content

Commit 9fff2e5

Browse files
committed
feat(stacks): add redis-cluster-proxy
1 parent ce97d2c commit 9fff2e5

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

scripts/checker.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,12 @@
211211
"owner": "redis",
212212
"match": "^[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}$",
213213
},
214+
"redis-cluster-proxy": {
215+
"name": "redis-cluster-proxy",
216+
"type": "github",
217+
"owner": "drycc-addons",
218+
"match": "^v[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}$",
219+
},
214220
"registry": {
215221
"name": "distribution",
216222
"type": "github",
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
# Load stack utils
4+
. /usr/bin/stack-utils
5+
6+
# Implement build function
7+
function build() {
8+
generate-stack-path
9+
BIN_DIR="${DATA_DIR}"/bin
10+
mkdir -p "${BIN_DIR}"
11+
curl -fsSL -o "${BIN_DIR}"/"${STACK_NAME}" https://github.com/drycc-addons/redis-cluster-proxy/releases/download/v"${STACK_VERSION}"/"${STACK_NAME}"-linux."${OS_ARCH}"
12+
chmod +x "${BIN_DIR}"/"${STACK_NAME}"
13+
}
14+
15+
# call build stack
16+
build-stack "${1}"

0 commit comments

Comments
 (0)