forked from metabase/metabase
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
138d42e
commit b555644
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
set -eox pipefail | ||
|
||
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
echo "Init test run id" | ||
export RECORD_REPLAY_METADATA_TEST_RUN_ID=$(npx uuid) | ||
|
||
echo "Install yarn" | ||
sudo npm i -g yarn | ||
|
||
echo "Yarn install" | ||
yarn install --frozen-lockfile --prefer-offline | ||
|
||
echo "Install Java" | ||
which java > /dev/null || (curl -O https://download.java.net/java/GA/jdk20.0.1/b4887098932d415489976708ad6d1a4b/9/GPL/openjdk-20.0.1_linux-x64_bin.tar.gz && tar xf openjdk-20.0.1_linux-x64_bin.tar.gz) | ||
|
||
echo "Install Clojure" | ||
which bash > /dev/null || (curl -O https://download.clojure.org/install/linux-install-1.11.1.1262.sh && sudo bash ./linux-install-1.11.1.1262.sh) | ||
|
||
echo "Build uberjar with ./bin/build.sh" | ||
$SCRIPT_DIR/../bin/build.sh | ||
|
||
# echo "Running cypress tests" | ||
CYPRESS_REPLAYIO_ENABLED=1 yarn test-cypress-run --browser replay-chromium | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
steps: | ||
- label: "Get Crash Reports from Session IDs" | ||
command: "./scripts/buildkite_get_crash_reports.sh" |