Skip to content

Commit 918174f

Browse files
committed
Merge branch 'main' into yiming/log-store-read-update-vnode
2 parents 995a9ec + 50792cc commit 918174f

File tree

385 files changed

+13123
-3887
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

385 files changed

+13123
-3887
lines changed

.github/workflows/cherry-pick-to-release-branch.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,19 @@ jobs:
2222
env:
2323
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2424

25+
release_pull_request_1_2:
26+
if: "contains(github.event.pull_request.labels.*.name, 'need-cherry-pick-v1.2') && github.event.pull_request.merged == true"
27+
runs-on: ubuntu-latest
28+
name: release_pull_request
29+
steps:
30+
- name: checkout
31+
uses: actions/checkout@v1
32+
- name: Create PR to branch
33+
uses: risingwavelabs/github-action-cherry-pick@master
34+
with:
35+
pr_branch: 'v1.2-rc'
36+
pr_labels: 'cherry-pick'
37+
pr_body: ${{ format('Cherry picking \#{0} onto branch v1.2-rc', github.event.number) }}
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+

.github/workflows/doc.yml

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches:
66
- main
77

8+
env:
9+
SCCACHE_GHA_ENABLED: "true"
10+
RUSTC_WRAPPER: "sccache"
11+
RUSTDOCFLAGS: "--cfg docsrs --markdown-css rust.css --markdown-no-toc --index-page /home/runner/work/risingwave/risingwave/docs/rustdoc/index.md -Zunstable-options"
12+
813
jobs:
914
build:
1015
runs-on: ubuntu-latest
@@ -18,24 +23,32 @@ jobs:
1823
uses: mozilla-actions/[email protected]
1924
with:
2025
version: "v0.5.2"
21-
- name: Docs
26+
- name: build rustdocs
2227
run: |
23-
RUSTDOCFLAGS="--markdown-css rust.css --markdown-no-toc --index-page docs/rustdoc/index.md -Zunstable-options" cargo doc --workspace --no-deps --document-private-items
28+
cargo doc --workspace --no-deps --document-private-items
2429
cp docs/rustdoc/rust.css target/doc/rust.css
25-
env:
26-
SCCACHE_GHA_ENABLED: "true"
27-
RUSTC_WRAPPER: "sccache"
28-
- name: Fix file permissions
29-
shell: sh
30+
31+
mkdir artifact
32+
cp -R target/doc/* artifact
33+
- name: Install cargo-docset
34+
uses: taiki-e/install-action@v2
35+
with:
36+
tool: cargo-docset
37+
- name: build docsets
3038
run: |
31-
chmod -c -R +rX "target/doc" |
32-
while read line; do
33-
echo "::warning title=Invalid file permissions automatically fixed::$line"
34-
done
39+
cargo docset --no-clean --docset-name RisingWave
40+
tar -czf risingwave.docset.tgz target/docset/risingwave.docset
41+
42+
echo "<entry>
43+
<version>$(date -u +%Y-%m-%dT%H:%M:%SZ)</version>
44+
<url>https://risingwavelabs.github.io/risingwave/risingwave.docset.tgz</url>
45+
</entry>" > RisingWave.xml
46+
47+
cp -t artifact "risingwave.docset.tgz" "RisingWave.xml"
3548
- name: Upload artifacts
3649
uses: actions/upload-pages-artifact@v1
3750
with:
38-
path: target/doc
51+
path: artifact
3952

4053
deploy:
4154
needs: build

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Cargo.lock @risingwavelabs/cargo-lock

0 commit comments

Comments
 (0)