Commit Graph

30 Commits

Author SHA1 Message Date
mprahl
cf44455ff2 Add a missing docstring to 'untag_artifacts' 2017-11-27 16:20:28 -05:00
mprahl
ef5dc64f2b Transition stale failed builds to the "garbage" state and untag their components 2017-11-17 12:07:51 -05:00
mprahl
ea34df0fd1 Set the timeout on Koji sessions to 10 minutes 2017-11-15 12:57:49 -05: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
mprahl
f5de140521 Schedule components based on build time 2017-10-23 15:33:57 -04:00
Ralph Bean
c92a967042 Fix incorrect call to koji API.
This was introduced months ago, but we never hit it.  I just saw it in
the error logs.

It looks like the call to `session.untaggedBuilds` expects a `name`
argument, but `session.listTagged` does *not*.
2017-10-10 18:33:59 -04:00
Ralph Bean
42aef7d5d2 Try to ensure that our macros are sourced last.
... because we think last-sourced wins and the competition is stiff.
2017-09-22 16:57:54 -04:00
Jan Kaluza
c6b2189110 Use repo_include_all to inherit all packages to buildroot once Koji https://pagure.io/koji/issue/588 is merged. 2017-09-18 09:39:47 +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
7ef2975984 PEP8 fixes 2017-07-17 18:29:10 +02:00
Ralph Bean
35558f86bc Merge #611 Koji perm_id cache 2017-07-17 14:53:34 +00:00
Neha Prasad
459ffb241d Configure dogpile.cache 2017-07-17 08:56:17 -04:00
Neha Prasad
83b0c1562e fix koji cache 2017-07-14 13:58:16 -04: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
Jan Kaluza
439767cbcf Tag the component to final tag in case it is built, but not tagged. 2017-07-13 13:37:10 -04:00
Neha Prasad
5ff58867f4 Koji perm_id cache 2017-07-07 12:37:17 -04:00
Ralph Bean
a755104bd4 Fix the test suite.
We had some circular imports that caused the tests (and more?) to fail.

I ran into this when looking at the tests for #583 and #595.
2017-07-06 21:02:32 -04:00
Jan Kaluža
c1eb07289f Merge #551 Do not fail a module build in buildroot_ready when repo is not generated yet. 2017-05-16 08:31:38 +00:00
Jan Kaluza
2c202bcf00 Do not fail a module in buildroot_ready when repo is not generated yet. 2017-05-12 10:24:47 +02:00
Jan Kaluža
7c117c01d1 Merge #544 Add support for modulemd buildopts.rpms.macros 2017-05-11 14:13:18 +00:00
Jan Kaluza
0ecbadeaad Add support for modulemd buildopts.rpms.macros 2017-05-11 16:08:30 +02:00
Jan Kaluza
22758419c0 Delete build target after config.koji_target_delete_time seconds. 2017-05-11 14:43:05 +02:00
Jakub Kadlčík
b78b0346d2 Pass the module build into builder 2017-04-12 23:53:55 +02:00
Jakub Kadlčík
ca805e698e Merge builder.py changes from master, pt2
* 9f017c7 (origin/argument-typofix) Further typofix.
* 1ec28cd Typo in the argument name here.
2017-04-07 08:29:10 +02:00
Jakub Kadlčík
35ff4a8aca Merge builder.py changes from master, pt2
* 9c875ce Do not try to rebuild the module-build-macros when it already exists in buildroot.
* 7e57432 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-07 08:22:59 +02:00
Jakub Kadlčík
a7ef1f5445 Unify parameter name to module_build 2017-04-07 08:22:59 +02:00
Jakub Kadlčík
3ba114c0b1 Merge builder.py changes from master
* 47c4363 Fix #467 - Inject modules.yaml to mock repository
* eaeaf29 unused method
* 6412a7f use module owner for whitelisting Koji packages
* 80f78c7 rename to match what it actually does
* 4c57329 include %module_name, %module_stream and %module_version in the module-build-macros and fix sending active=True in pdc.py
2017-04-07 08:22:59 +02:00
Jakub Kadlčík
9dafe673fe Clean up the docstrings 2017-04-07 08:22:59 +02:00
Jakub Kadlčík
0453a7da35 Clean up the unused imports 2017-04-07 08:22:59 +02:00
Jakub Kadlčík
fe1eff5c49 Split builders into separate files 2017-04-07 08:22:59 +02:00