Skip to content

Commit 195e64d

Browse files
committed
fix(cloudbeaver): build error miss jar
1 parent b307e02 commit 195e64d

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,31 @@
66
# Implement build function
77
function build() {
88
# ref : https://github.com/dbeaver/cloudbeaver/wiki/Build-and-deploy
9+
# git tag --sorted=-creatordate --merged remotes/origin/release_23_2_5
910
cd /opt/drycc/
1011
. init-stack
12+
JAVA_VERSION=17.0.9
1113
NODE_VERSION=16.20.1
12-
DBEAVER_VERSION=23.2.5
13-
install-packages openjdk-17-jdk maven gnupg gnupg2 git
14+
DBEAVER_VERSION=23.2.5 #CLOUD_VERSION 23.1.4
15+
install-stack java ${JAVA_VERSION}
16+
install-packages maven gnupg gnupg2 git
1417
java --version && mvn --version
1518
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
1619
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
1720
curl -sL https://deb.nodesource.com/setup_14.x | bash -
1821
install-packages yarn
1922
yarn --version
20-
install-stack node $NODE_VERSION
21-
export PATH=$PATH:/opt/drycc/node/bin
22-
git clone https://github.com/dbeaver/dbeaver.git && cd dbeaver && git checkout $DBEAVER_VERSION
23+
install-stack node ${NODE_VERSION}
24+
export PATH=${PATH}:/opt/drycc/node/bin
25+
git clone https://github.com/dbeaver/dbeaver.git
26+
cd dbeaver
27+
git checkout $DBEAVER_VERSION
2328
cd ..
24-
git clone https://github.com/dbeaver/cloudbeaver.git && cd cloudbeaver/ && git checkout $STACK_VERSION
25-
cd deploy && cp -r cloudbeaver ${DATA_DIR}
29+
git clone https://github.com/dbeaver/cloudbeaver.git
30+
cd cloudbeaver
31+
git checkout ${STACK_VERSION}
32+
cd deploy && ./build.sh && cp -r cloudbeaver ${DATA_DIR}
33+
2634
}
2735
# call build stack
2836
build-stack "${1}"

0 commit comments

Comments
 (0)