1727 Commits

Author SHA1 Message Date
mprahl
bc3412683a Update to v1.7.0 v1.7.0 2018-02-07 15:18:44 -05:00
mprahl
e77ce2c5b1 Fix flake8 errors 2018-02-07 15:01:49 -05:00
Matt Prahl
a5c174d9d3 Merge #858 Make components reuse faster by getting the 'previous_module_build', 'mmd' and 'old_mmd' from DB just once. 2018-02-07 19:56:29 +00:00
Jan Kaluza
f32367cee9 Make components reuse faster by getting the 'previous_module_build', 'mmd' and 'old_mmd' from DB just once. 2018-02-07 20:50:49 +01:00
Matt Prahl
bb865758cb Merge #857 Don't fail a module build when there are no buildrequires 2018-02-07 11:59:09 +00:00
mprahl
d06bd3a49e Don't fail a module build when there are no buildrequires 2018-02-06 11:09:31 -05:00
mprahl
575c2b8f05 Make the poller not resume paused module builds if there was recent activity on the build
This fixes an issue that occurs when someone submits a module build and most of its components
get reused and the poller just so happens to try to resume the build.
2018-02-06 10:45:07 -05:00
mprahl
f16bf5f5a5 Add a SQLAlchemy hook to modify "time_modified" on module build entries 2018-02-06 10:45:07 -05:00
mprahl
183c74d758 Add .pytest_cache to .gitignore 2018-02-06 10:45:07 -05:00
mprahl
8f024e6b04 Remove the dependency on vcrpy in unit tests and modernize some of the test data 2018-02-05 22:17:18 -05:00
mprahl
ea650047a1 Use a random build_id instead of an incrementing one in FakeModuleBuilder
I ran into issues on CentOS CI where fake Koji build messages were getting
one ID but the task_id for the component in the database was getting
another. Making the build_id random and not tied to the class seems to
resolve that issue.
2018-02-05 22:16:53 -05:00
mprahl
b7998d4402 Remove the need for nose and solely rely on pytest 2018-02-05 22:11:31 -05:00
mprahl
0fd29b33c3 Removed unneeded timed decorators on test_build tests 2018-02-05 22:11:31 -05:00
mprahl
63e39232a4 Add "-v" to the pytest command when run in tox 2018-02-05 22:11:31 -05:00
mprahl
5795a5017a Don't ignore the tox flake8 test 2018-02-05 22:11:31 -05:00
mprahl
e820fe655c Remove duplicate test that tests a module resubmission 2018-02-05 22:11:31 -05:00
mprahl
0f13164ac8 Use a set instead of a list when making sure the buildrequires match on a modulemd 2018-02-05 22:11:31 -05:00
mprahl
6b3cc64711 Use a FileStorage object instead of a tuple when testing direct modulemd submissions
It seems that there is a bug with the Flask test client when submitting a tuple of
file path and content, that incorrectly sets the filename to be the first line of
the file contents instead of the actual filename. We should eventually investigate
this and report a bug or provide a patch.
2018-02-05 11:44:55 -05:00
mprahl
fa0020d164 Properly get the module name when a YAML file is submitted 2018-02-02 11:02:45 -05:00
mprahl
4fcb432a33 Fix PDCClient calls to unreleasedvariants 2018-02-02 11:02:45 -05:00
mprahl
8afa30a324 Make the import to PDCClient consistent for easier mocking 2018-02-02 11:02:45 -05:00
mprahl
e91d09f7ca Change the format of the unit tests to pytest 2018-01-31 16:34:21 -05:00
Matt Prahl
fb8e9cf02c Merge #851 Set the owner on Koji CG builds 2018-01-31 00:28:18 +00:00
Matt Prahl
83978c66df Merge #849 Use external repos tied to the Koji tags on local builds 2018-01-31 00:27:12 +00:00
mprahl
df594da8a5 Remove the Koji proxyuser functionality 2018-01-30 11:49:03 -05:00
mprahl
477fa2ed6a Set the owner on Koji CG builds 2018-01-30 09:23:09 -05:00
mprahl
2651d53603 Use external repos tied to the Koji tags on local builds 2018-01-29 14:34:04 -05:00
mprahl
2a018a649f Add consistency to the type of quotes used in "buildroot_add_repos" 2018-01-29 14:33:35 -05:00
Filip Valder
5b4a8f6240 New: Resolver API for pluggable resolvers 2018-01-29 15:54:19 +01:00
mprahl
68afd52fd3 Add additional checks in test-mbs-fedora-staging-resume.sh 2018-01-23 10:56:54 -05:00
mprahl
98a2221a8c Bump the version to 1.6.3 v1.6.3 2018-01-23 10:05:24 -05:00
mprahl
94aff8935e Reset the component state reasons when a module build is resumed 2018-01-23 09:42:38 -05:00
mprahl
667e946444 Reset the module-build-macros state when building it from a resumed module build 2018-01-23 09:41:59 -05:00
mprahl
2dfa3ce484 Bump the version to 1.6.2 v1.6.2 2018-01-22 15:42:43 -05:00
mprahl
bf80ce4537 Don't traceback on failed task cancellations and log those exceptions 2018-01-22 15:20:41 -05:00
mprahl
3c07ea38e4 Cancel new repo tasks on module build failures 2018-01-22 14:39:30 -05:00
mprahl
dc2ce33f7a Bump the version to 1.6.1 v1.6.1 2018-01-22 13:38:33 -05:00
mprahl
7b7211e4ee Fix an error that occurs when a module build is resumed and module-build-macros was cancelled 2018-01-22 13:30:43 -05:00
mprahl
c76bd96154 Bump the version to 1.6.0 v1.6.0 2018-01-22 10:51:49 -05:00
mprahl
601cd64a2a Add a change log 2018-01-22 10:51:22 -05:00
Ralph Bean
0da5def20f Merge #839 Move the Vagrant synced folder to /opt/module_build_service 2018-01-22 08:02:20 +00:00
Matt Prahl
a48cb841fb Merge #841 Use Koji repos if possible during local builds 2018-01-19 13:45:35 +00:00
mprahl
55d07aa8f5 Use Koji repos if possible during local builds 2018-01-18 17:02:03 -05:00
Ralph Bean
7e6b54dd54 Address modules in the test suite with id=0.
It wasn't technically wrong before, just soft.
2018-01-18 14:49:27 -05:00
mprahl
ff18d76dc4 Move the Vagrant synced folder to /opt/module_build_service 2018-01-18 14:01:58 -05:00
Ralph Bean
01c8295269 Add an incrementing prefix to the dist_hash.
For #823.
2018-01-17 16:54:02 -05:00
mprahl
482a846659 Fix CentOS CI 2018-01-16 14:48:21 -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
Ralph Bean
15c16ccfcf Merge #834 Faster SCM tests. 2018-01-15 21:31:42 +00:00