Lubos Kocman
68e32ee8c7
idempotent KojiBuilder implementation of rida/builder.py
...
- Allows to call build() and connect() multiple times. This needs to be
followed by allowing to resubmit module build tasks in REST.
- rename buildroot_add_repo() to buildroot_add_repos() (input data is artifacts)
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
Signed-off-by: Nils Philippsen <nils@redhat.com >
2016-08-22 18:20:24 +02:00
Ralph Bean
cbc9f33954
Apply a fix from our demo-readiness efforts..
2016-08-10 14:06:43 -04:00
Ralph Bean
124b3c3900
Fix NameError for missing query.
2016-08-10 13:48:15 -04:00
Matt Prahl
7a928c3e8c
Adds database migration support, converts rida.conf to config.py, adds Vagrant support, seperates out app views to views.py, control of the app now manage.py
2016-08-01 13:22:01 -04:00
Ralph Bean
666dad2a2a
Last tweak and fixes for async stuff.
2016-07-31 11:27:34 -04:00
Ralph Bean
ec57fe0522
Some cleanup and fixes to the async work.
2016-07-31 07:13:27 -04:00
Ralph Bean
0c48edbd1a
Attempt to recursively build component like mockchain --recurse
2016-07-31 05:18:32 -04:00
Ralph Bean
283c48dbbc
Try to refactor a bunch of our scattered retry logic.
2016-07-30 11:02:57 -04:00
Ralph Bean
5049b3f639
Merge #32 kill the wait statements.
2016-07-30 09:04:58 +00:00
Lubos Kocman
239bbf7ec7
add pdc retry for initial module info
2016-07-29 21:58:46 +02:00
Ralph Bean
bcbaf2cf61
kill the wait statements.
2016-07-29 12:15:02 -04:00
Ralph Bean
0b0021b5ea
Merge branch 'master' into ridad
...
Also, fix tests.
2016-07-27 13:34:32 -04:00
Lubos Kocman
87c9ff085c
typo: rida.logging -> rida.logger
2016-07-25 15:08:27 +02:00
Ralph Bean
874da0ecb8
Be strict about this.
...
Better to fail early here than to submit a build, wait 15 minutes, only
to find out it fails.
2016-07-23 22:31:11 -04:00
Ralph Bean
9177f4ed5c
No need to worry about this condition.
2016-07-23 21:06:34 -04:00
Ralph Bean
08b694cd6b
Remove erroneous block.
2016-07-23 20:42:39 -04:00
Ralph Bean
a8d2bc64e3
Merge branch 'ridad' of ssh://pagure.io/fm-orchestrator into ridad
2016-07-23 20:36:15 -04:00
Ralph Bean
5a75e8b7df
msg_id is required.
2016-07-23 20:36:06 -04:00
Lubos Kocman
fd814ef043
add msg_id when we fake message
2016-07-22 19:18:45 +02:00
Lubos Kocman
5ef69b02fb
pre-install macros in buildroot
2016-07-22 19:18:21 +02:00
Ralph Bean
4edada2e15
Try to get tests working again for jenkins...
2016-07-22 11:18:46 -04:00
Lubos Kocman
d507dcdb0d
fixed typo dot -> comma in repos.py
2016-07-22 14:40:43 +02:00
Lubos Kocman
6c6a5b40b6
builder/repos: use artifact_name when reffering to a name and artifact when you refer NameVersionRelase
...
* fixed wait_buildroot - pass buildInfos instad of nvrs
* add few debug messages to repos.py
2016-07-22 14:36:53 +02:00
Lubos Kocman
3b636cd2d0
add . at beginning of dist-tag
2016-07-22 14:03:11 +02:00
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