Drive CI job dispatch and doc status from repo_config - #377
Open
lykimq wants to merge 6 commits into
Open
Conversation
lykimq
force-pushed
the
quyen@bot_general_pr5
branch
from
August 4, 2026 07:16
9c414c1 to
3513d56
Compare
Zimmi48
approved these changes
Aug 28, 2026
| # Use Rocq-specific failure summaries / allow-failure handling | ||
| use_rocq_job_status = true | ||
| # Successful jobs that get a GitHub status check linking to doc artifacts | ||
| silence_docker_manifest_errors = true |
Member
There was a problem hiding this comment.
It seems that this line should have been inserted above the comment rather than below it.
Comment on lines
+62
to
+78
| match job_info.build_name with | ||
| | "doc:refman" -> | ||
| send | ||
| ~fallback_artifacts:["_build/default/doc/refman-html/index.html"] | ||
| "doc/refman-html/index.html" | ||
| | "rocq-prover/rocq", "doc:ci-refman" -> | ||
| send_doc_url_job ~bot_info job_info "ci-refman" | ||
| "refman" "doc/refman-html/index.html" | ||
| | "doc:ci-refman" -> | ||
| send | ||
| ~fallback_artifacts:["_build/default/doc/refman-html/index.html"] | ||
| "_build_ci/refman/refman-html/index.html" | ||
| | "rocq-prover/rocq", "doc:init" -> | ||
| send_doc_url_job ~bot_info job_info "corelib" | ||
| "_build/default/doc/corelib/html/index.html" | ||
| | ( "rocq-prover/rocq" | ||
| , ( "doc:stdlib" (* only after complete switch to Dune *) | ||
| | "doc:stdlib:dune" (* only before complete switch to Dune *) ) ) -> | ||
| send_doc_url_job ~bot_info job_info "stdlib" | ||
| "_build/default/doc/stdlib/html/index.html" | ||
| | "rocq-prover/rocq", "doc:ml-api:odoc" -> | ||
| send_doc_url_job ~bot_info job_info "ml-api" | ||
| "_build/default/_doc/_html/index.html" | ||
| "ci-refman" "_build_ci/refman/refman-html/index.html" | ||
| | "doc:init" -> | ||
| send "corelib" "_build/default/doc/corelib/html/index.html" | ||
| | "doc:stdlib" -> | ||
| send "stdlib" "_build/default/doc/stdlib/html/index.html" | ||
| | "doc:stdlib:dune" -> | ||
| send "stdlib" "_build/default/doc/stdlib/html/index.html" | ||
| | "doc:ml-api:odoc" -> | ||
| send "ml-api" "_build/default/_doc/_html/index.html" |
Member
There was a problem hiding this comment.
At some latter point, this could also become part of the config.
| if String.equal domain "gitlab.com" then owner ^ ".gitlab.io" | ||
| else if String.is_prefix domain ~prefix:"gitlab." then | ||
| owner ^ ".gitlabpages." ^ String.drop_prefix domain 7 | ||
| else owner ^ ".gitlablpages." ^ domain |
Member
There was a problem hiding this comment.
Suggested change
| else owner ^ ".gitlablpages." ^ domain | |
| else owner ^ ".gitlabpages." ^ domain |
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.
repo_config.jobs(bench_job,use_rocq_job_status)coq/coqDocker-manifest silencing withsilence_docker_manifest_errorsdoc_artifact_jobsrepo_config_tablethrough the GitLab job webhook intojob_action