Il 02/08/2023 02:08 Stefano Stabellini ha scritto:
On Wed, 2 Aug 2023, Marek Marczykowski-Górecki wrote:
On Tue, Aug 01, 2023 at 03:55:20PM -0700, Stefano Stabellini wrote:
> On Tue, 1 Aug 2023, Simone Ballarin wrote:
> > This patch introduces six new ECLAIR jobs that run only
> > when triggered by a GitLab scheduled pipeline.
> >
> > Signed-off-by: Simone Ballarin <[email protected]>
> > ---
> > +.eclair-analysis:on-schedule:
> > + extends: .eclair-analysis
> > + rules:
> > + - if: $CI_PIPELINE_SOURCE == "schedule"
>
> If I understand this right, the idea is that someone would schedule a
> pipeline (Build -> "Pipeline Schedules") and as part of that, they would
> also define the variable "CI_PIPELINE_SOURCE" to schedule.
No, this is pre-defined variable in gitlab:
https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
Even better! Thanks! Then no need for a comment and the patch is OK as
is.
Reviewed-by: Stefano Stabellini <[email protected]>
Here is a link with the instructions for creating scheduled pipelines:
https://docs.gitlab.com/ee/ci/pipelines/schedules.html
--
Simone Ballarin, M.Sc.
Field Application Engineer, BUGSENG (https://bugseng.com)