Commit Graph

408 Commits

Author SHA1 Message Date
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
7d3db8517a No need to poll that frequently. 2016-07-31 15:41:57 -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
cdc7e366f9 I'm pretty sure this isn't supposed to be here. 2016-07-30 10:18:34 -04:00
Ralph Bean
04dbbc60af Merge #25 Document bus message format 2016-07-30 09:05:12 +00: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
Lubos Kocman
cd6a5d03cc add scmurl to ModuleBuild, get koji_tag from pdc, get_module works with module- prefix 2016-07-29 21:58:08 +02:00
Ralph Bean
bcbaf2cf61 kill the wait statements. 2016-07-29 12:15:02 -04:00
Ralph Bean
519d9fb937 Merge #22 Some more work on the scheduler. 2016-07-27 17:38:29 +00:00
Ralph Bean
1077253b6f Merge #26 load the config file from environment 2016-07-27 17:37:04 +00:00
Ralph Bean
0b0021b5ea Merge branch 'master' into ridad
Also, fix tests.
2016-07-27 13:34:32 -04:00
Nils Philippsen
bc208a5e03 Document 'topdir' message field.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-07-26 12:15:42 +02:00
Nils Philippsen
9629b65b18 Drop 'koji_tag' field from message.
The koji tag should be set by pdc-updater when first encountering a
module n-v-r, and be stored in PDC.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-07-26 12:15:42 +02:00
Nils Philippsen
f67d1f285b Drop 'variant_' prefix from message fields.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-07-26 12:15:42 +02:00
Nils Philippsen
e4b118b023 Drop 'variant_type' from the message.
The message is only about modules, therefore the variant type is
'module'. No need to communicate this redundantly.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-07-26 12:07:07 +02:00
Lubos Kocman
98d8b54c61 rida.conf: add new modularity pdc instance as a default pdc url 2016-07-25 17:33:04 +02:00
Lubos Kocman
87c9ff085c typo: rida.logging -> rida.logger 2016-07-25 15:08:27 +02:00
Ralph Bean
1b314d2e30 New gitref for testmodule. 2016-07-24 00:52:28 -04:00
Ralph Bean
cb096f461f s/task/task_id/ 2016-07-24 00:52:14 -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
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
3f9e7a7f5f A convenience method. 2016-07-23 22:30:54 -04:00
Ralph Bean
cb671a19da Fix dist-tag spec hack missed in b0c4fbb1. 2016-07-23 21:09:43 -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
1bd9b28b92 reflect bump of testmodule 2016-07-22 19:19:17 +02: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
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
Ralph Bean
4edada2e15 Try to get tests working again for jenkins... 2016-07-22 11:18:46 -04:00
Ralph Bean
0197def83e Remove koji from requirements.txt so that jenkins will fly. 2016-07-22 11:11:54 -04:00
Nils Philippsen
0aa9aa26b5 Document bus message format
Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-07-22 16:42:55 +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
Karsten Hopp
e668233bb4 simplify RIDA_CONFIG handling 2016-07-22 12:58:25 +02:00
Karsten Hopp
64615a3583 load the config file from environment 2016-07-22 12:31:17 +02:00
Ralph Bean
5b06b64833 Careful when self.state is None. 2016-07-21 10:31:36 -04:00