Commit Graph

204 Commits

Author SHA1 Message Date
Kamil Páral
e22233b5db taskotron: fix duplicate jobs prevention #2
In commit 77cf9ae061 I had the condition inverted, sigh.
2019-04-16 09:28:47 +02:00
Kamil Páral
77cf9ae061 taskotron: fix duplicate jobs prevention
In commit 111fc1805c I forgot to expand a variable.
2019-04-16 09:06:20 +02:00
Kamil Páral
111fc1805c taskotron: prevent duplicate jobs in buildmaster config
There was one remaining case when duplicate jobs could crash the job -
when the tasks were not run simmultanously at all. I added another guard
at the final location of the artifacts, which should hopefully solve it.
2019-04-15 15:27:36 +02:00
Kamil Páral
780adf71a1 taskotron: upgrade production to F29 2019-04-09 19:27:11 +02:00
Kamil Páral
49844e6252 taskotron-stg: update to F29
Re-use dev changes on stg server.
2019-02-18 16:51:07 +01:00
Kamil Páral
988522a544 taskotron-dev: prevent duplicated buildbot jobs
Some buildbot jobs are duplicated and we don't know why:
https://pagure.io/taskotron/issue/273
This makes sure the first job completes fine, and the duplicated one is
killed as soon as possible.
2019-02-14 11:27:40 +01:00
Kamil Páral
067530130a taskotron-dev: update custom scheduler in line with latest buildbot code
It's not clear whether this changes anything, but it reflects how the
code looks in current buildbot upstream.

