Matt Prahl
cbf1f6acdc
Insert baseruntime in test database
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
Matt Prahl
e9d0ec898b
Use test database instead of in-memory database for all tests for consistency
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
907ae2caf6
test for unsupported SCM scheme handling incl. OIDC auth
2016-12-12 13:05:01 +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
ee3472338c
remove yet another whitespace
2016-12-09 15:18:34 +01:00
Filip Valder
136a22edf0
remove whitespace
2016-12-09 15:16:25 +01:00
Filip Valder
c82480f7dd
thx to @mprahl for native language support :)
2016-12-09 15:13:24 +01:00
Filip Valder
ae14994651
various small fixes, like Mon -> Tue :)
2016-12-09 13:33:42 +01:00
Filip Valder
d114e8d905
docs regarding MODULE_BUILD_SERVICE_DEVELOPER_ENV
2016-12-09 13:32:38 +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
Filip Valder
eec8bd542f
run fedmsg-relay in the context of /tmp/module_build_service, so that it would use ./fedmsg.d configs (at least accto docs)
2016-12-09 13:29:56 +01:00
Filip Valder
139d44b1e4
proposed fix to avoid symlinks on dev instances
2016-12-09 13:27:59 +01:00
Filip Valder
c6e5c38ae3
fix: set env vars at the very beginning and source them immediately -> results in affecting not only bash but all vagrant's environment
2016-12-09 13:27:06 +01:00
Filip Valder
2d55b0eda4
fix: prevent from possible including of some private *.pem file
2016-12-09 13:25:30 +01:00
Filip Valder
16eda69d4d
fix: typo
...
new: set special env var indiciating developer's mode
2016-12-09 13:24:31 +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
Matt Prahl
22fbacdc20
Use 'python setup.py develop' instead so that local syncing works
2016-12-07 09:24:33 -05:00
Matt Prahl
edb0271d36
Add systemd unit for the scheduler
2016-12-07 09:24:33 -05:00
Matt Prahl
392a53d88b
Fix Vagrant and add libvirt support
2016-12-07 09:02:42 -05:00
Matt Prahl
c362cc5089
Add build to .gitignore
2016-12-07 09:00:45 -05:00
Filip Valder
222f968897
Add package for docker images, see PR#243
2016-12-07 13:26:47 +01:00
Filip Valder
2b7cf817a6
sort on you
2016-12-07 13:26:42 +01: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
Filip Valder
1abffa34da
...and we would probably also need git as well, at least at module_build_service/scm.py:138
2016-12-07 12:47:33 +01:00
Filip Valder
4809cb4564
add missing rpm-build pkg for building macros
2016-12-07 12:40:49 +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 Kaluža
34404ad215
Merge #234 Add 'internal' messaging backend and use it during build_module_locally to drop dependency on fedmsg-relay for local builds.
2016-12-06 09:37:42 +00:00
Filip Valder
395ded0243
fix #238 : add httplib2 and the corresponding python-httplib2
2016-12-06 10:26:22 +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
Ralph Bean
6290c714c1
Include these in future release tarballs.
2016-12-05 13:26:10 -05:00
Filip Valder
4d67309df3
use installation from package, join upgradedb && gencert together, use volumes_from on the rest of the places
2016-12-05 15:18:26 +01:00
Filip Valder
9220b8cb0f
update docker-compose/vagrant instructions
2016-12-05 15:18:26 +01:00
Filip Valder
6d58a04aba
fix paths for koji/copr config files
2016-12-05 15:18:26 +01:00
Filip Valder
4c2cccc185
alter Docker-/Vagrantfile so that it installs all dependencies and use 'python setup.py install' for MBS installation
2016-12-05 15:18:26 +01:00