Commit Graph

1396 Commits

Author SHA1 Message Date
Jan Kaluza
6a94a43ee1 Fix test_content_generator tests by ensuring that build_log is removed before running first test 2017-08-08 13:47:49 +02:00
Jan Kaluza
4bbb0cc416 Create module-build-macros component just once - do not duplicate it for each resubmition of a module. 2017-08-08 06:52:28 +02:00
Jan Kaluža
d6056575c5 Merge #630 Fix the bug when module build stuck in the 'build' state even with failed component builds. 2017-08-08 04:37:54 +00:00
Jan Kaluža
9d0528b6b7 Merge #629 Upload build logs to Koji, use .txt extension instead of .yaml by default. 2017-08-08 04:37:02 +00:00
Jan Kaluza
15523ac90e Fix the bug when module build stuck in the 'build' state even with failed component builds. 2017-08-07 15:47:06 +02:00
Jan Kaluza
7d3b4f5147 Upload build logs to Koji, use .txt extension instead of .yaml by default. 2017-08-07 15:39:44 +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
ddc57d08eb Merge #624 Fix #620: Support for log flags in mbs-manager and mbs-build 2017-08-07 10:44:54 +00:00
Filip Valder
31b0e525c4 Fix #620: Support for log flags in mbs-manager and mbs-build 2017-08-04 15:27:23 +02:00
Ralph Bean
5e3f26f03f Merge #623 CG logging, debugging 2017-08-04 13:18:19 +00:00
Jan Kaluža
d9b49a8703 Merge #615 CoprModuleBuider - do not construct SRPMs locally 2017-08-04 06:24:46 +00:00
Jakub Kadlcik
457664184c Handle multiline output better 2017-08-03 23:09:50 +02:00
Jakub Kadlcik
23ce12a099 Sort branches from the oldest 2017-08-03 23:09:43 +02:00
Ralph Bean
cbb75d34e6 Also, only remove the dir if we succeed in passing the buck to koji. 2017-08-03 14:27:26 -04:00
Ralph Bean
dad4500397 Some improved logging for the content generator.
We failed with an error on the first try today, but not enough logging
to figure out why.  This adds more.
2017-08-03 14:26:42 -04:00
Jakub Kadlcik
1c7cb20430 Properly clean temporary directories 2017-08-01 14:51:38 +02:00
Jakub Kadlcik
a707c227ad Allow to specify optional parameters 2017-08-01 13:42:54 +02:00
Jakub Kadlcik
bbcbb97c45 There should be a space in order to be PEP-8 compliant 2017-07-28 21:13:55 +02:00
Jakub Kadlcik
a844500078 Build only in custom chroot 2017-07-28 02:02:43 +02:00
Jakub Kadlcik
ddd371d76c Check whether the buildroot is preped for all build methods 2017-07-28 02:02:43 +02:00
Jakub Kadlcik
9b1d1df056 Remove the hacky build_from_scm code 2017-07-28 02:02:43 +02:00
Jakub Kadlcik
6e6de42d0d Send the actual branch to copr, not commit 2017-07-28 02:02:39 +02:00
Jakub Kadlcik
33010a83bd Refactor build methods to remove duplicity 2017-07-25 01:36:56 +02:00
Jakub Kadlcik
92102a2ac0 Don't build from scm locally 2017-07-24 23:07:59 +02:00
Ralph Bean
aebfb1b812 Merge #595 Fix PEP8 issues 2017-07-18 13:26:38 +00:00
Filip Valder
04545b449d add dogpile.cache & re-sort 2017-07-17 18:29:17 +02:00
Filip Valder
7ef2975984 PEP8 fixes 2017-07-17 18:29:10 +02:00
Filip Valder
9b19e52bc7 add dogpile.cache & re-sort 2017-07-17 17:47:01 +02:00
Ralph Bean
35558f86bc Merge #611 Koji perm_id cache 2017-07-17 14:53:34 +00:00
Neha Prasad
459ffb241d Configure dogpile.cache 2017-07-17 08:56:17 -04:00
Neha Prasad
83b0c1562e fix koji cache 2017-07-14 13:58:16 -04:00
Neha Prasad
006efacb8e add scm url to api 2017-07-14 12:09:33 -04:00
Neha Prasad
df47d3e28c delete setup_memcache.py 2017-07-14 11:44:26 -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