[Git][cmucl/cmucl][issue-478-run-analyzer-link-chcker-on-schedule] Allow link-checker to run on a schedule or if variable is set.
Raymond Toy pushed to branch issue-478-run-analyzer-link-chcker-on-schedule at cmucl / cmucl Commits: 979ad570 by Raymond Toy at 2026-02-28T18:07:38-08:00 Allow link-checker to run on a schedule or if variable is set. - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -287,9 +287,6 @@ linux:static-analyzer: tags: - linux - # Allows the pipeline to proceed and show a "passed with warnings" - # status (orange) instead of "failed" (red) if this job exits with an error. - allow_failure: true artifacts: when: always paths: @@ -306,7 +303,9 @@ linux:static-analyzer: when: on_success # 3. Otherwise, the job remains a manual button in the pipeline. - when: manual - allow_failure: true + # Allows the pipeline to proceed and show a "passed with warnings" + # status (orange) instead of "failed" (red) if this job exits with an error. + allow_failure: true script: # Analysis can generate huge amounts of output. For now just save # the results to the log file instead of also having it go to the @@ -366,7 +365,15 @@ markdown-link-check: # Only the linux runner has markdown-link-check installed tags: - linux - when: manual + rules: + # 1. If the pipeline is a scheduled run, run this job automatically + - if: $CI_PIPELINE_SOURCE == "schedule" + when: on_success + # 2. If the variable is set (manually via UI/API), run automatically. + - if: $RUN_ANALYSIS + when: on_success + # 3. Otherwise, the job remains a manual button in the pipeline. + - when: manual # It's ok if this fails; we don't want to declare the entire # pipeline as having failed. allow_failure: true View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/979ad5700d428e718273fcb1... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/979ad5700d428e718273fcb1... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)