Commit Graph

654 Commits

Author SHA1 Message Date
Filip Valder
be7c8d7aff Fix #661: mbs hard-codes x86_64 as the local architecture 2017-09-15 15:18:02 +02:00
Filip Valder
f86654c655 Fix #641 - mock configuration is hardcoded 2017-09-13 15:09:56 +02:00
mprahl
24c5468cb1 Modify generatelocalhostcert in manage.py to use a random serial number to prevent errors in the browser 2017-09-11 16:31:48 -04:00
mprahl
2ce4201206 Simplify _establish_ssl_context in manage.py 2017-09-11 15:55:47 -04:00
mprahl
e8061aec79 Remove unused command in manage.py 2017-09-11 15:47:32 -04:00
Filip Valder
3cb41aa5dc Changes in MBS restful API:
- Refactor MBS API code
- Unify module-/component_build API philosophy/design/approach
- Naming fixes
- _utc_datetime_to_iso moved from ModuleBuildAPI and is now a module-level function.
- Existing v1 API remains unchanged. ComponentBuildAPI now supports individual component build listing + verbose mode.
- documented in README
- various component_build API tests added
2017-09-11 14:48:22 +02:00
Ralph Bean
6cb836c862 Nope.
Dead.
2017-09-08 14:49:58 -04:00
Jan Kaluža
2a6cbe6ddb Merge #647 Add 'requires' of 'build-required' modules to buildroot when building module. 2017-09-08 07:38:41 +00:00
Jan Kaluza
83628ec74f Add 'requires' of 'build-required' modules to buildroot when building module. 2017-09-08 09:25:44 +02:00
Ralph Bean
ef4acf0641 Add the koji tag for the content to the CG metadata.
@puiterwijk will want to use this in robosignatory to figure out what
content needs to be signed.
2017-09-07 11:38:45 -04:00
Jan Kaluza
4f4a6c92b0 Use PDC ordering to get the latest module. 2017-09-07 09:16:19 +02:00
Filip Valder
bfacf93644 Merge #662 utils: unbreak building packages when tests are skipped 2017-09-04 13:19:04 +00:00
Igor Gnatenko
99a6c03507 manager: skiptests is not positional argument
mbs-build adds --skiptests option, but mbs-manager thinks that skiptests
is positional argument.

Fixes: aac4227eb8
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-09-03 13:20:37 +02:00
Igor Gnatenko
ee1176f444 utils: unbreak building packages when tests are skipped
Just replacing %check macro is ¤&%¤#%&¤%¤. I'm not going to
add any more words on it.

It breaks building many packages.

Fixes: 5391e7c9af
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-09-03 12:22:11 +02:00
Jan Kaluza
8c3ca6986e Filter out packages in Mock backend based on the mmd filter 2017-08-31 10:47:16 -04:00
Jan Kaluža
94a97aa83c Merge #636 [copr] Enable custom chroot on existing projects 2017-08-28 19:49:27 +00:00
Jan Kaluža
157b7cd954 Merge #656 CoprModuleBuilder - Use Fedora-Modular-26 repos instead of a Rawhide 2017-08-28 19:40:34 +00:00
Jakub Kadlcik
3fab0d03d4 Use Fedora-Modular-26 instead of a Rawhide 2017-08-28 21:26:27 +02:00
Jan Kaluža
af6ef0d352 Merge #648 Update and reformat README, CONTRIBUTING guide and sync code comments 2017-08-28 19:19:34 +00:00
Filip Valder
73031fd15b Merge #649 Yet another fix for #24 2017-08-28 07:11:55 +00:00
Ralph Bean
3382d187fe Change the module dist_tag separator.
Fixes #650.
2017-08-25 13:26:28 -04:00
Filip Valder
7613fa4ee1 Yet another fix for #24 2017-08-25 15:10:52 +02:00
Filip Valder
2e2856169a Update and reformat README, CONTRIBUTING guide and sync code comments 2017-08-25 14:45:42 +02:00
Jan Kaluža
6627e6ee5e Merge #645 Always regen repository when starting module build to not wait on kojira. 2017-08-24 12:04:42 +00:00
Jan Kaluza
dfdd924bbf Always regen repository when starting module build to not wait on kojira. 2017-08-18 09:39:07 +02:00
Jan Kaluža
77ac0db625 Merge #644 Add 'mbs-build local [[--add-local-build n:s:v], ...]' to use local builds as dependency. 2017-08-17 08:07:43 +00: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
6a2e9aeddd Fix #576: Remove empty/useless log files 2017-08-16 13:39:59 +02:00
Filip Valder
1775d33f63 Fix/remove app recreation when used by Flask-Script (Manager) 2017-08-16 11:49:09 +02:00
Jakub Kadlcik
bbf80836f2 Enable custom chroot on existing projects 2017-08-10 12:38:38 +02:00
Filip Valder
41f5472021 Merge #631 Do not rebuild the -build tag repository for last batch. 2017-08-09 00:40:05 +00: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
27d249fe17 Do not rebuild the -build tag repository for last batch. 2017-08-07 15:46:38 +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
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
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