Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Code Block
languageyml
titleDocker

...

---
include:
  - project: anuket/releng
    file: '/gitlab-templates/Docker.gitlab-ci.yml'


Code Block
languageyml
titleReadTheDocs (RTD)

...

---
include:
  - project: anuket/releng
    file: '/gitlab-templates/RTD.gitlab-ci.yml'


Code Block
languageyml
titleGoogle 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:

...