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
Filip Valder
a4366d9be7
Koji tag validation
...
- Decorator supporting str/list args
- ProgrammingError exception which may uncover typos in the names of args to validate
- Configurable whitelist of koji tag prefixes
- Add basic validation to test_build.TestModuleBuilder
2017-02-28 09:08:32 +01:00
Jan Kaluža
18f9089643
Merge #323 Possibility to submit yaml file
2017-02-21 14:21:45 +00:00
Matt Jia
be65a0ff81
allow to explicitly disable client authentication
2017-02-21 11:08:37 +10:00
Jakub Kadlčík
3e2ee93dd8
Rename conf option to YAML_SUBMIT_ALLOWED
2017-02-19 22:35:55 +01:00
Ralph Bean
88aca055ce
Replace query to FAS with OIDC groups scope check.
...
This removes our query to FAS and fixes #304 .
It is more flexible too, where we can now configure production to only
allow in members of the `modularity-wg` group, and then later open it up
to all packagers after F26 is out (as was agreed with FESCo).
In the process of working on this, I discovered that #305 is not
necessary. We don't need our own scope; we can just use the `groups`
scope as done here.
2017-02-10 15:50:41 -05:00
Filip Valder
89351fbc24
Re-factor configuration loading, fix default topics (shall be a list),
...
update docs.
2017-01-31 14:00:15 +01:00
Filip Valder
34ef9ce5fd
Add support for message topic prefixes + explicit services/categories (incl. code lints)
2017-01-12 19:30:34 +01:00
Jan Kaluza
ab567803e8
Fix #41 - Tag builds only in the end of the badge to not regen repository all the time.
2017-01-05 15:24:46 +01:00
Matt Prahl
6182053c4a
Add noserunner.py as a valid way to test MBS
2016-12-12 09:00:44 -05:00
Filip Valder
379af8fe7e
register/set 'debug' conf variable
2016-12-09 17:29:41 +01:00
Filip Valder
2eda23233e
implement MODULE_BUILD_SERVICE_DEVELOPER_ENV functionality
2016-12-09 13:30:57 +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