Ralph Bean
9f017c7b71
Further typofix.
2017-04-06 15:47:16 -04:00
Ralph Bean
1ec28cd670
Typo in the argument name here.
2017-04-06 15:45:05 -04:00
Jan Kaluža
2eecf690dd
Merge #486 Do not try to rebuild the module-build-macros when it already exists in buildroot.
2017-04-06 15:36:05 +00:00
Jan Kaluza
9c875ce032
Do not try to rebuild the module-build-macros when it already exists in buildroot.
2017-04-06 16:40:12 +02:00
Jan Kaluza
7e5743248e
Use Koji multicall when tagging builds. Do not query Koji to get the status of builds which we are reusing from previous module build.
2017-04-05 10:25:45 +02:00
Jan Kaluža
0b1805ee3f
Merge #474 Fix #467 - Inject modules.yaml to mock repository
2017-04-03 05:58:16 +00:00
Filip Valder
eaeaf295ab
unused method
2017-03-31 22:57:10 +02:00
Filip Valder
6412a7fc0f
use module owner for whitelisting Koji packages
2017-03-31 15:19:46 +02:00
Filip Valder
80f78c7e2e
rename to match what it actually does
2017-03-31 15:19:46 +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
Jan Kaluza
47c4363601
Fix #467 - Inject modules.yaml to mock repository
2017-03-30 17:58:55 +02:00
Jan Kaluža
f7c8478d9c
Merge #448 Copr builder improvements #2
2017-03-29 12:09:43 +00:00
Jakub Kadlčík
70b3782231
Fake repo.done message without publishing it
2017-03-28 19:13:38 +02:00
Jakub Kadlčík
e00797873e
Remove the dumped modulemd file after requests
2017-03-23 20:02:31 +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 Kaluza
09601cfbb6
Do not allow starting next batch if the Koji is still building new repo.
2017-03-22 14:40:18 +01:00
Jakub Kadlčík
6ec3a63517
Remove waiting till all builds are finished (old fedmsg workaround)
2017-03-21 07:50:54 +01:00
Jakub Kadlčík
3de12fee23
Create record about module and build it separately
2017-03-20 17:57:33 +01:00
Jan Kaluza
3318f48fc3
Fix the process_paused_module_builds in poller
2017-03-17 15:57:52 +01: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
c06d900e62
Do not try to tag builds which have been already tagged in a tag
2017-03-17 11:29:38 +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
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
aaac78da53
Fix #417 - Do not validate koji tag for repo_from_tag - even the non-prefixed module tag should work there.
2017-03-14 08:42:36 +01:00
Jakub Kadlčík
a2af794bed
Stop assuming that copr build is already completed
2017-03-07 00:43:22 +01:00
Jakub Kadlčík
ba0c4eb9da
Add missing build_id param to build_srpm method
2017-03-07 00:43:22 +01:00
Filip Valder
1ece0e0a8a
reference to #397
2017-03-03 15:19:42 +01:00
Filip Valder
467c2bb36a
rename "mbs_module_name" to "mbs_module_target"
2017-03-03 14:09:01 +01:00
Ralph Bean
e1a9034e0f
Fix another attribute error.
2017-03-03 06:47:30 -05:00
Jan Kaluza
6d74f32462
Remove 'module_' prefix from the disttag in module-build-macros.
2017-03-03 11:22:58 +01:00
Ralph Bean
b7a99c5da8
Use the correct attribute of ComponentBuild.
...
Fixes #384 .
2017-03-02 17:03:46 -05:00
Ralph Bean
add68410a8
Don't require a '-' suffix here.
...
This is necessary so that we can allow the `f26-modularity` tag as our
bootstrapped tag.
https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=3f5610df5831c8c3fb93b9ac2c6a07c3a1b3df64
2017-03-02 15:41:58 -05:00
Ralph Bean
724599fb77
Fix the depsolving wrapper.
...
It was try to convert koji tags back to modules locally, which caused
errors with the new bootstrap tag.
2017-03-02 11:16:43 -05:00
Ralph Bean
da0d5f5c09
Merge #362 [Waits on PR#365] Have new tags inherit from 'module-package-list' and remove the 'force' parameter when tagging a build
2017-03-01 00:49:02 +00:00
Ralph Bean
ca61d6bb29
Allow passing in multiple tag names to the validation decorator.
...
We have problems when we try to wrap one decorator around another.
There are ways to do that with the
[decorator](https://pypi.python.org/pypi/decorator ) module nicely,
however.. they are ugly.
Take a look at this:
https://github.com/micheles/decorator/blob/master/src/decorator.py#L217-L218
And this:
https://github.com/micheles/decorator/blob/master/src/decorator.py#L185-L188
The approach in this PR is.. simpler.
2017-02-28 17:15:55 -05: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
6b343896dd
s/rida/mbs/
2017-02-28 17:59:02 +01:00
Matt Prahl
7dfb647e08
Merge #347 Possibility to specify optional parameters when submitting build
2017-02-28 14:26:20 +00: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
Jakub Kadlčík
48f27cd7ea
Get one() result instead of first()
2017-02-26 22:19:31 +01:00
Jakub Kadlčík
6bd9e7026f
Use optional module build params in CoprModuleBuilder
2017-02-23 20:51:31 +01:00
Jan Kaluza
64d96966e2
Use Queue based ThreadPool instead of the default Python's one. Improve locking and debugging in the Mock backend.
2017-02-21 08:02:50 +01:00
Jan Kaluza
6a0e8d0b2e
Do not start new batch when component is built when there is already some in progress.
2017-02-20 13:51:10 +01:00
Jakub Kadlčík
fdca6fa6e8
Implement list_task_for_components method for CoprModuleBuilder
2017-02-17 00:52:45 +01:00
Ralph Bean
6bd6aaaf12
Merge #311 Do things in copr as the correct user
2017-02-14 17:25:57 +00:00
Filip Valder
818a3feb6f
check Koji active tasks for component relicts (same NVR) from previous (terminated) builds
2017-02-08 15:56:41 +01:00
Jakub Kadlčík
c1fe65c16a
Do things in copr as the correct user
2017-02-07 00:40:36 +01:00
Jan Kaluza
0b307550c4
Mock: WIP threading support
2017-02-01 13:20:17 +01:00
Jan Kaluža
c769d481ca
Merge #293 Mock: Load the mock.cfg before writing to it to not overwrite it and be able to update it in the middle of build.
2017-02-01 08:29:03 +00:00