This is an automated email from the ASF dual-hosted git repository.
zqr10159 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
The following commit(s) were added to refs/heads/master by this push:
new 35cc62b844 [fix] Fix some issues related to ci (#4135)
35cc62b844 is described below
commit 35cc62b844b390174ab66f44d64412adf0f74e08
Author: Duansg <[email protected]>
AuthorDate: Wed May 6 15:11:35 2026 +0800
[fix] Fix some issues related to ci (#4135)
---
.github/workflows/doc-build-test.yml | 10 +++++++--
.markdownlint-cli2.jsonc | 8 +++++++-
.../src/test/resources/vector.yml | 24 +++++++++++-----------
home/package.json | 2 +-
4 files changed, 28 insertions(+), 16 deletions(-)
diff --git a/.github/workflows/doc-build-test.yml
b/.github/workflows/doc-build-test.yml
index b1a417d07c..0a72aed0e2 100644
--- a/.github/workflows/doc-build-test.yml
+++ b/.github/workflows/doc-build-test.yml
@@ -53,7 +53,12 @@ jobs:
- name: Check Markdown
uses:
DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101
with:
- globs: './home/**/*.md'
+ globs: |
+ ./home/README.md
+ ./home/blog/**/*.md
+ ./home/docs/**/*.md
+ ./home/i18n/zh-cn/docusaurus-plugin-content-blog/**/*.md
+ ./home/i18n/zh-cn/docusaurus-plugin-content-docs/current/**/*.md
- name: Check filenames
run: python ./script/ci/docs/check_file_name.py
./script/ci/docs/check_file_name.json
@@ -61,7 +66,8 @@ jobs:
- name: Dead Link Check
run: |
sudo npm install -g [email protected]
- find ./home -name "*.md" > all_md_files.txt
+ find ./home/docs ./home/blog
./home/i18n/zh-cn/docusaurus-plugin-content-docs/current
./home/i18n/zh-cn/docusaurus-plugin-content-blog -name "*.md" > all_md_files.txt
+ printf '%s\n' ./home/README.md >> all_md_files.txt
grep -vFf ./script/ci/exclude_files.txt all_md_files.txt >
to_check.txt
xargs -P 8 -a to_check.txt -I{} markdown-link-check -c
./script/ci/link_check.json -q "{}"
diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc
index f5019af976..c7e562ec4a 100644
--- a/.markdownlint-cli2.jsonc
+++ b/.markdownlint-cli2.jsonc
@@ -15,7 +15,13 @@
// limitations under the License.
//
{
- "globs": ["home/**/*.md"],
+ "globs": [
+ "home/README.md",
+ "home/blog/**/*.md",
+ "home/docs/**/*.md",
+ "home/i18n/zh-cn/docusaurus-plugin-content-blog/**/*.md",
+ "home/i18n/zh-cn/docusaurus-plugin-content-docs/current/**/*.md"
+ ],
"config": {
"default": true,
"MD001": true,
diff --git a/hertzbeat-e2e/hertzbeat-log-e2e/src/test/resources/vector.yml
b/hertzbeat-e2e/hertzbeat-log-e2e/src/test/resources/vector.yml
index d0add7ed93..e83dc10f67 100644
--- a/hertzbeat-e2e/hertzbeat-log-e2e/src/test/resources/vector.yml
+++ b/hertzbeat-e2e/hertzbeat-log-e2e/src/test/resources/vector.yml
@@ -108,19 +108,19 @@ sinks:
codec: json
framing:
method: newline_delimited
- headers:
- content-type: application/json
auth:
strategy: basic
user: admin
password: hertzbeat
- # Increase timeout and retry settings for stability in CI environments
- request:
- timeout_secs: 60
- retry_attempts: 10
- retry_initial_backoff_secs: 2
- retry_max_duration_secs: 120
- # Batch settings for better throughput
- batch:
- max_bytes: 524288
- timeout_secs: 5
+ # Increase timeout and retry settings for stability in CI environments
+ request:
+ headers:
+ content-type: application/json
+ timeout_secs: 60
+ retry_attempts: 10
+ retry_initial_backoff_secs: 2
+ retry_max_duration_secs: 120
+ # Batch settings for better throughput
+ batch:
+ max_bytes: 524288
+ timeout_secs: 5
diff --git a/home/package.json b/home/package.json
index baa37f25dd..358ee16bcf 100644
--- a/home/package.json
+++ b/home/package.json
@@ -14,7 +14,7 @@
"clear": "docusaurus clear",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
- "md-lint": "markdownlint-cli2 --config ../.markdownlint-cli2.jsonc
\"./**/*.md\" \"#node_modules\"",
+ "md-lint": "markdownlint-cli2 --config ../.markdownlint-cli2.jsonc
\"README.md\" \"blog/**/*.md\" \"docs/**/*.md\"
\"i18n/zh-cn/docusaurus-plugin-content-blog/**/*.md\"
\"i18n/zh-cn/docusaurus-plugin-content-docs/current/**/*.md\"
\"#node_modules\"",
"md-lint-fix": "pnpm md-lint --fix",
"github-avatar": "node github-avatar.js"
},
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]