Commit Graph

984 Commits

Author SHA1 Message Date
Jan Kaluza
d06c13d973 Fix the bug when module build freezes when all the components in batch have been already built by builder. 2016-12-12 21:03:44 +01:00
Matt Prahl
6182053c4a Add noserunner.py as a valid way to test MBS 2016-12-12 09:00:44 -05:00
Matt Prahl
9d734d38ce Create fake baseruntime module directly to avoid DetachedInstanceError 2016-12-12 09:00:44 -05:00
Filip Valder
7fcfe05f85 Fix issue #251:
- support for mupltiple SCM URLs (logic was broken when there were more
than one SCM URL in SCMURLS conf. var)

- unsplit-brain handling of SCM URLs between frontend and backend
2016-12-12 13:05:27 +01:00
Filip Valder
51264e4c8c Merge #253 Fix #211 - SIGINT handling 2016-12-12 10:52:48 +00:00
Filip Valder
41f9830808 add docstring and Ctrl+C instruction 2016-12-12 11:43:29 +01:00
Filip Valder
60ec4552b9 prepare graceful_stop method for proper shutdown; support for intermediate Ctrl+C 2016-12-12 11:43:29 +01:00
Filip Valder
5d8a728d89 fix #211: stay attached to the main thread to keep control (foreground mode) 2016-12-12 11:43:29 +01:00
Filip Valder
adbdc29545 tidy up 2016-12-12 11:43:29 +01:00
Jan Kaluža
183e128074 Merge #254 Choose the module with highest release number from PDC results when variant_release is not defined. 2016-12-12 10:39:44 +00:00
Filip Valder
184c73cae9 rely on {conf,module_build_service}/config.py and 'debug' conf item value 2016-12-09 17:32:20 +01:00
Filip Valder
379af8fe7e register/set 'debug' conf variable 2016-12-09 17:29:41 +01:00
Filip Valder
e1fcc1f457 new command: mbs-manager (Flask command manager) 2016-12-09 13:31:50 +01:00
Filip Valder
2eda23233e implement MODULE_BUILD_SERVICE_DEVELOPER_ENV functionality 2016-12-09 13:30:57 +01:00
Jan Kaluza
04899d7bc7 Choose the module with highest release number from PDC results when variant_release is not defined. 2016-12-09 12:54:10 +01:00
Matt Prahl
f94949b690 Merge #244 Include modulemd in the module.state.change messages so it can be handled by pdc-updater. 2016-12-07 18:56:22 +00:00
Matt Prahl
15b5cf11b9 Fix default path for pki_dir 2016-12-07 09:24:33 -05:00
Jan Kaluza
1c66edc53e Include modulemd in the module.state.change messages so it can be handled by pdc-updater. 2016-12-07 13:18:39 +01:00
Jan Kaluža
f14fc00a09 Merge #240 Use timeout for build tests to prevent hanging, import queue from six.moves, fix init_logging import for jenkins 2016-12-07 11:19:38 +00:00
Filip Valder
8c7e631cac Merge #241 Fix frontend's context 2016-12-07 10:28:41 +00:00
Jan Kaluza
fe37b6c11e Prefix tag in buildroot_add_repos with 'module-', because tags are prefixed like that in koji and PDC. 2016-12-07 11:18:05 +01:00
Filip Valder
3d4cc41c27 use just once during upgradedb otherwise frontend's request processing
is out of application context

From docs: Setting a SERVER_NAME also by default enables URL generation
without a request context but with an application context.
2016-12-06 14:21:25 +01:00
Jan Kaluza
9eff11fdb0 Use timeout for build tests to prevent hanging, import queue from six.moves, fix init_logging import for jenkins 2016-12-06 11:33:15 +01:00
Jan Kaluza
b45905cbd0 Add 'in_memory' messaging backend and use it during build_module_locally to drop dependency on fedmsg-relay for local builds. 2016-12-06 10:21:42 +01:00
Filip Valder
79715ecfbe missing: import logging 2016-12-05 15:18:26 +01:00
Filip Valder
8c09742b8b went to module_build_service/manage.py few commits ago, just forgot to delete it during rebase 2016-12-05 15:18:26 +01:00
Filip Valder
e075fbb24d fallback to conf.config if there's no global configuration 2016-12-05 15:17:37 +01:00
Filip Valder
c06bf7c7be fix & rename ... perhaps might be configurable? 2016-12-05 15:17:37 +01:00
Filip Valder
4a78d4ece9 test whether it works like this 2016-12-05 15:17:37 +01:00
Filip Valder
b00a34f1f2 let's try this fix for 'RuntimeError: working outside of application context' 2016-12-05 15:17:37 +01:00
Filip Valder
316dd43778 better use conf items/vars 2016-12-05 15:17:37 +01:00
Filip Valder
d9976818a4 change security bits for cert_key_file 2016-12-05 15:17:37 +01:00
Filip Valder
56a2004320 not very smart... 2016-12-05 15:17:37 +01:00
Filip Valder
7c4443fd3e this shall be accessible for module_build_service's product users in order to be able to upgrade underlying DB 2016-12-05 15:16:41 +01:00
Filip Valder
77cd112275 move & lint 2016-12-05 15:16:41 +01:00
Filip Valder
d166b7e213 move & lint 2016-12-05 15:16:41 +01:00
Filip Valder
3eb152f7d6 simplify things 2016-12-05 15:16:41 +01:00
Filip Valder
3d0e83d8e1 load source file config.py as module 2016-12-05 15:16:41 +01:00
Jan Kaluza
8b3244405f Make the OIDC error messages more verbose and include non-secret client-secrets.json 2016-12-05 11:40:00 +01:00
Jan Kaluza
8cb4e0de5d Use OIDC to auth the users, replace submit-build.sh by submit-build.py which does hackish way of OIDC just to test things. 2016-12-02 14:52:04 +01:00
Ralph Bean
d453352f84 Merge #231 Copr - real building && finalize method 2016-12-01 21:47:21 +00:00
Ralph Bean
9303be7a4e Merge #228 Drop alembic fake base-runtime code. 2016-12-01 15:56:10 +00:00
Jakub Kadlčík
bdec1bb85f Dont create module if any build failed 2016-12-01 02:54:53 +01:00
Jakub Kadlčík
74ab8ab8cc Refactor duplicit build_from_scm method 2016-12-01 02:19:06 +01:00
Jakub Kadlčík
c68a1908bd Wait in loop until all builds are finished 2016-12-01 02:16:56 +01:00
Jakub Kadlčík
fffefb5f48 Fallback to koji when module is not in copr 2016-12-01 02:16:56 +01:00
Jakub Kadlčík
99d2dfbc87 There really should be 'failed' 2016-12-01 02:16:56 +01:00
Jakub Kadlčík
84b7b08f25 Upgrade copr builder to support modulemd 1.0.2 2016-12-01 02:16:56 +01:00
Jakub Kadlčík
94c1b80cb2 Workaround missing module_build_tag in copr 2016-12-01 02:16:56 +01:00
Jakub Kadlčík
83a71e0443 Wait some time until builds are finished 2016-12-01 02:16:56 +01:00