Lubos Kocman
82ad4e7e9c
update default pdc server in rida.conf
2016-07-20 16:47:17 +02:00
Lubos Kocman
fcc47d2e3c
add cleanup-koji-stg.sh script
2016-07-20 16:46:29 +02:00
Lubos Kocman
1fdabfd8cf
pdc: make sure that we pass the right filters to pdc
2016-07-20 16:39:55 +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
05980dacff
Add buildroot_ready, disttag related function
...
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-07-20 10:25:54 +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
Lubos Kocman
bd28b7852a
database: listen to rida.component.state.change (failover)
2016-07-18 22:29:59 +02:00
Lubos Kocman
c0408b148b
builder: remove wait_buildroot and turn ClientSession into staticmethod
...
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-07-18 22:29:02 +02:00
Lubos Kocman
1a66202afd
read profile from supplied file
2016-07-18 19:17:58 +02:00
Ralph Bean
f85665f42f
Skip the query to PDC for the koji-tag for now.
2016-07-18 10:46:33 -04: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
379fc3fe5a
Get the test suite running again.
2016-07-17 00:16:57 -04:00
Ralph Bean
9190a48b75
A little less confusing.
2016-07-17 00:13:59 -04:00
Ralph Bean
f322017982
Koji build states are actually integers.
2016-07-17 00:11:13 -04:00
Ralph Bean
45bc4c55ac
Some summary logging from ridad.
2016-07-17 00:11:00 -04:00
Ralph Bean
7d77463124
Get the gitref from rida.py to ridad.py.
2016-07-17 00:10:23 -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
79a1aff196
Typofix.
2016-07-16 23:13: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
2d33ee1602
Simplify this.
...
The code is equivalent.
2016-07-16 23:09:15 -04:00
Ralph Bean
61a1e8d89f
Return None here instead of raising an exception.
2016-07-16 22:47:22 -04:00
Ralph Bean
e6fbde4837
Improved logging in KojiModuleBuilder.
2016-07-16 22:46:20 -04:00
Ralph Bean
ecd2f5ce46
Found another missing config copy statement. This approach may not be scalable.
2016-07-16 20:23:39 -04:00
Ralph Bean
c4e01cea40
Error out early if this is absent.
2016-07-16 20:23:16 -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
cf4eadbf99
Some work to get koji profiles working.
2016-07-16 20:17:57 -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
5d914e8c35
I got these two backwards.
2016-07-16 19:27:50 -04:00
Ralph Bean
285cf212c1
Top-level error handling.
2016-07-16 01:02:16 -04:00
Ralph Bean
dee31ed512
Typofix.
2016-07-16 01:02:07 -04:00
Ralph Bean
88b7ca5011
Get the sanity_check running.
2016-07-16 00:54:47 -04:00
Ralph Bean
c4ae0c3a92
Console will do.
2016-07-16 00:54:14 -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
af86b0a4fc
Some test coverage for the repo done code.
2016-07-16 00:15:58 -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
9925c238aa
Another classmethod to query with, and a bugfix!
2016-07-15 23:51:47 -04:00
Ralph Bean
e1c9cde9a5
Fix to config.polling_interval.
2016-07-15 23:51:28 -04:00
Ralph Bean
0ab9793305
Some more state transitions.
2016-07-15 23:20:23 -04:00
Ralph Bean
fa91f23be5
Just formatting.
2016-07-15 14:27:28 -04:00