Ralph Bean
6150000d1e
Scan for modules stuck in the wait state.
...
And fake a message to get them building again.
But only if they look to have been stuck for more than 10 minutes.
2017-09-29 14:13:58 -04: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
995dbe25fb
Merge #704 Support Kerberos authentication in mbs-build
2017-09-20 17:48:54 +00:00
mprahl
6165fd5088
Add an API that exposes information about the MBS server
2017-09-19 16:48:28 -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
Mike Bonnet
2a3aea9c97
add tests for MBSConsumer
2017-09-19 13:12:45 -04:00
Jan Kaluza
9bac6bc83e
Fix the transitive dependency resolving to include only active modules.
2017-09-18 13:23:46 +02: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
Ralph Bean
27e845c2ad
Merge #684 Fix #634 : Conflict with packages filtered out from the build-requires to ensure they won't appear in a buildroot.
2017-09-15 15:23:01 +00:00
Ralph Bean
aba5e3b529
Merge #686 Wait for components to be tagged also in final tag before marking module as done.
2017-09-15 15:22:16 +00:00
Jan Kaluza
999baa2992
Wait for components to be tagged also in final tag before marking module as done.
2017-09-15 15:25:29 +02:00
Jan Kaluza
7ebb4a8bc5
Conflict with packages filtered out from the build-requires to ensure they won't appear in a buildroot.
2017-09-15 13:47:33 +02:00
Filip Valder
7e3914e8b3
Remove parameterized
...
The reason is mentioned in PR#684:
"I've talked with @fivaldi to rewrite the test to not use parameterized,
since it is not in Fedora."
2017-09-15 13:31:48 +02:00
Ralph Bean
c29fd257e4
Merge #655 CoprModuleBuider - some unit tests for it
2017-09-12 13:03:14 +00: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
Jakub Kadlcik
8db83b11ab
Mock also _create_chroot_safe so nothing is really created
2017-09-09 13:51:07 +02:00
Jakub Kadlcik
d39ebf5ccb
Mock CoprClient.create_project method
...
So the python-copr-1.79-1 is not required for the chroots= parameter
2017-09-09 13:45:52 +02:00
Jakub Kadlcik
7353d4ce0b
Copr uses latest-Fedora-Modular-26 repo
2017-09-09 13:43:45 +02:00
Jakub Kadlcik
58af071602
Not depend on values order
2017-09-09 13:43:42 +02:00
Jakub Kadlcik
de26b5614e
Dont require copr config file
2017-09-09 10:07:42 +02:00
Jakub Kadlcik
f492e096b6
Fix mock path to copr module builder
2017-09-09 10:07:42 +02:00
Jakub Kadlcik
06e2d2b688
Move copr tests to proper directory
2017-09-09 10:07:42 +02:00
Jakub Kadlcik
376ca596c5
Add some unit tests for Copr
2017-09-09 10:07:42 +02:00
Jan Kaluža
379fe8ed9b
Merge #674 Move vcrpy cache to gzipped tarball and extract it before tests execution.
2017-09-08 12:59:32 +00:00
Jan Kaluza
aa8a0574e4
Move vcrpy cache to gzipped tarball and extract it before tests execution.
2017-09-08 11:35:24 +02: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
Jan Kaluza
ac92a389d6
Fix module dist_tag separator in tests
2017-08-31 10:46:42 -04: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 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
Jan Kaluza
6a94a43ee1
Fix test_content_generator tests by ensuring that build_log is removed before running first test
2017-08-08 13:47:49 +02: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
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
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
7ef2975984
PEP8 fixes
2017-07-17 18:29:10 +02:00
Ralph Bean
bb56e4f057
Refactor get_build_by_artifact so that it always returns the same kind of dict.
2017-07-14 09:21:52 -04:00
Ralph Bean
d9b1576353
Tests for _get_build_by_artifact.
...
Tests for https://pagure.io/fm-orchestrator/pull-request/583
2017-07-13 14:09:37 -04:00
Ralph Bean
4c60030d31
Use a real module dist_tag here instead of module_x (for believability!)
2017-07-13 14:01:52 -04:00
Ralph Bean
ed0db4ddea
Indentation.
2017-07-13 14:01:27 -04:00
Ralph Bean
5d034185af
Remove unused bits.
2017-07-13 14:01:09 -04:00
Ralph Bean
af5460db80
Merge #604 Remove checksum comparison in CG test.
2017-07-12 18:18:18 +00:00
Ralph Bean
b3dc1bf4a9
Longer timeout on test_submit_build_resume
...
This should "fix" #568 .
2017-07-11 13:47:18 -04:00
Stanislav Ochotnicky
a6411bc6b1
Clean up logs for build tests
2017-07-11 13:28:08 -04:00
Ralph Bean
0d614e5bdc
Revert "Remove checksum comparison in CG test."
...
This reverts commit 98a1a55694 .
2017-07-11 13:27:54 -04:00
Matt Prahl
0f5bd40cb7
Merge #606 Create app_context before database session.
2017-07-11 12:46:22 +00:00
Jan Kaluža
746f284c0a
Merge #600 Include logger tests.
2017-07-11 07:55:58 +00:00