Jakub Kadlčík
dde4e4b801
Add VCR file for test_submit_custom_scmurl
2017-04-27 19:30:06 +02:00
Jakub Kadlčík
03f8a54fdd
Test allow_custom_urls config option
2017-04-24 21:17:41 +02:00
Jakub Kadlčík
6dde52f377
Add config option for allowing custom scmurls
2017-04-19 15:25:22 +02:00
Jakub Kadlčík
b0ae5f98ef
Have default NSV for modules submitted by yaml file
2017-04-18 08:23:38 +02:00
Matt Prahl
dd72504395
Merge #509 Pass the whole ModuleBuild object to the builder
2017-04-13 15:54:18 +00:00
Jakub Kadlčík
e8dd847cea
Run init_data() before querying a module
2017-04-13 17:42:12 +02:00
Jakub Kadlčík
e3c3167fae
Don't mock the ModuleBuild class with namedtuple for tests
2017-04-13 16:44:55 +02:00
Jan Kaluža
27523d32f3
Merge #508 Do not start new batch in poller when new_repo is running
2017-04-13 08:33:20 +00:00
Jakub Kadlčík
a64a57cd9a
Don't query module which may be incorrect
2017-04-12 23:53:59 +02:00
Jakub Kadlčík
b78b0346d2
Pass the module build into builder
2017-04-12 23:53:55 +02:00
Jan Kaluza
9e6e199a22
Use db.session.refresh instead of expunge and fix typo in create_builder
2017-04-12 07:25:00 +02:00
Jan Kaluza
9a193c36af
Do not start new batch in poller when new_repo is running
2017-04-11 19:51:55 +02:00
Ralph Bean
65950304ca
Merge #505 Allow querying for module builds by koji tag.
2017-04-11 13:02:15 +00:00
Jan Kaluza
8ebf1d8205
Show build id in ModuleBUild __repr__
2017-04-11 14:11:47 +02:00
Filip Valder
0338e12699
Merge #462 Fix #434 - return Not Found in case of a commit hash which is not found within the repository
2017-04-11 08:45:18 +00:00
Jan Kaluža
9f2d964cef
Merge #491 Copr builder improvements #3
2017-04-11 05:51:46 +00:00
Ralph Bean
57f357b188
VCR data.
2017-04-10 14:33:49 -04:00
Ralph Bean
fae7848fa4
Allow querying for module builds by koji tag.
...
This way, if a component build fails and you want to find out who
submitted it, you can track the:
koji build -> koji tag -> module build -> owner
2017-04-10 14:32:08 -04:00
Jakub Kadlčík
7c81a72138
Update CoprBuildEnd message to reflect actual data
2017-04-10 20:28:53 +02:00
Jakub Kadlčík
14ee3a4591
Don't manage buildroot packages manually
2017-04-10 19:05:06 +02:00
Matt Prahl
e3cd821f53
Merge #499 Log message ids every time we try to handle them.
2017-04-10 15:01:45 +00:00
Filip Valder
a192dab1e2
return Unprocessable Entity in case of a commit hash which is not found within the repository
2017-04-10 16:41:24 +02:00
Jan Kaluza
3ad87b2f46
Add 'overview' command to mbs-build.
2017-04-10 11:29:19 +02:00
Jan Kaluza
626c0ad99a
Get only active modules as a dependency of another modules
2017-04-07 17:52:45 +02:00
Jan Kaluža
64fc246c5c
Merge #498 Only check if a component is reusable from a previous module build with the same name and stream
2017-04-07 14:02:46 +00:00
Jan Kaluža
32b363d1a9
Merge #501 Stop using .strip('-build')
2017-04-07 13:37:56 +00:00
Jan Kaluža
a4de06bc40
Merge #493 Start newRepo only when all the COMPLETE components have been tagged and there are no unbuilt components in a batch
2017-04-07 13:25:13 +00:00
mprahl
e7cbce51db
Stop using .strip('-build')
2017-04-07 09:20:19 -04:00
mprahl
eb6187ff1f
Only check if a component is reusable from a previous module build with the same name and stream
2017-04-07 08:28:32 -04:00
Ralph Bean
c432187f92
Log message ids every time we try to handle them.
2017-04-07 08:28:28 -04:00
Jan Kaluža
6043e2deaa
Merge #270 Replace submit-build.py by brand new 'mbs-build' command
2017-04-07 09:38:50 +00:00
Jan Kaluza
cdf06ad999
Start newRepo only when all the COMPLETE components have been tagged and there are no unbuilt components in a batch
2017-04-07 11:34:16 +02:00
Filip Valder
906bef4e6a
add posargs for passing additional args to py.test (e.g. run tests in specific file/dir only)
2017-04-07 10:36:50 +02:00
Filip Valder
0ccb5d3939
just compare the two sets (w/-o any ordering)
2017-04-07 10:36:46 +02:00
Jakub Kadlčík
28dda0a5c8
Use empty chroot with base-runtime
2017-04-07 08:53:41 +02:00
Jakub Kadlčík
04270ebc7f
Install some required packages into the buildroot
2017-04-07 08:53:41 +02:00
Jakub Kadlčík
62d6930d92
Update repos in the chroot instead of the repos for the whole project
2017-04-07 08:53:41 +02:00
Jakub Kadlčík
70185edad4
Move chroot-updating logic to separate function
2017-04-07 08:53:41 +02:00
Jakub Kadlčík
3b7108dc07
Install module-build-macros to the buildroot
2017-04-07 08:53:41 +02:00
Jakub Kadlčík
ca805e698e
Merge builder.py changes from master, pt2
...
* 9f017c7 (origin/argument-typofix) Further typofix.
* 1ec28cd Typo in the argument name here.
2017-04-07 08:29:10 +02:00
Jakub Kadlčík
35ff4a8aca
Merge builder.py changes from master, pt2
...
* 9c875ce Do not try to rebuild the module-build-macros when it already exists in buildroot.
* 7e57432 Use Koji multicall when tagging builds. Do not query Koji to get the status of builds which we are reusing from previous module build.
2017-04-07 08:22:59 +02:00
Jakub Kadlčík
469cbc8846
Fix failing test after separating builders
...
Thanks to @jkaluza for this patch
2017-04-07 08:22:59 +02:00
Jakub Kadlčík
a7ef1f5445
Unify parameter name to module_build
2017-04-07 08:22:59 +02:00
Jakub Kadlčík
3ba114c0b1
Merge builder.py changes from master
...
* 47c4363 Fix #467 - Inject modules.yaml to mock repository
* eaeaf29 unused method
* 6412a7f use module owner for whitelisting Koji packages
* 80f78c7 rename to match what it actually does
* 4c57329 include %module_name, %module_stream and %module_version in the module-build-macros and fix sending active=True in pdc.py
2017-04-07 08:22:59 +02:00
Jakub Kadlčík
98dce17eab
Import only the desired builders
2017-04-07 08:22:59 +02:00
Jakub Kadlčík
3817d37e35
Move send_repo_done to utils
2017-04-07 08:22:59 +02:00
Jakub Kadlčík
18502030f2
Rename _execute_cmd to not be private
2017-04-07 08:22:59 +02:00
Jakub Kadlčík
a4a3f1734d
Move common functions to utils file
2017-04-07 08:22:59 +02:00
Jakub Kadlčík
836f0fb88b
We can finally have global imports
2017-04-07 08:22:59 +02:00
Jakub Kadlčík
02c9f43dbe
Set proper authors for particular builders
2017-04-07 08:22:59 +02:00