Also improve look and feel of tasks in buildbot web view.
2019-02-14 11:27:40 +01:00
Kamil Páral
12b4d00908 taskotron-dev: make artifacts url clickable in emails 2019-02-08 15:58:43 +01:00
Kamil Páral
7352159d85 taskotron-dev: add more info into error email notifications 2019-02-08 15:00:55 +01:00
Kamil Páral
e89337e6c5 taskotron-dev: disable www plugins
They are broken, some javascript or CSS issue.
2019-02-08 12:57:59 +01:00
Kamil Páral
622a823b7a taskotron-dev: don't run runtask with sudo
sudo was added just locally for testing, I forgot about it
2019-02-08 10:37:04 +01:00
Kamil Páral
a45db16529 taskotron dev: only allow authorized users to make changes in web ui 2019-02-07 16:28:58 +01:00
Kamil Páral
bfde2ab3ea taskotron-dev: fix checking out git source
I accidently hardcoded file:// there when trying it locally.
2019-02-07 15:25:44 +01:00
František Zatloukal
04fa9437f4 Taskotron: Remove deprecated syntax from playbook 2019-02-07 15:16:15 +01:00
František Zatloukal
70426b4bdf Taskotron-dev: Change configuration for new buildbot 2019-02-07 13:34:41 +01:00
Kamil Páral
758c0d035e taskotron: update dev to buildbot 1.7, Python3
Merges: https://pagure.io/fedora-qa/qa-ansible/pull-request/6
2019-02-06 10:49:48 +01:00
Josef Skladanka
824b6ca551 Taskotron buildmaster - enable 'discover' tasks 2018-06-07 18:50:02 +02:00
Kamil Páral
c9f5bccf46 taskotron buildmaster: deploy new steps also to stg and prod 2018-06-04 16:49:35 +02:00
Kamil Páral
d682670757 taskotron buildmaster (dev): add steps to save runtask stdio log 2018-06-04 16:35:23 +02:00
Kamil Páral
d3d7360dc7 taskotron buildmaster: fix missing endif 2018-05-22 14:54:06 +02:00
Kamil Páral
af040867b7 taskotron buildmaster: add a missing bracket 2018-05-22 14:49:39 +02:00
Kamil Páral
ee336ddd8c taskotron buildmaster: polish step descriptions 2018-05-22 14:44:33 +02:00
Kamil Páral
6bca96f430 taskotron-prod: switch to running STI tasks 2018-03-01 19:53:02 +01:00
Kamil Páral
1fb0dcceec taskotron-stg: switch to running STI tasks 2018-03-01 18:09:44 +01:00
Kamil Páral
95c1989180 taskotron: get rid for /task_output/ subdir in results URL (on dev) 2018-03-01 13:19:32 +01:00
Kamil Páral
a78c239de5 taskotron buildmaster: follow taskotron.log (on dev) 2018-03-01 09:43:23 +01:00
František Zatloukal
49611b2e6e Taskotron: Adapt buildmaster-configure playbook to "Try to launch buildmaster.service multiple times before giving up" 2018-02-23 15:34:36 +01:00
František Zatloukal
ac70030718 Taskotron: Try to launch buildmaster.service multiple times before giving up 2018-02-21 13:18:48 +01:00
Kamil Páral
84e7f60262 taskotron buildmaster: don't set executable bit on service file 2018-02-21 13:02:04 +01:00
Kamil Páral
e8bab5cba6 taskotron-buildmaster: use lazylogfiles 2018-01-24 17:41:57 +01:00
Kamil Páral
45d373507c taskotron-buildmaster: improve path for heartbeat.log
It's now placed in artifacts dir root instead of per-playbook artifacts
dir.
2018-01-24 15:22:37 +01:00
Kamil Páral
8f2dd30ae2 taskotron-buildmaster: send TERM signal before KILL
Also follow heartbeat.log.
2018-01-24 13:36:39 +01:00
Kamil Páral
d5cc71560b buildmaster-configure: fix gzipping artifacts
Used to fail for symlinks.
See https://pagure.io/taskotron/issue/247
2018-01-18 16:30:55 +01:00
Kamil Páral
c8bd3d356e taskotron: use valid variable names 2018-01-05 15:48:13 +01:00
Kamil Páral
925fc4277d taskotron: use tasks instead of handlers for buildmaster-configure
Because the meta keyword doesn't seem to work.
2018-01-05 15:42:19 +01:00
Kamil Páral
54168ace6b taskotron: need to flush handlers immediately 2018-01-05 14:57:30 +01:00
Kamil Páral
08ff0eb0ed taskotron: reload systemd after creating buildmaster/slave service files 2018-01-05 14:14:16 +01:00
Kamil Páral
b3f1ab6516 taskotron: disable PIDFile in buildmaster/buildslave.service
The services now don't start correctly when PIDFile is present.
See https://pagure.io/taskotron/issue/236
2018-01-05 14:02:37 +01:00
Tim Flink
5ad2adcb08 convert taskotron-dev to use new ansiblized libtaskotron with buildmaster 2017-11-22 19:01:36 +00:00
Kamil Páral
07b4293938 taskotron: remove fake_fedorainfra role
fake_fedorainfra is deprecated and not used anymore
2017-08-11 17:00:10 +02:00
Kamil Páral
49930e00fc taskotron: move task repos to pagure 2017-08-01 12:05:18 +02:00
Tim Flink
6787e399bd re-enabling gzip for taskotron-dev artifacts 2017-06-02 15:29:59 +00:00
Martin Krizek
059ea58ec4 taskotron-dev: disable gzipping artifacts 2017-04-21 10:43:14 +00:00
Tim Flink
575dea55c4 move distgit artifacts to correct dir after upload on taskotron master 2017-04-12 20:57:00 +00:00
Tim Flink
06a44a1062 correct git repo in taskotron master config 2017-04-12 20:04:40 +00:00
Tim Flink
e727850587 changing branch var for distgit builder for trigger update 2017-04-06 03:54:40 +00:00
Tim Flink
f8cd6f95be correctly fixing typo in taskotron stg master config 2017-03-24 16:11:11 +00:00
Tim Flink
c4f580ebed fixing typo in stg taskotron master config 2017-03-24 16:07:45 +00:00
Tim Flink
3a4099fc8c enabling per-package dist-git tasks in taskotron prod 2017-03-17 01:55:48 +00:00
Tim Flink
2fa26de7be forgot to add the distgit builder to dev master 2017-03-16 17:26:26 +00:00