File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66# Implement build function
77function 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
2836build-stack " ${1} "
You can’t perform that action at this time.
0 commit comments