None
Details
Details
Diff Detail
Diff Detail
- Repository
- rLTRN libtaskotron
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
None
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Path | Packages | |||
---|---|---|---|---|
M | conf/taskotron.yaml.example (15 lines) | |||
M | libtaskotron/config_defaults.py (3 lines) |
Commit | Tree | Parents | Author | Summary | Date |
---|---|---|---|---|---|
a86f91e27fee | 40d9e4c72787 | 37cc9d63fd00 | Martin Krizek | taskotron.yaml: Introduce Scheduling section (Show More…) | Oct 2 2015, 7:51 AM |
1 | ## Main configuration file for Taskotron | 1 | ## Main configuration file for Taskotron | ||
---|---|---|---|---|---|
2 | ## The file is in YAML syntax, read more about it at: | 2 | ## The file is in YAML syntax, read more about it at: | ||
3 | ## http://en.wikipedia.org/wiki/Yaml | 3 | ## http://en.wikipedia.org/wiki/Yaml | ||
4 | ## FIXME: add a link to Taskotron docs | 4 | ## libtaskotron docs live at: | ||
5 | ## https://docs.qadevel.cloud.fedoraproject.org/libtaskotron/latest/ | ||||
6 | | ||||
5 | 7 | | |||
6 | ## ==== GENERAL section ==== | 8 | ## ==== GENERAL section ==== | ||
7 | ## There are two major config profiles in Taskotron - development and | 9 | ## There are two major config profiles in Taskotron - development and | ||
8 | ## production. | 10 | ## production. | ||
9 | ## /Development/ profile is used for developing libtaskotron, developing checks | 11 | ## /Development/ profile is used for developing libtaskotron, developing checks | ||
10 | ## based on libtaskotron and local execution of these checks. | 12 | ## based on libtaskotron and local execution of these checks. | ||
11 | ## /Production/ profile is used for deploying Taskotron as a service on a | 13 | ## /Production/ profile is used for deploying Taskotron as a service on a | ||
12 | ## server, periodically executing the checks and reporting results to relevant | 14 | ## server, periodically executing the checks and reporting results to relevant | ||
13 | ## result consumers. | 15 | ## result consumers. | ||
14 | ## *The default profile is /development/*. If you want to switch to the | 16 | ## *The default profile is /development/*. If you want to switch to the | ||
15 | ## /production/ profile, uncomment the following line. | 17 | ## /production/ profile, uncomment the following line. | ||
16 | ## You can also switch a profile temporarily by using TASKOTRON_PROFILE=name | 18 | ## You can also switch a profile temporarily by using TASKOTRON_PROFILE=name | ||
17 | ## environment variable, it has a higher priority. All other options set in this | 19 | ## environment variable, it has a higher priority. All other options set in this | ||
18 | ## file still apply of course. | 20 | ## file still apply of course. | ||
19 | ## [choices: production, development; default: development] | 21 | ## [choices: production, development; default: development] | ||
20 | #profile: production | 22 | #profile: production | ||
21 | 23 | | |||
22 | 24 | | |||
25 | ## ==== SCHEDULING section ==== | ||||
26 | ## This section holds options related to the scheduling and execution system, | ||||
27 | ## currently we use Buildbot | ||||
28 | | ||||
29 | ## name of step in buildbot that executes the task | ||||
30 | #buildbot_task_step = 'runtask' | ||||
31 | | ||||
32 | | ||||
23 | ## ==== REPORTING section ==== | 33 | ## ==== REPORTING section ==== | ||
24 | ## This section controls which result reports you want to send after the test | 34 | ## This section controls which result reports you want to send after the test | ||
25 | ## execution is complete | 35 | ## execution is complete | ||
26 | 36 | | |||
27 | ## Overall setting whether to send any reports at all. If this is False, no | 37 | ## Overall setting whether to send any reports at all. If this is False, no | ||
28 | ## reports will be sent anywhere, regardless of your configuration for | 38 | ## reports will be sent anywhere, regardless of your configuration for | ||
29 | ## individual recipient systems. | 39 | ## individual recipient systems. | ||
30 | ## [default: True for production, False for development] | 40 | ## [default: True for production, False for development] | ||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | |||||
73 | ## URL of taskotron buildmaster, to construct log URLs from. | 83 | ## URL of taskotron buildmaster, to construct log URLs from. | ||
74 | ## Please make sure the URL doesn't have a trailing slash. | 84 | ## Please make sure the URL doesn't have a trailing slash. | ||
75 | #taskotron_master: http://localhost/taskmaster | 85 | #taskotron_master: http://localhost/taskmaster | ||
76 | 86 | | |||
77 | ## URL of artifacts base directory, to construct artifacts URLs from. | 87 | ## URL of artifacts base directory, to construct artifacts URLs from. | ||
78 | ## Please make sure the URL doesn't have a trailing slash. | 88 | ## Please make sure the URL doesn't have a trailing slash. | ||
79 | #artifacts_baseurl: http://localhost/artifacts | 89 | #artifacts_baseurl: http://localhost/artifacts | ||
80 | 90 | | |||
81 | ## name of step in buildbot that executes the task | | |||
82 | #buildbot_task_step = 'runtask' | | |||
83 | | ||||
84 | ## Whether to cache downloaded files to speed up subsequent downloads. If True, | 91 | ## Whether to cache downloaded files to speed up subsequent downloads. If True, | ||
85 | ## files will be downloaded to a common directory specified by "cachedir". At | 92 | ## files will be downloaded to a common directory specified by "cachedir". At | ||
86 | ## the moment, Taskotron only supports Koji RPM downloads to be cached. | 93 | ## the moment, Taskotron only supports Koji RPM downloads to be cached. | ||
87 | ## [default: False for production, True for development] | 94 | ## [default: False for production, True for development] | ||
88 | #download_cache_enabled: False | 95 | #download_cache_enabled: False | ||
89 | 96 | | |||
90 | 97 | | |||
91 | ## ==== BODHI EMAIL section ==== | 98 | ## ==== BODHI EMAIL section ==== | ||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 23 | class Config(object): | |||
---|---|---|---|---|---|
45 | config_filename = '' #: | 45 | config_filename = '' #: | ||
46 | 46 | | |||
47 | profile = ProfileName.DEVELOPMENT #: | 47 | profile = ProfileName.DEVELOPMENT #: | ||
48 | 48 | | |||
49 | reporting_enabled = False #: | 49 | reporting_enabled = False #: | ||
50 | report_to_bodhi = True #: | 50 | report_to_bodhi = True #: | ||
51 | report_to_resultsdb = True #: | 51 | report_to_resultsdb = True #: | ||
52 | 52 | | |||
53 | buildbot_task_step = 'runtask' #: | ||||
54 | | ||||
53 | koji_url = 'http://koji.fedoraproject.org/kojihub' #: | 55 | koji_url = 'http://koji.fedoraproject.org/kojihub' #: | ||
54 | pkg_url = 'http://kojipkgs.fedoraproject.org/packages' #: | 56 | pkg_url = 'http://kojipkgs.fedoraproject.org/packages' #: | ||
55 | bodhi_staging = False #: | 57 | bodhi_staging = False #: | ||
56 | execdb_server = 'http://localhost:5003' #: | 58 | execdb_server = 'http://localhost:5003' #: | ||
57 | resultsdb_server = 'http://localhost:5001/api/v1.0' #: | 59 | resultsdb_server = 'http://localhost:5001/api/v1.0' #: | ||
58 | resultsdb_frontend = 'http://localhost:5002' #: | 60 | resultsdb_frontend = 'http://localhost:5002' #: | ||
59 | taskotron_master = 'http://localhost/taskmaster' #: | 61 | taskotron_master = 'http://localhost/taskmaster' #: | ||
60 | artifacts_baseurl = 'http://localhost/artifacts' #: | 62 | artifacts_baseurl = 'http://localhost/artifacts' #: | ||
61 | buildbot_task_step = 'runtask' #: | | |||
62 | download_cache_enabled = True #: | 63 | download_cache_enabled = True #: | ||
63 | 64 | | |||
64 | bodhi_posting_comments_span = 4320 #: | 65 | bodhi_posting_comments_span = 4320 #: | ||
65 | # 3 days (3*24*60 = 4320) | 66 | # 3 days (3*24*60 = 4320) | ||
66 | 67 | | |||
67 | tmpdir = '/var/tmp/taskotron' #: | 68 | tmpdir = '/var/tmp/taskotron' #: | ||
68 | logdir = '/var/log/taskotron' #: | 69 | logdir = '/var/log/taskotron' #: | ||
69 | log_name = 'taskotron.log' | 70 | log_name = 'taskotron.log' | ||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |