Jan Kaluža
59d070df35
Merge #278 Fix #276 - Use PDC to resolve buildroot components instead of MBS database
2017-01-12 14:34:13 +00:00
Jan Kaluza
008f2c9d29
Make SCM check faster by consolidating two SCM checks to single check executed in ThreadPool. Use 'git checkout' instead of HTTP HEAD request, because it is much faster in Fedora cgit case.
2017-01-11 15:09:49 +01:00
Jan Kaluza
0f797c2917
Remove fake base-runtime module from DB and old resolve_profiles method because they are not used anymore. Fix the tests to work with remove fake base-runtime.
2017-01-10 15:58:26 +01:00
Matt Prahl
261549c8c2
Migrate scheduler to be run by fedmsg-hub
2016-12-15 16:27:15 -05:00
Jan Kaluza
3788bd2d8d
Inherit the SCM repository from the parent module to included modules.
2016-12-13 13:24:25 +01:00
Jan Kaluza
e08b6d1a46
Allow resubmit of the same module also for 'init' status.
2016-12-13 10:59:10 +01:00
Jan Kaluza
d06c13d973
Fix the bug when module build freezes when all the components in batch have been already built by builder.
2016-12-12 21:03:44 +01:00
Matt Prahl
9d734d38ce
Create fake baseruntime module directly to avoid DetachedInstanceError
2016-12-12 09:00:44 -05:00
Filip Valder
7fcfe05f85
Fix issue #251 :
...
- support for mupltiple SCM URLs (logic was broken when there were more
than one SCM URL in SCMURLS conf. var)
- unsplit-brain handling of SCM URLs between frontend and backend
2016-12-12 13:05:27 +01:00
Filip Valder
79715ecfbe
missing: import logging
2016-12-05 15:18:26 +01:00
Ralph Bean
9303be7a4e
Merge #228 Drop alembic fake base-runtime code.
2016-12-01 15:56:10 +00:00
Ralph Bean
a2122f84a4
Move insert_fake_baseruntime to utils.py.
2016-11-30 13:11:14 -05:00
Jan Kaluza
f7350a395f
Allow file:// URLs when building modules locally
2016-11-30 10:33:20 +01:00
Jan Kaluza
4f6d683645
Fix #173 - Handle includedmodules by building their components recursively.
2016-11-23 06:38:16 +01:00
Jan Kaluza
528b6ab20a
Do not submit failed components for a build
2016-11-21 13:07:18 +01:00
Jan Kaluza
9aca8057a3
Handle the exception in builder.build(...) code and do not mark whole module as failed - mark just the particular component.
2016-11-18 19:09:03 +01:00
Filip Valder
8c6a5f4919
Merge #196 Fix #94 - handle IOError
2016-11-18 14:11:20 +00:00
Filip Valder
d8942ba44a
Load defaults from config
2016-11-18 10:24:34 +01:00
Filip Valder
225d116d45
lint
2016-11-18 10:22:35 +01:00
Ralph Bean
411da3def5
Resolve component refs on build submission.
...
Fixes #203 .
The modulemd files we had used to all pin the commit hashes of the
components they were pulling in. We changed this with modulemd-1.0 and
now modules can define their components in terms of their *stream*
(a.k.a. their dist-git *branch*). This is awesome, and is a big
stepping stone towards greater things.
The problem is that we used to take that git ref literally from the
modulemd and pass it on to koji. Now that instead we are passing on a
branch name to koji, it falls down. Koji requires us to send it an
explicit commit hash.
This change takes that branch name and converts it to an explicit commit
hash when the module is first submitted.
Verified that things are working again:
- http://koji.stg.fedoraproject.org/koji/taskinfo?taskID=90084980
2016-11-17 14:49:48 -05:00
Matt Prahl
244b77f54c
Add component build throttling
2016-11-16 15:24:17 -05:00
Matt Prahl
67d07023c5
Rename function to start_build_batch for further flexibility in the future
2016-11-16 15:24:16 -05:00
Matt Prahl
fb043cd2c7
Add TODO comment
2016-11-16 15:24:16 -05:00
Jan Kaluza
2b7ebdfc6f
Fix #172 - Set ComponentBuild.batch according to mmd.buildorder attribute
2016-11-16 12:41:06 +01:00
Jan Kaluza
966a73251a
Add support for modulemd-1.0 backward-incompatible changes like commit being replaced by ref
2016-11-14 15:32:51 +01:00
Jan Kaluza
7b9e4f7234
Initial version of mock backend
2016-11-10 09:57:00 +01:00
Ralph Bean
99b0993fe0
Pass around more info on pre-built components so we can resume module builds.
2016-10-29 16:12:24 -04:00
Matt Prahl
b4082dc551
Rename module from rida to module_build_service
...
Rename routes from /rida/1/module-builds/ to /module-build-service/1/module-builds/
2016-10-24 10:30:23 -04:00