forked from risingwavelabs/risingwave
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(test): test opendal fs engine on main cron with large dataset (r…
- Loading branch information
Showing
3 changed files
with
75 additions
and
2 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,56 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
source ci/scripts/common.env.sh | ||
|
||
while getopts 'p:s:' opt; do | ||
case ${opt} in | ||
p ) | ||
profile=$OPTARG | ||
;; | ||
s ) | ||
script=$OPTARG | ||
;; | ||
\? ) | ||
echo "Invalid Option: -$OPTARG" 1>&2 | ||
exit 1 | ||
;; | ||
: ) | ||
echo "Invalid option: $OPTARG requires an argument" 1>&2 | ||
;; | ||
esac | ||
done | ||
shift $((OPTIND -1)) | ||
|
||
|
||
|
||
echo "--- Download artifacts" | ||
mkdir -p target/debug | ||
buildkite-agent artifact download risingwave-"$profile" target/debug/ | ||
buildkite-agent artifact download risedev-dev-"$profile" target/debug/ | ||
|
||
mv target/debug/risingwave-"$profile" target/debug/risingwave | ||
mv target/debug/risedev-dev-"$profile" target/debug/risedev-dev | ||
|
||
echo "--- Adjust permission" | ||
chmod +x ./target/debug/risingwave | ||
chmod +x ./target/debug/risedev-dev | ||
|
||
echo "--- Generate RiseDev CI config" | ||
cp ci/risedev-components.ci.env risedev-components.user.env | ||
|
||
echo "--- Prepare RiseDev dev cluster" | ||
cargo make pre-start-dev | ||
cargo make link-all-in-one-binaries | ||
|
||
echo "--- starting risingwave cluster with connector node" | ||
cargo make ci-start ci-3cn-3fe-opendal-fs-backend | ||
|
||
echo "--- Run test" | ||
python3 -m pip install minio psycopg2-binary | ||
python3 e2e_test/s3/$script.py | ||
|
||
echo "--- Kill cluster" | ||
rm -rf /tmp/rw_ci | ||
cargo make ci-kill |
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
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