mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-25 09:34:18 +08:00
* fix: try to fix make docker container.sh * fix: specify correct docker build scripts folder * fix: validate branch to valid docker tag name * feat: combined workflows * feat: add readable names for github actions * feat: add docker pull command comment * fix: comment publishing comment with docker instructions * feat: improve build & test performance * feat: add option to skip cache * fix: flush cache * fix: flush cache * feat: merge tests and build steps * fix: github action outputs keys * feat: add lint job * feat: change file to trigger lint * fix: omit webapp path * fix: trigger lint * fix: continue on linting errors * feat: add publishing container to github docker registry * feat: add lint status * chore: re-trigger-lint * feat: add java checkstyle * fix: java linting * fix: github token * fix: update jave checkstyle action * chore: simplify frontend lint action * chore: remove changed java files * feat: revert lint trigger frontend * feat: add docker credentials helper * fix: remove credentials warning * fix: tests and clean command * CB-5228 feat: run frontend tests for every build * fix: clean tasks * feat: update cli tools
30 lines
507 B
Bash
Executable File
30 lines
507 B
Bash
Executable File
#!/bin/bash
|
|
set -Eeuo pipefail
|
|
|
|
echo "Build static content"
|
|
|
|
cd ../../cloudbeaver/webapp
|
|
|
|
yarn
|
|
cd ./packages/product-default
|
|
yarn run bundle
|
|
|
|
if [[ "$?" -ne 0 ]] ; then
|
|
echo 'Application build failed'; exit $rc
|
|
fi
|
|
|
|
cd ../../
|
|
yarn test
|
|
|
|
if [[ "$?" -ne 0 ]] ; then
|
|
echo 'Frontend tests failed'; exit $rc
|
|
fi
|
|
|
|
cd ../deploy
|
|
|
|
echo "Copy static content"
|
|
|
|
cp -rp ../webapp/packages/product-default/lib/* cloudbeaver/web
|
|
|
|
echo "Cloudbeaver is ready. Run run-server.sh in cloudbeaver folder to start the server."
|