Skip to content

Commit fa856f1

Browse files
authored
Merge branch 'main' into bz/tonic-0-12
2 parents 5c36d92 + 2844ad2 commit fa856f1

5 files changed

+9
-11
lines changed

ci/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ENV LANG en_US.utf8
1111
# Use AWS ubuntu mirror
1212
RUN sed -i 's|http://archive.ubuntu.com/ubuntu|http://us-east-2.ec2.archive.ubuntu.com/ubuntu/|g' /etc/apt/sources.list
1313
RUN apt-get update -yy && \
14-
DEBIAN_FRONTEND=noninteractive apt-get -y install sudo make build-essential cmake protobuf-compiler curl parallel python3 python3-pip python3-venv software-properties-common \
14+
DEBIAN_FRONTEND=noninteractive apt-get -y install sudo make build-essential cmake protobuf-compiler curl parallel python3 python3-pip python3-venv software-properties-common psmisc \
1515
openssl libssl-dev libsasl2-dev libcurl4-openssl-dev pkg-config bash openjdk-17-jdk wget unzip git tmux lld postgresql-client kcat netcat-openbsd mysql-client \
1616
maven zstd libzstd-dev locales \
1717
python3.12 python3.12-dev \

ci/build-ci-image.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cat ../rust-toolchain
1010
# shellcheck disable=SC2155
1111

1212
# REMEMBER TO ALSO UPDATE ci/docker-compose.yml
13-
export BUILD_ENV_VERSION=v20240731
13+
export BUILD_ENV_VERSION=v20240812
1414

1515
export BUILD_TAG="public.ecr.aws/w1p7b4n3/rw-build-env:${BUILD_ENV_VERSION}"
1616

ci/docker-compose.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ services:
7171
retries: 5
7272

7373
source-test-env:
74-
image: public.ecr.aws/w1p7b4n3/rw-build-env:v20240731
74+
image: public.ecr.aws/w1p7b4n3/rw-build-env:v20240812
7575
depends_on:
7676
- mysql
7777
- sqlserver-server
@@ -85,7 +85,7 @@ services:
8585
- ..:/risingwave
8686

8787
sink-test-env:
88-
image: public.ecr.aws/w1p7b4n3/rw-build-env:v20240731
88+
image: public.ecr.aws/w1p7b4n3/rw-build-env:v20240812
8989
depends_on:
9090
- mysql
9191
- db
@@ -108,12 +108,12 @@ services:
108108

109109

110110
rw-build-env:
111-
image: public.ecr.aws/w1p7b4n3/rw-build-env:v20240731
111+
image: public.ecr.aws/w1p7b4n3/rw-build-env:v20240812
112112
volumes:
113113
- ..:/risingwave
114114

115115
ci-flamegraph-env:
116-
image: public.ecr.aws/w1p7b4n3/rw-build-env:v20240731
116+
image: public.ecr.aws/w1p7b4n3/rw-build-env:v20240812
117117
# NOTE(kwannoel): This is used in order to permit
118118
# syscalls for `nperf` (perf_event_open),
119119
# so it can do CPU profiling.
@@ -124,7 +124,7 @@ services:
124124
- ..:/risingwave
125125

126126
regress-test-env:
127-
image: public.ecr.aws/w1p7b4n3/rw-build-env:v20240731
127+
image: public.ecr.aws/w1p7b4n3/rw-build-env:v20240812
128128
depends_on:
129129
db:
130130
condition: service_healthy

ci/scripts/single-node-utils.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ start_single_node() {
1919
}
2020

2121
stop_single_node() {
22-
pkill risingwave
22+
killall --wait risingwave
2323
rm -rf "$HOME/.risingwave/state_store"
2424
rm -rf "$HOME/.risingwave/meta_store"
2525
}
@@ -47,7 +47,6 @@ wait_single_node() {
4747

4848
restart_single_node() {
4949
stop_single_node
50-
sleep 5
5150
start_single_node "$PREFIX_LOG"/single-node-restarted.log &
5251
wait_single_node
5352
}

ci/scripts/standalone-utils.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ start_standalone() {
7575
}
7676

7777
stop_standalone() {
78-
pkill standalone
78+
killall --wait standalone
7979
}
8080

8181
wait_standalone() {
@@ -101,7 +101,6 @@ wait_standalone() {
101101

102102
restart_standalone() {
103103
stop_standalone
104-
sleep 5
105104
start_standalone "$PREFIX_LOG"/standalone-restarted.log &
106105
wait_standalone
107106
}

0 commit comments

Comments
 (0)