File tree 3 files changed +75
-2
lines changed 3 files changed +75
-2
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -euo pipefail
4
+
5
+ source ci/scripts/common.env.sh
6
+
7
+ while getopts ' p:s:' opt; do
8
+ case ${opt} in
9
+ p )
10
+ profile=$OPTARG
11
+ ;;
12
+ s )
13
+ script=$OPTARG
14
+ ;;
15
+ \? )
16
+ echo " Invalid Option: -$OPTARG " 1>&2
17
+ exit 1
18
+ ;;
19
+ : )
20
+ echo " Invalid option: $OPTARG requires an argument" 1>&2
21
+ ;;
22
+ esac
23
+ done
24
+ shift $(( OPTIND - 1 ))
25
+
26
+
27
+
28
+ echo " --- Download artifacts"
29
+ mkdir -p target/debug
30
+ buildkite-agent artifact download risingwave-" $profile " target/debug/
31
+ buildkite-agent artifact download risedev-dev-" $profile " target/debug/
32
+
33
+ mv target/debug/risingwave-" $profile " target/debug/risingwave
34
+ mv target/debug/risedev-dev-" $profile " target/debug/risedev-dev
35
+
36
+ echo " --- Adjust permission"
37
+ chmod +x ./target/debug/risingwave
38
+ chmod +x ./target/debug/risedev-dev
39
+
40
+ echo " --- Generate RiseDev CI config"
41
+ cp ci/risedev-components.ci.env risedev-components.user.env
42
+
43
+ echo " --- Prepare RiseDev dev cluster"
44
+ cargo make pre-start-dev
45
+ cargo make link-all-in-one-binaries
46
+
47
+ echo " --- starting risingwave cluster with connector node"
48
+ cargo make ci-start ci-3cn-3fe-opendal-fs-backend
49
+
50
+ echo " --- Run test"
51
+ python3 -m pip install minio psycopg2-binary
52
+ python3 e2e_test/s3/$script .py
53
+
54
+ echo " --- Kill cluster"
55
+ rm -rf /tmp/rw_ci
56
+ cargo make ci-kill
Original file line number Diff line number Diff line change @@ -215,6 +215,7 @@ steps:
215
215
- S3_SOURCE_TEST_CONF
216
216
timeout_in_minutes : 20
217
217
retry : *auto-retry
218
+
218
219
- label : " S3 source check on AWS (csv parser)"
219
220
command : " ci/scripts/s3-source-test.sh -p ci-release -s run_csv"
220
221
depends_on : build
@@ -229,4 +230,20 @@ steps:
229
230
environment :
230
231
- S3_SOURCE_TEST_CONF
231
232
timeout_in_minutes : 20
233
+ retry : *auto-retry
234
+
235
+ - label : " S3 source on OpenDAL fs engine"
236
+ command : " ci/scripts/s3-source-test-for-opendal-fs-engine.sh -p ci-release -s run"
237
+ depends_on : build
238
+ plugins :
239
+ - seek-oss/aws-sm#v2.3.1:
240
+ env :
241
+ S3_SOURCE_TEST_CONF : ci_s3_source_test_aws
242
+ - docker-compose#v4.9.0:
243
+ run : rw-build-env
244
+ config : ci/docker-compose.yml
245
+ mount-buildkite-agent : true
246
+ environment :
247
+ - S3_SOURCE_TEST_CONF
248
+ timeout_in_minutes : 20
232
249
retry : *auto-retry
Original file line number Diff line number Diff line change @@ -502,8 +502,8 @@ profile:
502
502
ci-3cn-3fe-opendal-fs-backend :
503
503
config-path : src/config/ci.toml
504
504
steps :
505
- # - use: etcd
506
- # unsafe-no-fsync: true
505
+ - use : etcd
506
+ unsafe-no-fsync : true
507
507
- use : meta-node
508
508
- use : opendal
509
509
engine : fs
You can’t perform that action at this time.
0 commit comments