periodicator/config.example.yaml

38 lines
1.1 KiB
YAML
Raw Normal View History

2021-09-27 18:03:17 +05:00
# Gitlab's configuration.
2021-09-26 10:30:51 +05:00
gitlab:
2021-09-27 18:03:17 +05:00
# Base URL (a.k.a. "protocol and domain") for your Gitlab installation.
2021-09-26 10:30:51 +05:00
base_url: "https://gitlab.com"
2021-09-27 18:03:17 +05:00
# Personal access token with "api" access.
2021-09-26 10:30:51 +05:00
token: "aaabbbccc"
2021-09-27 18:03:17 +05:00
# Tasks list to create. It is using YAML's lists.
2021-09-26 10:30:51 +05:00
tasks:
2021-09-27 18:03:17 +05:00
# Task's title.
2021-09-26 10:30:51 +05:00
- title: "Test"
2021-09-27 18:03:17 +05:00
# Task's body. Can be multiline.
2021-09-26 10:30:51 +05:00
body: |
This is a multiline
task
body
2021-09-27 18:03:17 +05:00
# Tags (or labels) to attach.
2021-09-26 10:30:51 +05:00
tags: ["test label"]
2021-09-27 18:03:17 +05:00
# Task's starting point. From this timestamp "internal cron" will start to calculate task creation timestamp and other
# things.
2021-09-26 10:30:51 +05:00
execution_start: "2021-09-01 00:00:00"
2021-09-27 18:03:17 +05:00
# Internal cron interval. For this example 2021-09-01 is wednesday, so task will be created on 2021-09-03 and
# then on 2021-09-10 and so on.
2021-09-26 10:30:51 +05:00
cron: "00 5 * * fri"
2021-09-27 18:03:17 +05:00
# Due date to set in future. For this example task will be created on 2021-09-03 and due date will be set to 2021-09-04.
due_in: "24h"
- title: "Another Test"
body: |
This is a multiline
task
body
tags: ["test label"]
execution_start: "2021-09-01 00:00:00"
cron: "00 5 * * sat"
2021-09-26 10:30:51 +05:00
due_in: "24h"