4

I was trying to schedule a ci/cd pipeline in gitlab using .gitlab-ci.yaml file. I did't find a right documentation to implement the schedule using the ci/cd yaml file. Is it possible to configure a pipeline run schedule (say everyday 08:00 AM) in .gitlab-ci.yaml file?

Thanks Arun

Arun Vasu
  • 297
  • 8
  • 22

2 Answers2

8

Unfortunately, Scheduled pipeline is realized through GUI rather than .gitlab-ci.yml file in GitLab

You may find this document useful if you want to use GUI for schedule pipeline. Configuring in GUI is simpler than yaml coding.

If you really want it to be configured in yaml file, you may create an issue in GitLab repo. Actually, there's already an issue on this topic. It should not be a very difficult technically since it is only about keywords and parsing. Whether GitLab will do it or not is another story; so you'd better prepare a good scenario to persuade the GitLab team why you want this to be done.

R. Liu
  • 183
  • 8
3

The scheduled pipelines are configured via the GitLab CI/CD UI. enter image description here enter image description here

Read More about scheduled pipelines

dennee
  • 51
  • 3