Skip to content

Commit

Permalink
Do not run CBs in scheduled pipelines
Browse files Browse the repository at this point in the history
The purpose of the only scheduled pipeline we have for now is to create
a pre-built Langkit package used to speed up the Libadalang CI. There is
no need to run the CB in this pipeline.
  • Loading branch information
pmderodat committed Oct 25, 2023
1 parent 128563b commit 6142833
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions utils/gitlab-ci-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,19 @@
.cb:
# Items to create continuous builders (CB).
#
# Such jobs are meant to be run only after all updates on the "master"
# branch. Their purpose is to check that recent work the
# Libadalang/Langkit/AdaSAT repositories does not break the build of GNAT. In
# this context, we are only interested in builds: we think that a situation
# where LAL changes do not break builds but create serious regressions at
# runtime are very unlikely, and running relevant testing is very costly.
# Such jobs are meant to be run after all updates on the "master" branch and
# optionally when manually triggered from the web interface.
#
# Their purpose is to check that recent work the Libadalang/Langkit/AdaSAT
# repositories does not break the build of GNAT. In this context, we are only
# interested in builds: we think that a situation where LAL changes do not
# break builds but create serious regressions at runtime are very unlikely,
# and running relevant testing is very costly.
extends: .basic
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- if: '$CI_COMMIT_BRANCH != "master"'
when: never
- if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web"'
services:
- image:sandbox
- cpu:8
Expand Down

0 comments on commit 6142833

Please sign in to comment.