File tree 4 files changed +8
-7
lines changed
4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ export SCCACHE_REGION=us-east-2
10
10
export SCCACHE_IDLE_TIMEOUT=0
11
11
export CARGO_INCREMENTAL=0
12
12
export CARGO_MAKE_PRINT_TIME_SUMMARY=true
13
+ export MINIO_DOWNLOAD_BIN=https://ci-deps-dist.s3.amazonaws.com/minio
14
+ export MCLI_DOWNLOAD_BIN=https://ci-deps-dist.s3.amazonaws.com/mc
15
+ export GCLOUD_DOWNLOAD_TGZ=https://ci-deps-dist.s3.amazonaws.com/google-cloud-cli-406.0.0-linux-x86_64.tar.gz
13
16
unset LANG
14
17
if [ -n " ${BUILDKITE_COMMIT:- } " ]; then
15
18
export GIT_SHA=$BUILDKITE_COMMIT
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ sleep 1
41
41
# prepare minio iceberg sink
42
42
echo " --- preparing iceberg"
43
43
.risingwave/bin/mcli -C .risingwave/config/mcli mb hummock-minio/iceberg
44
- wget https://iceberg- ci-spark -dist.s3.amazonaws.com/spark-3.3.1-bin-hadoop3.tgz
44
+ wget https://ci-deps -dist.s3.amazonaws.com/spark-3.3.1-bin-hadoop3.tgz
45
45
tar -xf spark-3.3.1-bin-hadoop3.tgz --no-same-owner
46
46
DEPENDENCIES=org.apache.iceberg:iceberg-spark-runtime-3.3_2.12:1.0.0,org.apache.hadoop:hadoop-aws:3.3.2
47
47
spark-3.3.1-bin-hadoop3/bin/spark-sql --packages $DEPENDENCIES \
Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ extend = "common.toml"
2
2
3
3
[env ]
4
4
GCLOUD_DOWNLOAD_PATH = " ${PREFIX_TMP}/gcloud.tgz"
5
- GCLOUD_VERSION = " 406.0.0"
6
- GCLOUD_RELEASE = " google-cloud-cli-${GCLOUD_VERSION}-linux-x86_64.tar.gz"
7
- GCLOUD_DOWNLOAD_TGZ = " https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/${GCLOUD_RELEASE}"
5
+ GCLOUD_DOWNLOAD_TGZ = { value = " https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-406.0.0-linux-x86_64.tar.gz" , condition = { env_not_set = [ " GCLOUD_DOWNLOAD_TGZ" ] } }
8
6
GCLOUD_SDK_DIR = " google-cloud-sdk"
9
7
10
8
[tasks .download-pubsub ]
19
17
if [ -d "${PREFIX_BIN}/gcloud" ]; then
20
18
exit 0
21
19
fi
22
- echo "gcloud not found, download ${GCLOUD_RELEASE} "
20
+ echo "gcloud not found, downloading "
23
21
curl -fL -o "${GCLOUD_DOWNLOAD_PATH}" "${GCLOUD_DOWNLOAD_TGZ}"
24
22
tar -xf "${GCLOUD_DOWNLOAD_PATH}" -C "${PREFIX_TMP}"
25
23
echo "install the pubsub-emulator"
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ extend = "common.toml"
2
2
3
3
[env ]
4
4
MINIO_SYSTEM = " ${SYSTEM}"
5
- MCLI_DOWNLOAD_BIN = " https://dl.min.io/client/mc/release/${MINIO_SYSTEM}/mc"
6
- MINIO_DOWNLOAD_BIN = " https://dl.min.io/server/minio/release/${MINIO_SYSTEM}/minio"
5
+ MCLI_DOWNLOAD_BIN = { value = " https://dl.min.io/client/mc/release/${MINIO_SYSTEM}/mc" , condition = { env_not_set = [ " MCLI_DOWNLOAD_BIN " ] } }
6
+ MINIO_DOWNLOAD_BIN = { value = " https://dl.min.io/server/minio/release/${MINIO_SYSTEM}/minio" , condition = { env_not_set = [ " MINIO_DOWNLOAD_BIN " ] } }
7
7
8
8
[tasks .download-minio ]
9
9
private = true
You can’t perform that action at this time.
0 commit comments