Repository navigation
[FIX][CI] Replace broken submodule actions with inline helm/kubectl/kind setup in Integration Test - #5513
Open
Alexkun wants to merge 11 commits into
Open
[FIX][CI] Replace broken submodule actions with inline helm/kubectl/kind setup in Integration Test#5513Alexkun wants to merge 11 commits into
Alexkun wants to merge 11 commits into
Conversation
…ind setup in Integration Test The chart-testing-action and kind-action paths are git submodules with SSH URLs that GitHub Actions runners cannot fetch, so the workflow has failed at startup on every run since 2023. Replace them with inline, pinned-version installation of the tools the later steps use: helm v3.14.4, kubectl v1.23.4 (matching the kindest/node:v1.23.4 matrix image) and kind v0.20.0, creating the cluster with the existing KIND_CONFIG_PATH / matrix image / KIND_CLUSTER_NAME inputs.
…ries from .github/actions .github/actions/chart-testing-action and kind-action are git submodules with SSH URLs ([email protected]:helm/...) that GitHub Actions runners cannot fetch (no deploy keys). The Integration Test workflow no longer references these paths; removing the dead gitlink entries eliminates the unresolvable paths from the tree entirely.
Third-party actions outside apache/*, actions/* and github/* are subject to the ASF GitHub Actions policy (SHA-pinning and review). Replace the docker/setup-buildx-action@v1 reference with an inline buildx creation; the runner-provided docker CLI already ships the buildx plugin, so 'docker buildx create --use' is sufficient.
…on (ASF actions policy)
…on (ASF actions policy)
LINKIS_VERSION was hard-coded to 1.8.0 while the project version on master is 1.9.0, so 'docker tag linkis:1.8.0' failed with 'No such image' right after the build produced linkis:1.9.0 images. Derive the version from <revision> in pom.xml, consistent with the snapshot publish workflow.
The whole-repository markdown scan (hundreds of files, up to 10s per link with retries) exceeds the previous 30-minute job timeout; the run was killed before producing any result.
The serial scan over the whole repository did not fit the 60-minute job timeout. Process eight files concurrently.
fallbackRetryDelay was set to 1000 seconds -- each link that triggered a fallback retry stalled its file for ~17 minutes, which (even with 8-way parallelism) blew the 60-minute job timeout. Normalize to a 30s fallback delay and 3 retries; also drop the -q flag from the scan so per-file progress is visible in the logs.
…ink check - '^#' : same-document fragment anchors cannot be validated by markdown-link-check and are always false positives - *.localhost subdomains, badges.toozhao.com, deepwiki.com/apache/linkis and mybatis.org/mybatis-3/zh : placeholder URLs / external sites that block or throttle bot requests Genuinely broken file references (stale paths to moved/deleted files) remain reported so they can be fixed in follow-up doc updates.
Contributor
Author
|
The revived Dead Link Check produced the first full dead-link report for this repository (24 unique entries). Categorization: False positives -- now ignored in dlc.json (this PR):
Real broken references -- kept reported, follow-up doc updates needed (11):
These are stale references to moved/deleted files left behind by past refactors; they should be fixed in follow-up doc updates (separate from this CI-infrastructure PR). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5512
What is the purpose of the change
The Integration Test workflow has never been able to start (29 of the last 30 runs end in
startup_failure):.github/actions/chart-testing-actionand.github/actions/kind-actionare git submodules pointing to SSH URLs ([email protected]:helm/...), which GitHub Actions runners cannot fetch without deploy keys.Brief change log
.github/workflows/integration-test.ymlkindest/node:v1.23.4matrix image), kind v0.20.0KIND_CONFIG_PATH,matrix.kubernetes-version,KIND_CLUSTER_NAME) so the behavior is unchangedChecklist