Commit Graph

162 Commits

Author SHA1 Message Date
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
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
2344e03f23 Send builds to failed state if they don't make it to 'wait'. 2016-07-15 13:24:45 -04:00
Ralph Bean
3d60ccad20 Set up a resumed builder here. 2016-07-15 13:17:58 -04:00
Ralph Bean
7be07d37b1 Fix a mock that broke. 2016-07-15 13:07:04 -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
d94042f8e7 Add reprs for some of our models. 2016-07-15 13:06:05 -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
2eee1c8ed6 Descriptions of the states. 2016-07-15 12:13:30 -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
1857b109a2 database: use .one() instead of .all() + assert
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2016-07-15 17:53:36 +02:00
Ralph Bean
d0aaf87d4c Merge #20 Work on ridad. 2016-07-15 15:33:22 +00:00
Ralph Bean
371c23d6bb Descriptions of the states. 2016-07-15 11:23:32 -04:00
Lubos Kocman
1e44e3b299 pdc: unreleasedvariants 2016-07-15 16:04:33 +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
Lubos Kocman
4eae650878 rida/pdc.py: add release 2016-07-15 15:06:53 +02:00