Jan Kaluza
ae78ebb909
1.3.25
v1.3.25
2017-07-17 10:11:20 +02:00
Neha Prasad
006efacb8e
add scm url to api
2017-07-14 12:09:33 -04:00
Ralph Bean
bb56e4f057
Refactor get_build_by_artifact so that it always returns the same kind of dict.
2017-07-14 09:21:52 -04:00
Ralph Bean
d9b1576353
Tests for _get_build_by_artifact.
...
Tests for https://pagure.io/fm-orchestrator/pull-request/583
2017-07-13 14:09:37 -04:00
Ralph Bean
4c60030d31
Use a real module dist_tag here instead of module_x (for believability!)
2017-07-13 14:01:52 -04:00
Ralph Bean
ed0db4ddea
Indentation.
2017-07-13 14:01:27 -04:00
Ralph Bean
5d034185af
Remove unused bits.
2017-07-13 14:01:09 -04:00
Jan Kaluza
439767cbcf
Tag the component to final tag in case it is built, but not tagged.
2017-07-13 13:37:10 -04: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
0d614e5bdc
Revert "Remove checksum comparison in CG test."
...
This reverts commit 98a1a55694 .
2017-07-11 13:27:54 -04:00
Ralph Bean
af6be26f34
Add lots of logging to component-reuse logic.
...
We had a build today that did not re-use its components when we expected
it to. I looked at the logs, but didn't have any information to help
figure out why this happened.
These log statements should help for the next time.
2017-07-11 13:03:13 -04:00
Matt Prahl
0f5bd40cb7
Merge #606 Create app_context before database session.
2017-07-11 12:46:22 +00:00
Jan Kaluža
746f284c0a
Merge #600 Include logger tests.
2017-07-11 07:55:58 +00:00
Jan Kaluza
1621c1e4fd
Create app_context before database session.
2017-07-11 09:41:55 +02:00
Ralph Bean
10bf49bffe
Use tempdir for storing logs during test.
2017-07-11 09:35:10 +02:00
Jan Kaluža
19f4f8077b
Merge #602 Find module build using attributes of a component build in koji
2017-07-11 07:32:12 +00:00
Jan Kaluza
35176e903b
Include logger tests.
2017-07-11 08:31:05 +02:00
Ralph Bean
932dc09c2a
No reason for this default.
2017-07-10 20:13:58 -04:00
Yashvardhan Nanavati
d79a9584c7
Find module build using attributes of a component build in koji
2017-07-07 14:37:43 -04:00
Ralph Bean
98a1a55694
Remove checksum comparison in CG test.
...
The checksum of the build.log file changes every time because it is (in
part) based on the timestamp that the file was written (at the time of
the test run).
2017-07-07 14:35:08 -04:00
Ralph Bean
5ac5ab0c13
Merge #601 Add build log into koji content generator
2017-07-07 15:56:55 +00:00
Ralph Bean
a755104bd4
Fix the test suite.
...
We had some circular imports that caused the tests (and more?) to fail.
I ran into this when looking at the tests for #583 and #595 .
2017-07-06 21:02:32 -04:00
mprahl
3e819abcb6
Include the query arguments in the pagination metadata
2017-07-06 09:09:17 -04:00
Stanislav Ochotnicky
40074b088e
Fix test for logging change
...
Change of configuration to enable logging by default caused the test to
fail because mocked object had no id. This change fixes the test and
sets up cleanup for logs
2017-07-04 08:51:53 +02:00
Stanislav Ochotnicky
747b60f4b4
Add build logs into the koji content generator
...
This change adds another output next to the mmd file - a build.log which
will contain builds collected during the module build
2017-07-03 13:07:43 +02:00
Stanislav Ochotnicky
db44ce8c3c
Convert mmd strings to unicode
...
This makes it easier to spot testsuite issues as well since json.loads
returns unicode strings
2017-07-03 11:48:41 +02:00
Jan Kaluza
93092a43be
Add per-module-build logging feature
2017-06-30 16:30:47 +02:00
Jan Kaluza
2320acdc1d
1.3.24
v1.3.24
2017-06-27 14:43:48 +02:00
Ralph Bean
c907ff1205
Provide a traceback for mohan.
...
... in case he ever wants it.
2017-06-22 14:12:57 -04:00
Owen W. Taylor
40ececa5a0
MockModuleBuilder: Fix thread safety problem with distgit-clone-wrapper
...
Multiple build threads would try to write to the same distgit-clone-wrapper
location, which could result in ETXTBSY when one thread tried to execute
a script that another was writing to or vice-versa.
Instead of using a wrapper script, use a sh -c invocation for distgit_get.
https://pagure.io/fm-orchestrator/issue/592
2017-06-16 06:14:07 -04:00
Jan Kaluža
8ac5c67e2c
Merge #585 CoprModuleBuider - build from SCM fix
2017-06-16 06:40:40 +00:00
Jan Kaluža
646775d14d
Merge #588 Fix #580 : add --skiptests option to mbs-build and manage.py build_module_locally
2017-06-16 06:39:41 +00:00
Owen W. Taylor
786dd2f301
MockModuleBuilder: move generated artifacts to the final directory, instead of copying them
...
There's no good reason to have artifacts in both the thread-specific results directory
and in the main results directory, so just move them across instead of copying them.
https://pagure.io/fm-orchestrator/issue/591
2017-06-15 16:30:04 -04:00
Owen W. Taylor
280facdbe0
MockModuleBuilder: Pass an explicit pkglist to createrepo_c
...
createrepo_c recursively looks for RPMs in the target directory and
subdirectories, meaning that it was finding RPMs in the thread-specific
directories. Pass in an explicit list of RPMs at the toplevel.
https://pagure.io/fm-orchestrator/issue/591
2017-06-15 16:25:04 -04:00
Filip Valder
5391e7c9af
add --skiptests option to mbs-build and manage.py build_module_locally
2017-06-09 15:20:30 +02:00
Jan Kaluza
4b16cf9a64
Fix various bugs in 'mbs-build local'
2017-06-07 13:16:26 +02:00
Jan Kaluza
a07b44411c
Set the state_reason when format_mmd raises in frontend and do not overwrite the state_reason in backend.
2017-06-06 14:49:49 +02:00
Jakub Kadlčík
68d9285749
Don't checkout branch if it is HEAD
2017-06-05 22:00:07 +02:00
Jan Kaluza
b4c0f49e4b
Fix get_reusable_component in case when database returns components in different order than what we have in MBS.
2017-06-05 15:03:59 +02:00
Jan Kaluža
a1e89f3d47
Merge #578 Allow CoprModuleBuilder to obtain SRPMs from copr-dist-git
2017-06-02 12:13:12 +00:00
Jakub Kadlčík
cdb2c50266
foo
2017-06-01 20:48:21 +02:00
Ralph Bean
2ab6193987
Rename consecutive to concurrent.
...
Fixes #574 .
2017-05-31 13:54:11 -04:00
Ralph Bean
81d1194327
Merge #569 Enable koji content generator code
2017-05-31 14:15:41 +00:00
Stanislav Ochotnicky
b33beb0cef
Enable koji content generator code
...
If the koji_enable_content_generator is configured to True koji instance
has to be configured as follows:
koji call addBType module
koji grant-cg-access <mbs-user> module-build-service --new
Without the above configuration MBS will start failing the builds
2017-05-31 14:48:34 +02:00
Jan Kaluza
a839dc7097
1.3.23
v1.3.23
2017-05-31 10:44:25 +02:00
Jakub Kadlčík
0aee22b753
Move the hackish code to CoprModuleBuilder
2017-05-30 15:22:34 +02:00
Jakub Kadlčík
c7e8ba2f1d
MockModuleBuilder does not use build_from_scm function anymore
2017-05-30 14:50:09 +02:00
Jakub Kadlčík
8c25f6d210
Implement method for submitting a build from distgit source
2017-05-30 14:31:35 +02:00