Lubos Kocman
4ae2eb0bbc
set default dist-git and lookaside to stage
2016-07-22 19:18:03 +02:00
Lubos Kocman
b0c4fbb11c
builder.py - fix dist-tag srpm creation, add option to pre-install artifact in buildroot
2016-07-22 19:17:04 +02:00
Lubos Kocman
257c305514
builder/koji: use retry for add_group_packages
2016-07-22 15:57:23 +02:00
Lubos Kocman
1f521d9eda
builder: fix adding groups
2016-07-22 15:22:34 +02: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
Lubos Kocman
9d1e03ed9c
koji: fixed add_artifact - pass tag_id instead of dict
2016-07-22 14:02:51 +02:00
Ralph Bean
5b06b64833
Careful when self.state is None.
2016-07-21 10:31:36 -04:00
Ralph Bean
747f5a3514
Revert unintentional changes from 618bbbe34f
2016-07-21 09:25:53 -04:00
Ralph Bean
90abfd8901
Include state_name in the json representation of models.
2016-07-21 09:23:35 -04:00
Ralph Bean
b959d044eb
Make this a little more readable.
2016-07-21 09:23:21 -04:00
Ralph Bean
a52037b67a
Log around waiting..
2016-07-21 09:23:07 -04:00
Ralph Bean
618bbbe34f
Log tidying.
2016-07-20 16:06:36 -04:00
Ralph Bean
e256abe60e
Straighten out this name/object confusion.
2016-07-20 16:01:35 -04:00
Ralph Bean
e81c6d7927
Remove unused import.
2016-07-20 16:01:22 -04:00
Ralph Bean
69a67abc3e
Update apidoc.
2016-07-20 15:52: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
fb968077a9
Make note of the **extra arguments.
2016-07-20 14:48:32 -04:00
Ralph Bean
caaeb4c7bc
Use munch instead of _get_opts_from_dict.
2016-07-20 14:48:08 -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
Ralph Bean
e218ac4fa8
Enhance this repr.
2016-07-20 14:35:24 -04:00
Lubos Kocman
787f06d7ef
add logging.BasicConfig
2016-07-20 19:44:46 +02:00
Lubos Kocman
3e36e33905
pdc: is_module_str needs to check for unicode as well
2016-07-20 19:43:19 +02:00
Lubos Kocman
45c869a37b
builder: implement wait_task
2016-07-20 19:42:59 +02:00
Lubos Kocman
0fbe160af0
waiting for right task_id, cleanup of code
2016-07-20 19:42:30 +02:00
Lubos Kocman
bae1ecc150
update test-pdc to work with new server
2016-07-20 17:55:11 +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
Lubos Kocman
a503031698
pdc: improve desolving
2016-07-20 17:52:28 +02:00
Lubos Kocman
240d494c93
builder: fix tagBuild call, add wait_task
2016-07-20 17:52:07 +02:00
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