Skip to content

Commit

Permalink
Merge branch 'main' into test-opendal
Browse files Browse the repository at this point in the history
  • Loading branch information
Xuanwo authored Nov 6, 2023
2 parents 29e77a0 + db6728a commit f8480b0
Show file tree
Hide file tree
Showing 1,723 changed files with 10,436 additions and 76,822 deletions.
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
docker/** -text
scripts/** -text
website/databend/** -text
scripts/** -text
8 changes: 0 additions & 8 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,7 @@
/src/common/http/ @datafuselabs/databend-api-reviewer
/src/query/service/src/servers/ @datafuselabs/databend-api-reviewer

# Website
/website/ @datafuselabs/databend-document-reviewer
/docs/ @datafuselabs/databend-document-reviewer

# Tool
/docker/ @datafuselabs/databend-tool-reviewer
/scripts/ @datafuselabs/databend-tool-reviewer
/.github/ @datafuselabs/databend-tool-reviewer

# Docs

**/*.md @soyeric128
2 changes: 1 addition & 1 deletion .github/actions/check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:

- name: Check typos
shell: bash
run: typos --exclude docs --exclude website
run: typos

- name: Check unused deps
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup_bendsql/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
if bendsql -V; then
exit 0
fi
curl --retry 3 -Lo /tmp/bendsql.deb https://github.com/datafuselabs/bendsql/releases/download/v0.9.4/bendsql_0.9.4_amd64.deb
curl --retry 5 -Lo /tmp/bendsql.deb https://github.com/datafuselabs/bendsql/releases/download/v0.9.5/bendsql_0.9.5_amd64.deb
sudo dpkg -i /tmp/bendsql.deb
bendsql --version
- name: Download and Install for macOS
Expand All @@ -20,7 +20,7 @@ runs:
if bendsql -V; then
exit 0
fi
curl --retry 3 -Lo /tmp/bendsql.tar.gz https://github.com/datafuselabs/bendsql/releases/download/v0.9.4/bendsql-x86_64-apple-darwin.tar.gz
curl --retry 5 -Lo /tmp/bendsql.tar.gz https://github.com/datafuselabs/bendsql/releases/download/v0.9.5/bendsql-x86_64-apple-darwin.tar.gz
tar -xzf /tmp/bendsql.tar.gz -C /tmp
mv /tmp/bendsql /usr/local/bin/bendsql
bendsql --version
102 changes: 0 additions & 102 deletions .github/backup/backport.yml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/backup/dev-macos.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ ignore:
- .cargo/*
- .github/*
- docker/*
- docs/*
- scripts/*
- tests/*
- tools/*
- website/*

coverage:
precision: 0
Expand Down
15 changes: 0 additions & 15 deletions .github/crowdin.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:
with:
files_ignore: |
.github/**
docs/**
website/**
**.md
benchmark/**
docker/**
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/i18n.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches:
- main
paths-ignore:
- "docs/**"
- "website/**"
- "**.md"
- "scripts/setup/**"
- ".devcontainer/**"
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@ jobs:
run: |
echo "Create a release for ${{ steps.generated-tag.outputs.tag }}"
gh release create ${{ steps.generated-tag.outputs.tag }} --generate-notes -p
changelog:
runs-on: ubuntu-latest
needs: create_release
steps:
- name: Checkout Docs
uses: actions/checkout@v4
with:
repository: datafuselabs/databend-docs
ref: main
- name: Get date
shell: bash
run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
Expand All @@ -91,20 +101,20 @@ jobs:
GH_TOKEN: ${{ github.token }}
run: |
mkdir -p docs/release-notes
gh release view ${{ steps.generated-tag.outputs.tag }} > docs/release-notes/${{ env.DATE }}_${{ steps.generated-tag.outputs.tag }}.md
git add docs/release-notes
gh release view ${{ needs.create_release.outputs.version }} > docs/release-notes/${{ env.DATE }}_${{ needs.create_release.outputs.version }}.md
git add docs/release-notes/
git status
- uses: peter-evans/create-pull-request@v4
with:
token: ${{ github.token }}
token: ${{ secrets.DATABEND_BOT_TOKEN }}
title: "chore(docs): Update Release Notes - ${{ env.DATE }}"
base: main
commit-message: "chore(docs): Update Release Notes - ${{ env.DATE }}"
branch-suffix: random
delete-branch: true

macos:
runs-on: macos-11
runs-on: macos-latest
needs: create_release
env:
RUNNER_PROVIDER: github
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/reuse.macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
build:
name: build_macos_${{ matrix.arch }}
runs-on: macos-11
runs-on: macos-latest
strategy:
matrix:
arch:
Expand All @@ -32,22 +32,22 @@ jobs:
target: ${{ matrix.arch }}-apple-darwin

test_stateless_standalone_macos:
runs-on: macos-11
runs-on: macos-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_stateless_standalone_macos

test_stateless_cluster_macos:
runs-on: macos-11
runs-on: macos-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test_stateless_cluster_macos
timeout-minutes: 30

sqllogic_standalone_macos:
runs-on: macos-11
runs-on: macos-latest
needs: build
strategy:
matrix:
Expand Down
Loading

0 comments on commit f8480b0

Please sign in to comment.