Skip to content

Commit 6aa0b47

Browse files
committed
Merge branch 'main' of https://github.com/drycc/stacks into main
2 parents e5b6c28 + 0573ae8 commit 6aa0b47

3 files changed

Lines changed: 23 additions & 1 deletion

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",

stacks/grafana/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function build() {
88
generate-stack-path
99
curl -fsSL -o tmp.tar.gz https://dl.grafana.com/oss/release/grafana-${STACK_VERSION}.linux-${OS_ARCH}.tar.gz
1010
tar -xzf tmp.tar.gz
11-
cp -rf grafana-${STACK_VERSION}/* ${DATA_DIR}
11+
cp -rf grafana-v${STACK_VERSION}/* ${DATA_DIR}
1212
rm -rf tmp.tar.gz grafana-${STACK_VERSION}
1313
}
1414

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)