Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/backend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
java-version: "21"
cache: maven

- uses: dbeaver/github-actions/install-maven@devel

- name: Run build script
run: ./build-backend.sh
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-pr-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@

jobs:
build-server:
uses: dbeaver/dbeaver-common/.github/workflows/mvn-package.yml@devel
uses: dbeaver/dbeaver-common/.github/workflows/mvn-package.yml@dbeaver/dbeaver-devops#2370-mvnw
name: Check
secrets: inherit
with:
mvn-args: -Dplain-api-server -Dheadless-platform
project-directory: ./cloudbeaver/server/product/aggregate
project-deps: ./cloudbeaver/project.deps
timeout-minutes: 5

# build-server:
# name: Server
# uses: ./.github/workflows/backend-build.yml
# secrets: inherit

build-frontend:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
name: Frontend
uses: ./.github/workflows/frontend-build.yml
secrets: inherit
Expand Down
9 changes: 6 additions & 3 deletions deploy/build-backend.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#!/bin/bash
#!/usr/bin/env bash

set -Eeo pipefail
set +u

echo "Clone and build Cloudbeaver"

script_dir="$(realpath "$(dirname "$0")")"

rm -rf ./drivers
rm -rf ./cloudbeaver
mkdir ./cloudbeaver
Expand All @@ -26,7 +29,7 @@ cd cloudbeaver/deploy
echo "Build CloudBeaver server"

cd ../server/product/aggregate
mvn clean verify $MAVEN_COMMON_OPTS -Dheadless-platform
"$script_dir/../../dbeaver-common/mvnw" clean verify "${MAVEN_COMMON_OPTS--T1C}" -Dheadless-platform
if [[ "$?" -ne 0 ]] ; then
echo 'Could not perform package'; exit $rc
fi
Expand All @@ -42,4 +45,4 @@ cp -rp ../config/core/* cloudbeaver/conf
cp -rp ../config/GlobalConfiguration/.dbeaver/data-sources.json cloudbeaver/conf/initial-data-sources.conf
mv drivers cloudbeaver

echo "End of backend build"
echo "End of backend build"
Loading