Ralph Bean
01c8295269
Add an incrementing prefix to the dist_hash.
...
For #823 .
2018-01-17 16:54:02 -05:00
mprahl
430ac4ba31
Use the "build_context" field when evaluating if a previous module's buildrequires changed
2018-01-16 10:36:09 -05:00
mprahl
a67b53f5c3
Add a "context" field on component and module releases in Koji for uniqueness for when Module Stream Expansion is implemented
2018-01-16 10:36:09 -05:00
mprahl
d13699fce3
Fix some logic errors in FakeModuleBuilder
2017-12-08 16:08:29 -05:00
mprahl
12d036089e
Fix test_submit_build_resume_init_fail
2017-12-08 16:04:40 -05:00
mprahl
aa4ca009ef
Fix situations where module-build-macros builds in Koji but fails in MBS and the build is resumed
2017-12-08 15:50:55 -05:00
mprahl
5e9d846872
Fix double tagging on module builds that have all their components reused
2017-11-28 09:50:35 -05:00
mprahl
30ef85af01
Fix "instant complete" builds and reusing all components
2017-11-27 16:20:28 -05:00
mprahl
fa6f43e748
Fail module builds directly when a component build in a batch fails
2017-11-17 10:44:15 -05:00
Matt Prahl
ea26e0281a
Merge #788 Fix bug and clean up scm.get_latest
2017-11-14 13:38:23 +00:00
mprahl
1622494b17
Replace the name of the "branch" parameter in "scm.get_latest" to "ref"
2017-11-13 09:20:20 -05:00
Ralph Bean
8431d2698b
Explicit imports of builders in the test suite.
2017-11-10 16:03:14 -05:00
mprahl
bb0dde9936
Only complete the module build when *all components are tagged* and a KojiRepoRegen message is received
2017-11-10 08:33:53 -05:00
mprahl
3ccbb3dd57
Fix duplicate state traces
2017-11-08 10:18:47 -05:00
mprahl
a8421568f9
Fix Flake8 errors
2017-11-08 08:45:58 -05:00
mprahl
b578f802a6
Reenable skipped test
2017-11-07 14:57:27 -05:00
mprahl
d7c49caca8
Skip a test that hangs when run on CentOS CI over SSH
2017-11-07 13:20:38 -05:00
mprahl
11e39ab0c3
Fix multiple transitions to the failed state
2017-11-06 16:46:57 -05: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
mprahl
58d160cce4
Transition a failed module to wait instead of init upon resuming
2017-11-03 15:12:39 -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
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
mprahl
c7e6fff1d8
Handle module builds without components
2017-10-31 14:47:26 -04: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
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
Jan Kaluza
ac92a389d6
Fix module dist_tag separator in tests
2017-08-31 10:46:42 -04:00
Jan Kaluza
aac4227eb8
Add 'mbs-build local [[--add-local-build n:s:v], ...]' to use local builds as dependency.
2017-08-17 10:00:19 +02:00
Filip Valder
09b3f32dbb
Fix #619 : Support for module YAML file validation within a SCM repository
2017-08-07 13:10:53 +02:00
Filip Valder
7ef2975984
PEP8 fixes
2017-07-17 18:29:10 +02:00
Ralph Bean
af5460db80
Merge #604 Remove checksum comparison in CG test.
2017-07-12 18:18:18 +00:00
Ralph Bean
b3dc1bf4a9
Longer timeout on test_submit_build_resume
...
This should "fix" #568 .
2017-07-11 13:47:18 -04:00
Stanislav Ochotnicky
a6411bc6b1
Clean up logs for build tests
2017-07-11 13:28:08 -04:00
Ralph Bean
2ab6193987
Rename consecutive to concurrent.
...
Fixes #574 .
2017-05-31 13:54:11 -04:00
Jan Kaluža
4593ee5d95
Merge #526 Do not tag built components if there is any failed one.
2017-05-17 09:48:05 +00:00
Jan Kaluza
7d7a45f997
Do not tag built components if there is any failed one.
2017-05-12 10:39:48 +02:00
Jan Kaluza
186295bf17
Skip the batch when there are no components to build.
2017-05-10 09:10:14 +02:00
Jan Kaluža
85554e519a
Merge #520 Do not build module-build-macros when all the components will be reused from previous module build.
2017-05-02 10:12:50 +00:00
Jan Kaluza
024877592c
Do not build module-build-macros when all the components will be reused from previous module build.
2017-05-02 12:09:23 +02:00
Nils Philippsen
b711d3fe5d
pep8: remove trailing white space
2017-04-21 12:54:06 +02:00
Nils Philippsen
ec2be36d6e
pep8: don't surround '=' with spaces for keyword args
2017-04-21 12:54:06 +02:00
Jan Kaluza
f8bb6e8e99
Fix another place where test results depend on the yaml parsing order.
2017-04-19 12:30:39 +02:00
Jan Kaluza
0e4c106ebb
Fix another place where tests depend on the right ordering in lists
2017-04-04 09:36:32 +02:00
Jan Kaluza
4c5732957c
include %module_name, %module_stream and %module_version in the module-build-macros and fix sending active=True in pdc.py
2017-03-31 15:18:53 +02:00
Jan Kaluza
7fb73da3b7
Fix randomly failing test_build tests caused by different ordering of built components.
2017-03-31 10:47:19 +02:00
Jan Kaluza
597973da98
For mock backend, build all the components in batch in single continue_batch_build call.
2017-03-28 15:44:01 +02:00
Jan Kaluza
4a6d961d66
Handle situation when all component builds in a batch fail
2017-03-23 14:25:20 +01:00
Jan Kaluza
1487fd01f2
Remove is_waiting_for_repo_regen and use buildroot_ready instead. Do not get buildroot dependencies from the buildrequires recursively. Do not validate Koji tags to inherit.
2017-03-22 17:29:05 +01:00