Ralph Bean
618bbbe34f
Log tidying.
2016-07-20 16:06:36 -04:00
Ralph Bean
8b3ed86fa8
Change the names of these classmethods to be a little more generic.
2016-07-20 15:50:48 -04:00
Ralph Bean
d08c7b936b
Keep and use the full scm url instead of reconstructing it.
2016-07-20 14:42:56 -04:00
Ralph Bean
544b99ba09
A TODO for later..
2016-07-20 14:35:45 -04:00
Ralph Bean
dcc8a8b732
Another log statement to try and figure out whats going on.
2016-07-20 14:35:37 -04:00
Lubos Kocman
787f06d7ef
add logging.BasicConfig
2016-07-20 19:44:46 +02:00
Lubos Kocman
0fbe160af0
waiting for right task_id, cleanup of code
2016-07-20 19:42:30 +02:00
Lubos Kocman
879eca579a
pass over correct scmurl, and valid artifact name
2016-07-20 17:54:42 +02:00
Lubos Kocman
edd92d65ae
handlers/modules: get rid of hardcoded dependency, fix typo
2016-07-20 17:54:18 +02:00
Ralph Bean
033a0da5ba
Split this up into three threads so we can spoof ourselves.
2016-07-20 10:15:28 -04:00
Lubos Kocman
ce59c608be
modules.py: create modules-macro inject it to buildroot and wait before building state
2016-07-20 10:27:13 +02:00
Lubos Kocman
ff84228502
Add handler for builds which didn't manage to get builID
...
* this is typically for builds where srpm task failed
we don't receive any message on such failures, so I'm rather generating internal one
2016-07-18 22:33:26 +02:00
Lubos Kocman
fe7c9dbec0
ensure that wait() is being called only in wait state
...
* I'm little bit suspicious that something is calling wait() from other states as well
* This is to keep track of such calls, so we can identify them later
2016-07-18 22:31:24 +02:00
Ralph Bean
82bab660c8
Be honest. This is a task_id, not a build_id.
2016-07-18 10:45:40 -04:00
Ralph Bean
45bc4c55ac
Some summary logging from ridad.
2016-07-17 00:11:00 -04:00
Ralph Bean
4cc3e1271a
Typofix.
2016-07-16 23:19:54 -04:00
Ralph Bean
67fa46203d
Clear out some spammy fields when logging the message body.
2016-07-16 23:18:01 -04:00
Ralph Bean
3c8e8a4b02
This log message is quite useful.
2016-07-16 23:10:51 -04:00
Ralph Bean
e879bc7f81
Key off the build tag here...
...
.. and we want to map it back to the main tag.
2016-07-16 23:10:17 -04:00
Ralph Bean
7dc2d1ad42
Bugfix. The attribute is koji_tag.
2016-07-16 23:09:48 -04:00
Ralph Bean
d6fd3e05a9
Need to prep before adding deps (tags must exist before modifying them..)
2016-07-16 20:18:12 -04:00
Ralph Bean
f230943181
Use the koji tag name from PDC instead of a derived one.
2016-07-16 19:59:05 -04:00
Ralph Bean
a04d10b0f3
Remove unused import.
2016-07-16 19:39:50 -04:00
Ralph Bean
0db0d1d50a
Add strict behavior to the pdc interface to make debugging easier.
2016-07-16 19:39:42 -04:00
Ralph Bean
cce333bd73
Move sleep to the end to tighten my debugging loop.
2016-07-16 19:28:26 -04:00
Ralph Bean
d020cd74a6
Some nice logging to see the message on which we failed.
2016-07-16 19:28:14 -04:00
Ralph Bean
285cf212c1
Top-level error handling.
2016-07-16 01:02:16 -04:00
Ralph Bean
88b7ca5011
Get the sanity_check running.
2016-07-16 00:54:47 -04:00
Ralph Bean
0b369baf66
Rename to build_id, which is more accurate.
2016-07-16 00:53:59 -04:00
Ralph Bean
2871ca9537
Remove some TODOs which are done.
2016-07-16 00:20:08 -04:00
Ralph Bean
fd57403411
Typofix.
2016-07-15 23:54:43 -04:00
Ralph Bean
2a866eaf91
Some start to the polling thread.
2016-07-15 23:53:36 -04:00
Ralph Bean
0ab9793305
Some more state transitions.
2016-07-15 23:20:23 -04:00
Ralph Bean
fe863aa33a
Rename this state transition handler.
2016-07-15 14:05:37 -04:00
Ralph Bean
44e35c3a09
Use module.transition to change states.
2016-07-15 14:01:41 -04:00
Ralph Bean
3d60ccad20
Set up a resumed builder here.
2016-07-15 13:17:58 -04:00
Ralph Bean
9e3efc3fb4
Remove a bunch of unnecessary stuff.
...
This is because get_module() is already called *inside* the call to
get_module_tag() and get_module_dependencies().
2016-07-15 13:06:32 -04:00
Ralph Bean
b60dc32312
Resolve ambiguity about what "pdc" refers to here...
2016-07-15 13:00:04 -04:00
Ralph Bean
434dc8bad0
Simplify and clean.
2016-07-15 12:39:47 -04:00
Ralph Bean
64abebfd89
Remove unused imports.
2016-07-15 12:39:34 -04:00
Ralph Bean
24e7baa6ca
Merge branch 'ridad'
2016-07-15 12:14:22 -04:00
Ralph Bean
f09369a90e
Some better logging for ridad.
2016-07-15 12:12:42 -04:00
Lubos Kocman
8d17d3a763
Add bunch of todos for init phase
...
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-07-15 18:04:16 +02:00
Lubos Kocman
c6049da301
modules.py: updated db to pdc calls
2016-07-15 17:55:51 +02:00
Lubos Kocman
ec01f80189
temp. sleepy-hack to wait for pdc-updater to finish his job
2016-07-15 15:10:50 +02:00
Lubos Kocman
5222b25c97
Fixed new -> init, temp. disabled sanity_check, handling states correctly
...
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-07-15 15:09:36 +02:00
Ralph Bean
40a3448dca
Some handlers and one test.
2016-07-13 16:55:51 -04:00
Ralph Bean
14a4536583
Reorganize the db somewhat..
2016-07-13 15:40:39 -04:00
Ralph Bean
e470b4f0da
Bring back a main entrypoint for ridad.py.
2016-07-13 14:39:46 -04:00
Ralph Bean
e644f0b9df
Some structure for event handling in ridad.py.
2016-07-13 14:39:23 -04:00