...
The Releng project also maintains some of templates for projects to use; Projects are under no obligation or requirement to use the templates provided by the Releng project.
...
---
include:
- project: anuket/releng
file: '/gitlab-templates/Docker.gitlab-ci.yml' |
Code Block |
---|
language | yml |
---|
title | ReadTheDocs (RTD) |
---|
|
...
|
---
include:
- project: anuket/releng
file: '/gitlab-templates/RTD.gitlab-ci.yml' |
Code Block |
---|
language | yml |
---|
title | Google Storage (GSutil install) |
---|
|
...
|
---
include:
- project: anuket/releng
file: '/gitlab-templates/GoogleStorage.gitlab-ci.yml' |
Scheduled Jobs
Unlike Jenkins, Gitlab-CI jobs that run on an interval or schedule are configured through the UI, not in .gitlab-ci.yml. Any job that does not state it should be excluded from schedules will be triggered when a scheduled pipeline runs. This also means there is no way to set schedules for individual jobs (only pipelines) through the UI. One way around this is by specifying a job should be triggered on scheduled runs, but only if a specific variable is defined. Here's an example of the rule for such a job:
...