Commit Graph

90 Commits

Author SHA1 Message Date
mprahl
ef5dc64f2b Transition stale failed builds to the "garbage" state and untag their components 2017-11-17 12:07:51 -05:00
Martin Curlej
c76c5dcf15 mbs-build now builds modules only from yaml files 2017-11-10 12:33:42 -05:00
Martin Curlej
03cff80e4a Streamlined cmd line options for local builds
Signed-off-by: Martin Curlej <mcurlej@redhat.com>
2017-11-10 12:33:42 -05:00
mprahl
08dc070152 Fix line length in config.py 2017-11-09 08:47:45 -05:00
Jakub Kadlcik
f098e6e3b7 Make the module build log name configurable 2017-11-07 00:04:14 +01:00
mprahl
089a0c3db4 Fix typo 2017-11-02 08:37:59 -04:00
mprahl
45cce653eb Add the ability to specify different rebuild methods 2017-11-01 15:39:43 -04:00
Martin Curlej
60b3d97c97 flake8 cleanup
Signed-off-by: Martin Curlej <mcurlej@redhat.com>

removed some noqa tags
2017-10-25 12:13:59 +02:00
Ralph Bean
0e9ccb1895 Remove old SSL config options.
We used to do x509 authn a long time ago.  We have since stopped doing
that, but we kept all of thise confusing SSL/TLS support stuff.

This removes all that, and fixes #685.
2017-10-04 11:37:17 +02:00
Jan Kaluza
ad6874b0e6 Fix #670 - Tag Content Generator Koji build to special tag based on the base module stream 2017-09-25 08:36:29 +02:00
Ralph Bean
5add97648d Clearer error message. 2017-09-19 13:23:59 -04:00
Ralph Bean
5e08d2ffe4 Introduce pluggable backends.
This allows an operator to write a custom messaging backend to handle
whatever transport and format.
2017-09-19 13:13:40 -04:00
Ralph Bean
72d1c83735 Complain early. 2017-09-15 13:03:15 -04:00
Ralph Bean
fa8ac2001d Merge #681 Add Kerberos + LDAP Authentication 2017-09-15 16:10:22 +00:00
mprahl
0f6d7a55c5 Add Kerberos + LDAP authentication support 2017-09-15 12:02:57 -04:00
mprahl
79a79fdcf2 Support calling the tests by using pytest instead of just py.test 2017-09-15 09:21:59 -04:00
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
Ralph Bean
6cb836c862 Nope.
Dead.
2017-09-08 14:49:58 -04: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
6a2e9aeddd Fix #576: Remove empty/useless log files 2017-08-16 13:39:59 +02:00
Filip Valder
7ef2975984 PEP8 fixes 2017-07-17 18:29:10 +02:00
Jan Kaluza
93092a43be Add per-module-build logging feature 2017-06-30 16:30:47 +02: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 Kaluza
4b16cf9a64 Fix various bugs in 'mbs-build local' 2017-06-07 13:16:26 +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
Jakub Kadlčík
99ba03b52d Move also distgit_src_get command to config 2017-05-17 16:23:16 +02:00
Jakub Kadlčík
8c8ea65b2e Don't hardcode dist-git clone command 2017-05-16 16:26:24 +02:00
Jakub Kadlčík
4c23e56181 Allow config values to be dict 2017-05-16 16:19:56 +02:00
Jan Kaluža
6a7555777b Merge #548 Delete build target when module build is complete after configurable time 2017-05-11 13:57:34 +00:00
Jan Kaluza
22758419c0 Delete build target after config.koji_target_delete_time seconds. 2017-05-11 14:43:05 +02:00
Jan Kaluza
22db6bb64a Do not recreate properties in Config class - fixes the home dir expansion 2017-05-09 14:20:06 +02:00
Jan Kaluža
f441077706 Merge #515 Add config option for allowing custom scmurls 2017-05-02 12:57:48 +00:00
Jakub Kadlčík
a86084746d Rename ALLOW_CUSTOM_URLS to ALLOW_CUSTOM_SCMURLS 2017-05-02 11:29:47 +02:00
Jan Kaluza
ccf66804e5 Store built modules using mock in ~/modulebuild by default and use that directory for koji_tags cache by default too. 2017-04-24 16:15:35 +02:00
Jan Kaluza
94848511e3 Mock backend: Create repository from Koji tag locally instead of using the one stored in kojipkgs. 2017-04-21 10:37:00 +02:00
Jakub Kadlčík
6dde52f377 Add config option for allowing custom scmurls 2017-04-19 15:25:22 +02:00
Jan Kaluza
7fa1dda076 Fix #476 - use '--release f26' when building srpm for local builds 2017-04-05 12:46:44 +02:00
Jan Kaluza
acf0e7097c Use FAS groups to manage MBS admins 2017-04-04 16:39:10 +02:00
Filip Valder
e6d80c0293 introduce tox & pytest as well as other stuff (flake8, bandit and prepare for future automated build&release steps) 2017-03-31 11:15:32 +02:00
Jan Kaluza
c5f9d713cc Introduce 'admins' config option and allow users defined there to cancel any module build. 2017-03-29 12:58:44 +02:00
Jan Kaluza
298bf63120 Fix #409 - Remove koji_tag_inherit_from and whitelist all the components we are going to build instead. 2017-03-14 11:28:47 +01:00
Jan Kaluza
f18925c677 Use compact dist-tag by using DEFAULT_DIST_TAG_PREFIX and first 8 characters of sha1 hash of module name/stream/version. 2017-03-13 16:49:56 +01:00
Jan Kaluza
7cf77d0fee Make testing with different configuration values easier and less error-prone by using mock.patch to change the configuration. 2017-03-13 07:48:29 +01:00
Jan Kaluza
8aa3ce3c27 Add MODULES_ALLOW_REPOSITORY and MODULES_DEFAULT_REPOSITORY with the same meaning as RPMS_* equivalents. 2017-03-03 15:36:10 +01:00
Matt Prahl
6ff2c19b60 Have new tags inherit from 'module-package-list' and remove the 'force' parameter when tagging a build 2017-02-28 15:00:44 -05:00