Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Move documentation build from quick-lints to slow-lints #20339

Merged
merged 2 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ jobs:
- bash: ci/scripts/whitespace.sh $SYSTEM_PULLREQUEST_TARGETBRANCH
condition: eq(variables['Build.Reason'], 'PullRequest')
displayName: Check trailing whitespace
- bash: ci/scripts/build-docs.sh
displayName: Render documentation
- bash: ci/scripts/check-links.sh
displayName: Check File Links
- bash: ci/scripts/check-cmdgen.sh
Expand Down Expand Up @@ -153,6 +151,8 @@ jobs:
- bash: ci/scripts/check_bazel_target_names.py
displayName: Check Bazel target names (Experimental)
continueOnError: True
- bash: ci/scripts/build-docs.sh
displayName: Render documentation
# Define OT_DESTRUCTIVE=1 to enable ci/scripts/check-generated.sh to delete
# uncommitted changes.
- bash: OT_DESTRUCTIVE=1 ci/scripts/check-generated.sh
Expand Down
3 changes: 0 additions & 3 deletions ci/jobs/quick-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ ci/scripts/rust-format.sh $tgt_branch
echo -e "\n### Run shellcheck on all shell scripts"
util/sh/scripts/run-shellcheck.sh

echo -e "\n### Render documentation"
ci/scripts/build-docs.sh

echo -e "\n### Render landing site"
ci/scripts/build-site.sh

Expand Down
3 changes: 3 additions & 0 deletions ci/jobs/slow-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ ci/scripts/check-bazel-tags.sh
echo -e "\n### Ensure bazel doesn't use 'git_repository's"
ci/scripts/check-bazel-banned-rules.sh

echo -e "\n### Render documentation"
ci/scripts/build-docs.sh

echo -e "\n### Ensure all generated files are clean and up-to-date"
ci/scripts/check-generated.sh

Expand Down
Loading