Commit Graph

200 Commits

Author SHA1 Message Date
Jan Kaluža
9c60457dda Merge #461 NO_AUTH bugfix and improvement 2017-04-07 06:01:42 +00:00
Jan Kaluza
8bbe2d359f Trigger newRepo by MBS instead of waiting on Kojira in case when we have sucessfully tagged all the components 2017-04-06 17:19:35 +02:00
Jan Kaluza
061d346d7c Revert "Trigger newRepo manually when Kojira does not manage to build it in 20 minutes."
This reverts commit 2fcd66ad53.
2017-04-05 12:41:29 +02:00
Jan Kaluza
2fcd66ad53 Trigger newRepo manually when Kojira does not manage to build it in 20 minutes. 2017-04-05 10:18:31 +02:00
Jan Kaluža
dc46b6aaa4 Merge #482 Fix another place where tests depend on the right ordering in lists 2017-04-04 16:44:24 +00:00
Jan Kaluza
acf0e7097c Use FAS groups to manage MBS admins 2017-04-04 16:39:10 +02:00
Jan Kaluza
0e4c106ebb Fix another place where tests depend on the right ordering in lists 2017-04-04 09:36:32 +02:00
Jan Kaluza
4c5732957c include %module_name, %module_stream and %module_version in the module-build-macros and fix sending active=True in pdc.py 2017-03-31 15:18:53 +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
7fb73da3b7 Fix randomly failing test_build tests caused by different ordering of built components. 2017-03-31 10:47:19 +02:00
Jakub Kadlčík
dcba6c8995 Support NO_AUTH changing owner in patch method 2017-03-30 12:21:01 +02:00
Jakub Kadlčík
9a296ee451 Test build submitting with NO_AUTH 2017-03-30 11:21:37 +02:00
Jakub Kadlčík
8626f974cf Set anonymous owner when NO_AUTH 2017-03-30 11:01:13 +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 Kaluža
8bdb151840 Merge #360 Fix format_mmd function for empty scmurl 2017-03-28 14:06:17 +00:00
Jan Kaluža
dceff4c0c7 Merge #464 Do not create new batch for included module if it is not requested by its buildorder. 2017-03-28 14:05:16 +00:00
Jakub Kadlčík
2c3e47d1d5 Update version and ref for base-runtime 2017-03-28 16:01:48 +02:00
Jan Kaluza
f66de75272 Do not create new batch for included module if it is not requested by its buildorder. 2017-03-28 15:45:36 +02:00
Jan Kaluza
597973da98 For mock backend, build all the components in batch in single continue_batch_build call. 2017-03-28 15:44:01 +02:00
Jan Kaluza
9792715b53 Handle all exceptions in the consumer handlers. 2017-03-23 15:09:12 +01:00
Jan Kaluza
4a6d961d66 Handle situation when all component builds in a batch fail 2017-03-23 14:25:20 +01:00
Jan Kaluza
f52249decd Return only the direct build-requires of a module in get_module_build_dependencies and remove module_depsolving_wrapper, because it is not needed anymore. 2017-03-23 09:54:35 +01:00
Jan Kaluza
1487fd01f2 Remove is_waiting_for_repo_regen and use buildroot_ready instead. Do not get buildroot dependencies from the buildrequires recursively. Do not validate Koji tags to inherit. 2017-03-22 17:29:05 +01:00
Jan Kaluža
a2ba358c71 Merge #447 Do not allow starting next batch if the Koji is still building new repo. 2017-03-22 13:43:07 +00:00
Jan Kaluza
09601cfbb6 Do not allow starting next batch if the Koji is still building new repo. 2017-03-22 14:40:18 +01:00
Jan Kaluza
a9fdf08c6f Do not fetch profiles in resolve_profiles recursively. When we are building a module, we just need profiles from build-requires of this particular module, but not all the modules downstream. 2017-03-22 09:29:08 +01:00
Jan Kaluza
2fda828cd3 Use fedora production PDC in tests. 2017-03-21 18:30:20 +01:00
Jakub Kadlčík
95dee6c463 Not fail when 'ref' is missing 2017-03-20 19:46:14 +01:00
Jakub Kadlčík
9b02605370 Fix format_mmd function for empty scmurl 2017-03-20 19:46:10 +01:00
Jan Kaluža
25340aecd9 Merge #445 Fix the process_paused_module_builds in poller. 2017-03-17 15:14:25 +00:00
Jan Kaluza
3318f48fc3 Fix the process_paused_module_builds in poller 2017-03-17 15:57:52 +01:00
Jan Kaluža
27e4c3868a Merge #444 Mark module build as failed if one of the components fail 2017-03-17 14:20:31 +00:00
Jan Kaluza
5aa6360595 Mark module build as failed if one of the components fail 2017-03-17 15:14:41 +01:00
Matt Prahl
3736a0dd6a Merge #443 Do not try to tag builds which have been already tagged in a tag. 2017-03-17 13:55:00 +00:00
Jan Kaluza
10811e41dc Do not tag packages which belong to -build tag to final tag. 2017-03-17 14:41:11 +01:00
Jan Kaluza
0fb8bd221f Reset batch counter and state_reason when resubmiting module 2017-03-17 12:11:08 +01:00
Jan Kaluza
c06d900e62 Do not try to tag builds which have been already tagged in a tag 2017-03-17 11:29:38 +01:00
Jan Kaluza
a72a97754a Fix typo in test_reuse_component_init_data name, set SERVER_NAME config variable in config.py, return commit in MockedSCM.get_latest 2017-03-17 08:58:58 +01:00
Jan Kaluza
2ade8ccf79 Add missing testmodule-bootstrap.yaml 2017-03-16 13:19:09 +01:00
Jan Kaluza
830b1dd111 Add tests for 'continue' part of start_next_batch and component resubmit 2017-03-16 11:20:51 +01:00
Jan Kaluza
97706324a7 Fix the module fail when num_consecutive_builds limit is met and tagging issue when all the builds are reused in a single batch 2017-03-15 11:55:55 +01:00
Jan Kaluža
4afe8e2c5f Merge #413 Fix #409 - Remove koji_tag_inherit_from and whitelist all the components we are going to build instead. 2017-03-14 16:22:38 +00:00
Ralph Bean
a8314cba09 Merge #425 Use the 403 Forbidden result in case the user is unauthorized 2017-03-14 13:11:10 +00:00
Jan Kaluza
34c8cc833a Fix tests and change two places where Forbidden is more accurate than Unauthorized. 2017-03-14 13:40:53 +01:00
Jan Kaluza
82edbab2b4 Use real 'components' arg instead of **kwargs. 2017-03-14 12:12:53 +01: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
0543e2c9ca Fix #421 - Build next component immediatelly after the previous component build is finished. 2017-03-14 08:36:30 +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 Kaluža
d87010dba0 Merge #411 Fix #405 - Fix num_consecutive_builds. 2017-03-11 05:52:09 +00:00