Skip to content

Commit 2b546e8

Browse files
authored
chore(stacks): add lakefs (#2054)
* feat(stacks): add pgweb * fix(checher): delete repmgr * chore(stacks): add cloudbeaver * chore(stacks): delete pgweb * chore(stacks): add cloudbeaver * fix(cloudbeaver): build error miss jar * fix(cloudbeaver): fix build conflict * chore(cloudbeaver): delete no used jdk * chore(stacks): add cloudbeaver * chore(stacks) add airflow_exporer * chore(stacks) add mongodb and mongosh * chore(stacks) delete airflow_exporter * chore(stacks) delete airflow_exporter checker * chore(stacks): add mongodb and mongosh * feat(stacks): add pgweb * fix(checher): delete repmgr * chore(stacks): add cloudbeaver * chore(stacks): delete pgweb * chore(stacks): add cloudbeaver * fix(cloudbeaver): build error miss jar * fix(cloudbeaver): fix build conflict * chore(cloudbeaver): delete no used jdk * chore(stacks): add cloudbeaver * chore(stacks) add airflow_exporer * chore(stacks) add mongodb and mongosh * chore(stacks) delete airflow_exporter * chore(stacks) delete airflow_exporter checker * chore(mongodb): modify the compilation method in arm environment * megre(mongodb) * chore(stacks): add clickhouse * chore(postgresql): add extension pgvector * chore(stacks) add nessie * chore(stacks): add lakefs --------- Co-authored-by: zhangeamon <EamonZhang>
1 parent 3d99beb commit 2b546e8

2 files changed

Lines changed: 33 additions & 0 deletions

File tree

scripts/checker.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,12 @@
446446
"owner": "projectnessie",
447447
"match": "^nessie-[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}$",
448448
},
449+
"lakefs": {
450+
"name": "lakefs",
451+
"type": "github",
452+
"owner": "treeverse",
453+
"match": "^v[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}$",
454+
},
449455
}
450456

451457

stacks/lakefs/build.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
if [[ ${OS_ARCH} =~ "x86" || ${OS_ARCH} =~ "amd" ]]; then
10+
OS_ARCH="x86_64"
11+
elif [[ ${OS_ARCH} =~ "arm" ]]; then
12+
OS_ARCH="arm64"
13+
fi
14+
15+
BIN_DIR="${DATA_DIR}"/bin
16+
mkdir -p "${BIN_DIR}"
17+
curl -fsSL -o tmp.tar.gz https://github.com/treeverse/lakeFS/releases/download/v${STACK_VERSION}/lakeFS_${STACK_VERSION}_Linux_${OS_ARCH}.tar.gz
18+
tar -xzf tmp.tar.gz
19+
mv lakectl "${BIN_DIR}"/lakectl
20+
mv lakefs "${BIN_DIR}"/lakefs
21+
rm -rf tmp.tar.gz
22+
chmod +x "${BIN_DIR}/lakectl"
23+
chmod +x "${BIN_DIR}/lakefs"
24+
}
25+
26+
# call build stack
27+
build-stack "${1}"

0 commit comments

Comments
 (0)