Skip to content

Commit b69fc4b

Browse files
committed
fix(cloudbeaver): fix build conflict
1 parent 0d1b0b9 commit b69fc4b

1 file changed

Lines changed: 3 additions & 26 deletions

File tree

stacks/cloudbeaver/build.sh

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,51 +6,28 @@
66
# Implement build function
77
function build() {
88
# ref : https://github.com/dbeaver/cloudbeaver/wiki/Build-and-deploy
9-
<<<<<<< HEAD
10-
# git tag --sorted=-creatordate --merged remotes/origin/release_23_2_5
119
cd /opt/drycc/
1210
. init-stack
1311
JAVA_VERSION=17.0.9
1412
NODE_VERSION=16.20.1
15-
DBEAVER_VERSION=23.2.5 #CLOUD_VERSION 23.1.4
1613
install-stack java ${JAVA_VERSION}
1714
install-packages maven gnupg gnupg2 git
18-
=======
19-
cd /opt/drycc/
20-
. init-stack
21-
NODE_VERSION=16.20.1
22-
DBEAVER_VERSION=23.2.5
23-
install-packages openjdk-17-jdk maven gnupg gnupg2 git
24-
>>>>>>> a5bb8f1c00ad06e2e19aaba2b69d797d6da12229
2515
java --version && mvn --version
2616
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
2717
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
2818
curl -sL https://deb.nodesource.com/setup_14.x | bash -
2919
install-packages yarn
3020
yarn --version
31-
<<<<<<< HEAD
3221
install-stack node ${NODE_VERSION}
3322
export PATH=${PATH}:/opt/drycc/node/bin
3423
git clone https://github.com/dbeaver/dbeaver.git
3524
cd dbeaver
36-
git checkout $DBEAVER_VERSION
25+
git checkout -b release_${STACK_VERSION} --track origin/release_${STACK_VERSION}
3726
cd ..
3827
git clone https://github.com/dbeaver/cloudbeaver.git
3928
cd cloudbeaver
40-
git checkout ${STACK_VERSION}
29+
git checkout -b release_${STACK_VERSION} --track origin/release_${STACK_VERSION}
4130
cd deploy && ./build.sh && cp -r cloudbeaver ${DATA_DIR}
42-
43-
}
44-
# call build stack
45-
build-stack "${1}"
46-
=======
47-
install-stack node $NODE_VERSION
48-
export PATH=$PATH:/opt/drycc/node/bin
49-
git clone https://github.com/dbeaver/dbeaver.git && cd dbeaver && git checkout $DBEAVER_VERSION
50-
cd ..
51-
git clone https://github.com/dbeaver/cloudbeaver.git && cd cloudbeaver/ && git checkout $STACK_VERSION
52-
cd deploy && sh build.sh && cp -r cloudbeaver ${DATA_DIR}
5331
}
5432
# call build stack
55-
build-stack "${1}"
56-
>>>>>>> a5bb8f1c00ad06e2e19aaba2b69d797d6da12229
33+
build-stack "${1}"

0 commit comments

Comments
 (0)