Lubos Kocman
adca9244da
rename _build_exists to _get_task_by_artifact
...
- function returns task_id if associated build exists
- fix typo in docstring
- Nils is disappointed by Guido
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
Signed-off-by: Nils Philippsen <nils@redhat.com >
2016-08-22 18:20:30 +02:00
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
Lubos Kocman
dd0b60dcdd
Change external api for GenericBuilder class
...
- merge buildroot_prep and buildroot_resume under buildroot_connect
https://pagure.io/fm-orchestrator/issue/34 (idempotent movement)
- rename add_dependency to add_repo
- provide workflow comparison koji vs copr as a docstring
- update docstrings for GenericBuilder
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
Signed-off-by: Nils Philippsen <nils@redhat.com >
2016-08-22 18:03:50 +02:00
Ralph Bean
2790339634
Be more specific here about what kinds of errors trigger a retry.
2016-08-10 16:14:52 -04:00
Ralph Bean
c9aefef5f2
Merge branch 'Database-Migration-Support-and-Cleanup'
2016-08-10 13:48:45 -04:00
Lubos Kocman
ad3eb578fb
add arches to module-tag (not just build-tag)
...
* this fixes issue that pungi can't discover arches for compsing module from tag
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-08-03 10:10:39 +02: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
8fdae07e7e
Some logging for buildroot readiness.
2016-07-31 16:26:11 -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
283c48dbbc
Try to refactor a bunch of our scattered retry logic.
2016-07-30 11:02:57 -04:00
Ralph Bean
074267233c
We want our dist-tag hack in both srpm-build and build.
2016-07-23 23:57:59 -04:00
Ralph Bean
23308474f2
The filename matters here.
2016-07-23 23:57:54 -04:00
Ralph Bean
cb671a19da
Fix dist-tag spec hack missed in b0c4fbb1.
2016-07-23 21:09:43 -04: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
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
9d1e03ed9c
koji: fixed add_artifact - pass tag_id instead of dict
2016-07-22 14:02:51 +02: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
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
Lubos Kocman
45c869a37b
builder: implement wait_task
2016-07-20 19:42:59 +02:00
Lubos Kocman
240d494c93
builder: fix tagBuild call, add wait_task
2016-07-20 17:52:07 +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
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
82bab660c8
Be honest. This is a task_id, not a build_id.
2016-07-18 10:45:40 -04:00
Ralph Bean
9190a48b75
A little less confusing.
2016-07-17 00:13:59 -04:00
Ralph Bean
45bc4c55ac
Some summary logging from ridad.
2016-07-17 00:11:00 -04:00
Ralph Bean
79a1aff196
Typofix.
2016-07-16 23:13:01 -04:00
Ralph Bean
e6fbde4837
Improved logging in KojiModuleBuilder.
2016-07-16 22:46:20 -04:00
Ralph Bean
c4e01cea40
Error out early if this is absent.
2016-07-16 20:23:16 -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
0b369baf66
Rename to build_id, which is more accurate.
2016-07-16 00:53:59 -04:00
Ralph Bean
ff831df01d
Adjust this name.
2016-07-13 16:55:34 -04:00
Ralph Bean
1dc0624329
Small py3 fix.
2016-07-12 10:19:23 -04:00
Lubos Kocman
a0e33c1649
Add Builder, GenericBuilder, KojiBuilder classes
...
* change config to reflect koji_config path and koji_profile
Signed-off-by: Lubos Kocman <lkocman@redhat.com >
2016-07-08 07:58:15 +00:00
Petr Šabata
ad4bcc846e
Add the basic skeleton code for ridad and move some TODOs around
...
Signed-off-by: Petr Šabata <contyk@redhat.com >
2016-07-04 17:17:43 +02:00
Petr Šabata
b802e72086
Files cleanup
...
Signed-off-by: Petr Šabata <contyk@redhat.com >
2016-07-01 16:17:46 +02:00