Skip to content

Commit

Permalink
Merge branch 'main' into yiming/jni-reuse-bidi-stream-handle
Browse files Browse the repository at this point in the history
  • Loading branch information
wenym1 committed Oct 31, 2023
2 parents 7042a94 + f18e73e commit 7dd40b7
Show file tree
Hide file tree
Showing 181 changed files with 2,303 additions and 1,289 deletions.
66 changes: 50 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,3 @@ tokio-retry = { git = "https://github.com/madsim-rs/rust-tokio-retry.git", rev =
tokio-postgres = { git = "https://github.com/madsim-rs/rust-postgres.git", rev = "ac00d88" }
# patch: unlimit 4MB message size for grpc client
etcd-client = { git = "https://github.com/risingwavelabs/etcd-client.git", rev = "4e84d40" }

# Patch for coverage_attribute.
# https://github.com/sgodwincs/dlv-list-rs/pull/19#issuecomment-1774786289
dlv-list = { git = "https://github.com/sgodwincs/dlv-list-rs.git", rev = "5bbc5d0" }
ordered-multimap = { git = "https://github.com/risingwavelabs/ordered-multimap-rs.git", rev = "19c743f" }
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
>
<img alt="Slack" src="https://badgen.net/badge/Slack/Join%20RisingWave/0abd59?icon=slack" />
</a>
<a
href="https://hub.docker.com/r/risingwavelabs/risingwave"
target="_blank"
>
<img alt="Docker" src="https://img.shields.io/docker/v/risingwavelabs/risingwave" />
</a>
<a
href="https://buildkite.com/risingwavelabs/main"
target="_blank"
Expand All @@ -56,7 +62,7 @@
RisingWave is a distributed SQL streaming database that enables <b>cost-efficient</b> and <b>reliable</b> processing of streaming data.

![RisingWave](https://github.com/risingwavelabs/risingwave-docs/blob/0f7e1302b22493ba3c1c48e78810750ce9a5ff42/docs/images/archi_simple.png)
![RisingWave](https://github.com/risingwavelabs/risingwave-docs/blob/main/docs/images/new_archi_grey.png)

## Try it out in 5 minutes
**Mac**
Expand All @@ -71,6 +77,10 @@ wget https://github.com/risingwavelabs/risingwave/releases/download/v1.3.0/risin
tar xvf risingwave-v1.3.0-x86_64-unknown-linux.tar.gz
./risingwave playground
```
**Docker**
```
docker run -it --pull=always -p 4566:4566 -p 5691:5691 risingwavelabs/risingwave:latest playground
```
Now connect to RisingWave using `psql`:
```
psql -h localhost -p 4566 -d dev -U root
Expand Down
8 changes: 3 additions & 5 deletions ci/scripts/integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,11 @@ cd integration_tests/scripts

echo "--- case: ${case}, format: ${format}"

if [ -z "${RW_IMAGE_VERSION-}" ]; then
export RW_IMAGE_VERSION=latest
fi
if [ "${BUILDKITE_SOURCE}" == "schedule" ]; then
export RW_IMAGE_VERSION="nightly-$(date '+%Y%m%d')"
# Use ghcr nightly image for scheduled build. If not specified, we use dockerhub's 'risingwavelabs/risingwave'.
export RW_IMAGE="ghcr.io/risingwavelabs/risingwave:nightly-$(date '+%Y%m%d')"
echo Docker image: $RW_IMAGE
fi
echo Docker image version: $RW_IMAGE_VERSION

echo "--- rewrite docker compose for protobuf"
if [ "${format}" == "protobuf" ]; then
Expand Down
13 changes: 10 additions & 3 deletions ci/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,15 @@ fi

echo "--- Build connector node"
cd ${REPO_ROOT}/java && mvn -B package -Dmaven.test.skip=true -Dno-build-rust
cd ${REPO_ROOT} && mv ${REPO_ROOT}/java/connector-node/assembly/target/risingwave-connector-1.0.0.tar.gz risingwave-connector-"${BUILDKITE_TAG}".tar.gz

if [[ -n "${BUILDKITE_TAG}" ]]; then
echo "--- Collect all release assets"
cd ${REPO_ROOT} && mkdir release-assets && cd release-assets
cp -r ${REPO_ROOT}/target/release/* .
mv ${REPO_ROOT}/java/connector-node/assembly/target/risingwave-connector-1.0.0.tar.gz risingwave-connector-"${BUILDKITE_TAG}".tar.gz
tar -zxvf risingwave-connector-"${BUILDKITE_TAG}".tar.gz libs
ls -l

echo "--- Install gh cli"
yum install -y dnf
dnf install -y 'dnf-command(config-manager)'
Expand All @@ -90,8 +96,9 @@ if [[ -n "${BUILDKITE_TAG}" ]]; then
tar -czvf risectl-"${BUILDKITE_TAG}"-x86_64-unknown-linux.tar.gz risectl
gh release upload "${BUILDKITE_TAG}" risectl-"${BUILDKITE_TAG}"-x86_64-unknown-linux.tar.gz

echo "--- Release build and upload risingwave connector node jar asset"
gh release upload "${BUILDKITE_TAG}" risingwave-connector-"${BUILDKITE_TAG}".tar.gz
echo "--- Release upload risingwave-all-in-one asset"
tar -czvf risingwave-"${BUILDKITE_TAG}"-x86_64-unknown-linux-all-in-one.tar.gz risingwave libs
gh release upload "${BUILDKITE_TAG}" risingwave-"${BUILDKITE_TAG}"-x86_64-unknown-linux-all-in-one.tar.gz
fi


Expand Down
Loading

0 comments on commit 7dd40b7

Please sign in to comment.