Skip to content

Commit

Permalink
Merge branch 'main' into include-sst
Browse files Browse the repository at this point in the history
  • Loading branch information
Little-Wallace authored Aug 11, 2023
2 parents 6fe63c9 + cfa7a52 commit 8116342
Show file tree
Hide file tree
Showing 25 changed files with 1,060 additions and 928 deletions.
899 changes: 468 additions & 431 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/ca
RUN cargo binstall -y --no-symlinks cargo-llvm-cov cargo-nextest cargo-hakari cargo-sort cargo-cache cargo-audit \
[email protected] \
&& cargo install sccache --locked \
&& cargo install [email protected].1 --locked \
&& cargo install [email protected].2 --locked \
&& cargo cache -a \
&& rm -rf "/root/.cargo/registry/index" \
&& rm -rf "/root/.cargo/registry/cache" \
Expand Down
2 changes: 1 addition & 1 deletion ci/build-ci-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cat ../rust-toolchain
# !!! CHANGE THIS WHEN YOU WANT TO BUMP CI IMAGE !!! #
# AND ALSO docker-compose.yml #
######################################################
export BUILD_ENV_VERSION=v20230727
export BUILD_ENV_VERSION=v20230810

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

Expand Down
10 changes: 5 additions & 5 deletions ci/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ services:
retries: 5

source-test-env:
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230727
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230810
depends_on:
- mysql
- db
Expand All @@ -80,7 +80,7 @@ services:
- ..:/risingwave

sink-test-env:
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230727
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230810
depends_on:
- mysql
- db
Expand All @@ -89,12 +89,12 @@ services:
- ..:/risingwave

rw-build-env:
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230727
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230810
volumes:
- ..:/risingwave

ci-flamegraph-env:
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230727
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230810
# NOTE(kwannoel): This is used in order to permit
# syscalls for `nperf` (perf_event_open),
# so it can do CPU profiling.
Expand All @@ -105,7 +105,7 @@ services:
- ..:/risingwave

regress-test-env:
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230727
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230810
depends_on:
db:
condition: service_healthy
Expand Down
16 changes: 16 additions & 0 deletions ci/scripts/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,31 @@ scripts/check/check-trailing-spaces.sh
echo "--- Run clippy check (dev, all features)"
cargo clippy --all-targets --all-features --locked -- -D warnings

echo "--- Show sccache stats"
sccache --show-stats
sccache --zero-stats

echo "--- Run clippy check (release)"
cargo clippy --release --all-targets --features "rw-static-link" --locked -- -D warnings

echo "--- Show sccache stats"
sccache --show-stats
sccache --zero-stats

echo "--- Build documentation"
cargo doc --document-private-items --no-deps

echo "--- Show sccache stats"
sccache --show-stats
sccache --zero-stats

echo "--- Run doctest"
cargo test --doc

echo "--- Show sccache stats"
sccache --show-stats
sccache --zero-stats

echo "--- Run audit check"
cargo audit

2 changes: 1 addition & 1 deletion src/batch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ normal = ["workspace-hack"]
anyhow = "1"
assert_matches = "1"
async-recursion = "1"
async-stream = "0.3.4"
async-stream = "0.3.5"
async-trait = "0.1"
either = "1"
futures = { version = "0.3", default-features = false, features = ["alloc"] }
Expand Down
2 changes: 1 addition & 1 deletion src/bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ tokio = { version = "0.2", package = "madsim-tokio", features = [
tokio-stream = "0.1"
toml = "0.7"
tracing = "0.1"
tracing-subscriber = "0.3.16"
tracing-subscriber = "0.3.17"

[target.'cfg(not(madsim))'.dependencies]
workspace-hack = { path = "../workspace-hack" }
Expand Down
3 changes: 2 additions & 1 deletion src/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ either = "1"
enum-as-inner = "0.6"
ethnum = { version = "1", features = ["serde"] }
fixedbitset = { version = "0.4", features = ["std"] }
fs-err = "2"
futures = { version = "0.3", default-features = false, features = ["alloc"] }
hex = "0.4.3"
http = "0.2"
Expand Down Expand Up @@ -93,7 +94,7 @@ toml = "0.7"
tonic = { workspace = true }
tracing = "0.1"
tracing-opentelemetry = "0.20"
tracing-subscriber = "0.3.16"
tracing-subscriber = "0.3.17"
twox-hash = "1"
url = "2"
uuid = "1.4.1"
Expand Down
Loading

0 comments on commit 8116342

Please sign in to comment.