Ralph Bean
7f94de86b6
Merge #776 A less brittle staging test.
2017-11-07 15:46:27 +00:00
Ralph Bean
8520cabe4e
A less brittle staging test.
...
Establish a baseline before trying to detect re-use.
2017-11-07 09:25:59 -05:00
Brian Stinson
3ba675e78e
add tox as a dep
2017-11-07 01:22:18 -06:00
Brian Stinson
cd1e846c12
add a jenkinsfile for ci.centos.org
2017-11-07 01:21:36 -06:00
mprahl
ed94d2404f
Bump to v1.4.5
v1.4.5
2017-11-06 17:04:27 -05:00
mprahl
18e7f608b1
Solidify how the previous module state is determined when resuming a failed module build
2017-11-06 16:54:10 -05:00
mprahl
11e39ab0c3
Fix multiple transitions to the failed state
2017-11-06 16:46:57 -05:00
mprahl
3a3365610d
Bump to v1.4.4
v1.4.4
2017-11-06 14:27:41 -05:00
Matt Prahl
475cd5c748
Merge #769 Allow resuming from a failure during the "init" phase
2017-11-06 19:26:02 +00:00
Matt Prahl
e91cf71d43
Merge #768 Clean up error message in get_module_yaml
2017-11-06 19:17:43 +00:00
mprahl
d8f126e978
Allow resuming from a failure during the "init" phase
...
This also shifts build failure transitions from individual functions
in utils.py to the init module handler.
2017-11-06 14:15:12 -05:00
Ralph Bean
69b6a397d5
Merge #763 Add a script to test MBS in fedora-stg.
2017-11-06 18:59:44 +00:00
mprahl
80df4be363
Remove stale TODO comment
2017-11-06 11:35:54 -05:00
mprahl
6fc5a6c9b1
Clean up error message in get_module_yaml
2017-11-06 09:18:40 -05:00
mprahl
74993a4df2
Bump to version v1.4.3
v1.4.3
2017-11-03 16:30:17 -04:00
Matt Prahl
43b0367c40
Merge #766 Some more useful error messages.
2017-11-03 20:24:28 +00:00
mprahl
e91f4fdea6
Revert "added git option which will return correct return code"
...
This caused an issue when the modulemd had the ref's for its components
as commit hashes instead of branches.
This reverts commit 15f332e60f .
2017-11-03 16:20:33 -04:00
Ralph Bean
c49a0192f0
Some new gitignore stuff.
2017-11-03 15:57:26 -04:00
Ralph Bean
4200579835
Add a second test script.
2017-11-03 15:56:53 -04:00
mprahl
91350b6106
Bump to version v1.4.2
v1.4.2
2017-11-03 15:27:56 -04:00
mprahl
58d160cce4
Transition a failed module to wait instead of init upon resuming
2017-11-03 15:12:39 -04:00
Ralph Bean
5e420a61ee
Some more useful error messages.
...
@jaruga hit this today. The error message didn't contain enough information to
debug appropriately.
2017-11-03 11:38:54 -04:00
Ralph Bean
960ff1c4f3
Add a script to test MBS in fedora-stg.
...
It does a little exercise... and it works! Used today to test
mbs-1.4.1. We can probably expand on this later to add other tests as
we like.
2017-11-03 09:26:20 -04:00
mprahl
3d687b9a59
Bump to v1.4.1
v1.4.1
2017-11-02 13:43:06 -04:00
Ralph Bean
9b006e1ba5
The Case of the Mysterious Dist Tag
...
We ran into a crazy bug in stg today where the `disttag` of every
component build .. for every module .. was the same! (duh duh duh).
Turns out this had to do with the way we were writing the name, stream,
and version values back into the yaml file we recorded. More correctly,
how we *weren't* writing those values back.
2017-11-02 13:36:18 -04:00
mprahl
089a0c3db4
Fix typo
2017-11-02 08:37:59 -04:00
mprahl
ef23536001
Bump to v1.4.0
v1.4.0
2017-11-01 15:57:57 -04:00
mprahl
45cce653eb
Add the ability to specify different rebuild methods
2017-11-01 15:39:43 -04:00
mprahl
6cf24baebb
Don't allow a user to resubmit a module build that is already in the init state
2017-11-01 10:10:10 -04:00
Martin Curlej
c193ff7419
Flake8 fixes
2017-10-31 16:04:31 -04:00
Martin Curlej
1eb3c653dd
Changed the filters so they execute when everything is build
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2017-10-31 16:04:31 -04:00
mprahl
c7e6fff1d8
Handle module builds without components
2017-10-31 14:47:26 -04:00
Nick Coghlan
d159350fff
Default to reverse ordering by ID in APIs
...
Adjusts the affected tests to assume the
exact current set of default test data.
These tests were also testing the exact
same query URL, so they've been consolidated
into a single test.
2017-10-31 09:15:08 -04:00
Jan Kaluža
a7ab1249da
Merge #736 Do not get buildroot_groups everytime we create KojiModuleBuilder.
2017-10-26 19:20:08 +00:00
Jan Kaluza
b56f56a486
Use dogpile.cache to cache the default_buildroot_groups result
2017-10-26 14:03:23 +02:00
Jan Kaluza
8fedf35b6c
Log the original exception in consumer before trying to do anything else. Also commit the db.session before doing build.transition
2017-10-26 13:26:43 +02:00
Martin Curlej
60b3d97c97
flake8 cleanup
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
removed some noqa tags
2017-10-25 12:13:59 +02:00
mprahl
eedf0a1684
Default verbose to false but present a lot more information when verbose is false
2017-10-23 20:19:51 -04:00
mprahl
f5de140521
Schedule components based on build time
2017-10-23 15:33:57 -04:00
mprahl
8e41f9f335
Try to reuse all components in the batch before starting it
2017-10-23 15:33:57 -04:00
Igor Gnatenko
1e6708b34f
MockedSCM -> FakeSCM
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org >
2017-10-18 17:37:13 +02:00
Matt Prahl
4eaec38ee4
Merge #743 Avoid test collection warning from pytest
2017-10-18 15:28:18 +00:00
Nick Coghlan
5d0287b06f
Avoid test collection warning from pytest
...
pytest thinks `TestModuleBuilder` looks like a test
class name, so it complains about the presence of
an `__init__` method.
Changing the name of the helper class avoids the
warning.
2017-10-18 19:25:15 +10:00
mprahl
62d438651a
Fix tests
2017-10-16 15:09:42 -04:00
mprahl
a9bf4e9727
Add a sleep in the init handler to protect against a race condition
2017-10-16 14:45:04 -04:00
mprahl
28470ec46c
Don't reassign the value of the modulemd when resuming a build
2017-10-16 14:45:04 -04:00
mprahl
6e8d103a0c
Remove unneeded build transition
2017-10-16 14:45:04 -04:00
mprahl
2de4b592d6
Set 'time_modified' at module creation
2017-10-16 14:45:04 -04:00
Jakub Kadlcik
e6a23cfd64
Record components through the backend after module submission
2017-10-16 14:45:04 -04:00
Jakub Kadlcik
7730f0a0ee
Allow to inject database session object
2017-10-16 14:45:04 -04:00