From 4da5ef3f400cffe984abee7f9ddccfc7e3ae7600 Mon Sep 17 00:00:00 2001 From: BohuTANG Date: Mon, 6 Nov 2023 19:53:19 +0800 Subject: [PATCH] chore: remove workflow related to docs/website (#13603) --- .gitattributes | 3 +-- .github/CODEOWNERS | 8 -------- .github/actions/check/action.yml | 4 ---- .github/codecov.yml | 2 -- .github/crowdin.yml | 15 --------------- .github/workflows/dev.yml | 2 -- .github/workflows/i18n.yml | 23 ----------------------- .github/workflows/production.yml | 2 -- Makefile | 3 --- licenserc.toml | 2 -- 10 files changed, 1 insertion(+), 63 deletions(-) delete mode 100644 .github/crowdin.yml delete mode 100644 .github/workflows/i18n.yml diff --git a/.gitattributes b/.gitattributes index 3b177f3cb6053..90b39dce9e8df 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,2 @@ docker/** -text -scripts/** -text -website/databend/** -text +scripts/** -text \ No newline at end of file diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2ca401a8c4507..e1dc5b2643abe 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -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 diff --git a/.github/actions/check/action.yml b/.github/actions/check/action.yml index 2570acbd585fe..9d65612d0fd31 100644 --- a/.github/actions/check/action.yml +++ b/.github/actions/check/action.yml @@ -28,10 +28,6 @@ runs: shell: bash run: cargo fmt --all -- --check - - name: Check typos - shell: bash - run: typos --exclude docs --exclude website - - name: Check unused deps shell: bash run: cargo machete diff --git a/.github/codecov.yml b/.github/codecov.yml index 8965c61050d7a..5a82483d01fbf 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -3,11 +3,9 @@ ignore: - .cargo/* - .github/* - docker/* - - docs/* - scripts/* - tests/* - tools/* - - website/* coverage: precision: 0 diff --git a/.github/crowdin.yml b/.github/crowdin.yml deleted file mode 100644 index bee1e4b6e5c41..0000000000000 --- a/.github/crowdin.yml +++ /dev/null @@ -1,15 +0,0 @@ -project_id: "2" -api_token_env: CROWDIN_PERSONAL_TOKEN -preserve_hierarchy: true -base_url: "https://databend.crowdin.com" -base_path: "../" -export_only_approved: true - -# See docs from https://docusaurus.io/docs/i18n/crowdin -files: - # JSON translation files - - source: /website/i18n/en-US/**/* - translation: /website/i18n/%locale%/**/%original_file_name% - # Docs Markdown files - - source: /docs/doc/**/* - translation: /website/i18n/%locale%/docusaurus-plugin-content-docs/current/**/%original_file_name% diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 97ec49408ef49..d3311258d533d 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -29,8 +29,6 @@ jobs: with: files_ignore: | .github/** - docs/** - website/** **.md benchmark/** docker/** diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.yml deleted file mode 100644 index 6804c27c30f6b..0000000000000 --- a/.github/workflows/i18n.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Crowdin Action - -on: - push: - branches: [main] - -jobs: - synchronize-with-crowdin: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: crowdin action - uses: crowdin/github-action@v1 - with: - config: ".github/crowdin.yml" - upload_sources: true - # Delete obsolete files and folders from Crowdin project - upload_sources_args: "--delete-obsolete" - env: - CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index c33303649e656..191dce2d55e0f 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -5,8 +5,6 @@ on: branches: - main paths-ignore: - - "docs/**" - - "website/**" - "**.md" - "scripts/setup/**" - ".devcontainer/**" diff --git a/Makefile b/Makefile index e92a8cedd4f86..d570a882d862e 100644 --- a/Makefile +++ b/Makefile @@ -105,9 +105,6 @@ test: unit-test stateless-test sqllogic-test metactl-test profile: bash ./scripts/ci/ci-run-profile.sh -docs: - bash ./scripts/build/build-website.sh - clean: cargo clean rm -f ./nohup.out ./tests/suites/0_stateless/*.stdout-e diff --git a/licenserc.toml b/licenserc.toml index 0d247aaeecf4b..db55b34309976 100644 --- a/licenserc.toml +++ b/licenserc.toml @@ -5,8 +5,6 @@ headerPath = "Apache-2.0.txt" excludes = [ "scripts", "docker", - "docs", - "website", "tests", "tools", "benchmark",