forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Doc] Fix the linkcheck CI job (ray-project#41598)
- This PR fixes the linkcheck job by bypassing ci.sh, and using a docker container on the buildkite runner. - This PR also fixes a ton of broken links that were causing linkcheck to fail (even without rate limit issues), mostly by removing links to examples that were deleted. - I also removed the global depends_on in lint.rayci.yml; not all lint jobs require the same environment. Signed-off-by: pdmurray <peynmurray@gmail.com> Signed-off-by: Peyton Murray <peynmurray@gmail.com> Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com>
- Loading branch information
1 parent
284617d
commit bacb0a8
Showing
16 changed files
with
80 additions
and
259 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,93 @@ | ||
group: lint | ||
depends_on: | ||
- forge | ||
steps: | ||
- label: ":lint-roller: lint: clang format" | ||
depends_on: | ||
- forge | ||
commands: | ||
- pip install -c python/requirements_compiled.txt clang-format | ||
- ./ci/lint/check-git-clang-format-output.sh | ||
|
||
- label: ":lint-roller: lint: code format" | ||
depends_on: | ||
- forge | ||
commands: | ||
- pip install -c python/requirements_compiled.txt -r python/requirements/lint-requirements.txt | ||
- FORMAT_SH_PRINT_DIFF=1 ./ci/lint/format.sh --all-scripts | ||
|
||
- label: ":lint-roller: lint: untested code snippet" | ||
depends_on: | ||
- forge | ||
commands: | ||
- pip install -c python/requirements_compiled.txt semgrep | ||
- semgrep ci --config semgrep.yml | ||
|
||
- label: ":lint-roller: lint: banned words" | ||
depends_on: | ||
- forge | ||
commands: | ||
- ./ci/lint/check-banned-words.sh | ||
|
||
- label: ":lint-roller: lint: doc readme" | ||
depends_on: | ||
- forge | ||
commands: | ||
- pip install -c python/requirements_compiled.txt docutils | ||
- cd python && python setup.py check --restructuredtext --strict --metadata | ||
|
||
- label: ":lint-roller: lint: dashboard format" | ||
depends_on: | ||
- forge | ||
commands: | ||
- ./ci/lint/check-dashboard-format.sh | ||
|
||
- label: ":lint-roller: lint: copyright format" | ||
depends_on: | ||
- forge | ||
commands: | ||
- ./ci/lint/copyright-format.sh -c | ||
|
||
- label: ":lint-roller: lint: bazel team" | ||
depends_on: | ||
- forge | ||
commands: | ||
- bazel query 'kind("cc_test", //...)' --output=xml | python ./ci/lint/check-bazel-team-owner.py | ||
- bazel query 'kind("py_test", //...)' --output=xml | python ./ci/lint/check-bazel-team-owner.py | ||
|
||
- label: ":lint-roller: lint: bazel buildifier" | ||
depends_on: | ||
- forge | ||
commands: | ||
- ./ci/lint/check-bazel-buildifier.sh | ||
|
||
- label: ":lint-roller: lint: pytest format" | ||
depends_on: | ||
- forge | ||
commands: | ||
- pip install -c python/requirements_compiled.txt yq | ||
- ./ci/lint/check-pytest-format.sh | ||
|
||
- label: ":lint-roller: lint: test coverage" | ||
depends_on: | ||
- forge | ||
commands: | ||
- python ci/pipeline/check-test-run.py | ||
|
||
- label: ":lint-roller: lint: api annotations" | ||
depends_on: | ||
- forge | ||
instance_type: medium | ||
commands: | ||
- RAY_DISABLE_EXTRA_CPP=1 pip install -e python/[all] | ||
- ./ci/lint/check_api_annotations.py | ||
|
||
- label: ":lint-roller: lint: documentation style" | ||
depends_on: | ||
- forge | ||
commands: | ||
- ./ci/lint/check-documentation-style.sh | ||
|
||
- label: ":lint-roller: lint: linkcheck" | ||
instance_type: medium | ||
command: make -C doc/ linkcheck | ||
depends_on: docbuild | ||
job_env: docbuild |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.