Skip to content

Commit

Permalink
Merge branch 'main' into rc/fix-distinct-agg-rule
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Feb 7, 2023
2 parents 10b6ffc + 5ffba37 commit 61292a5
Show file tree
Hide file tree
Showing 121 changed files with 2,528 additions and 1,368 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/protobuf-breaking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ github.token }}
# Run breaking change detection against the `main` branch
- uses: bufbuild/buf-breaking-action@v1
with:
Expand Down
29 changes: 22 additions & 7 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions ci/scripts/common.env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ export PROTOC_NO_VENDOR=true
export CARGO_HOME=/risingwave/.cargo
export RISINGWAVE_CI=true
export RUST_BACKTRACE=1
if [ -n "${BUILDKITE_COMMIT:-}" ]; then
export GIT_SHA=$BUILDKITE_COMMIT
fi
2 changes: 1 addition & 1 deletion ci/scripts/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dockerhubaddr="risingwavelabs/risingwave"
arch="$(uname -m)"

echo "--- docker build and tag"
docker build -f docker/Dockerfile -t "${ghcraddr}:${BUILDKITE_COMMIT}-${arch}" --target risingwave .
docker build -f docker/Dockerfile --build-arg "GIT_SHA=${BUILDKITE_COMMIT}" -t "${ghcraddr}:${BUILDKITE_COMMIT}-${arch}" --target risingwave .

echo "--- check the image can start correctly"
container_id=$(docker run -d "${ghcraddr}:${BUILDKITE_COMMIT}-${arch}" playground)
Expand Down
2 changes: 2 additions & 0 deletions ci/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ steps:
run: rw-build-env
config: ci/docker-compose.yml
mount-buildkite-agent: true
env:
- BUILDKITE_COMMIT
timeout_in_minutes: 20
retry: *auto-retry

Expand Down
157 changes: 87 additions & 70 deletions dashboard/proto/gen/meta.ts

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

19 changes: 18 additions & 1 deletion dashboard/proto/gen/stream_plan.ts

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

3 changes: 3 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ ENV PATH /root/.cargo/bin/:$PATH

ENV IN_CONTAINER=1

ARG GIT_SHA
ENV GIT_SHA=$GIT_SHA

# We need to add the `rustfmt` dependency, otherwise `risingwave_pb` will not compile
RUN rustup self update \
&& rustup set profile minimal \
Expand Down
3 changes: 3 additions & 0 deletions e2e_test/batch/catalog/pg_enum.slt.part
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
query IIIT
SELECT * FROM pg_catalog.pg_enum;
----
4 changes: 2 additions & 2 deletions e2e_test/batch/catalog/version.slt.part
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
query T
SELECT version();
select substring(version() from 1 for 15);
----
PostgreSQL 13.9-RW-0.2.0-alpha
PostgreSQL 13.9
Loading

0 comments on commit 61292a5

Please sign in to comment.