Martin Curlej
c193ff7419
Flake8 fixes
2017-10-31 16:04:31 -04:00
Martin Curlej
1eb3c653dd
Changed the filters so they execute when everything is build
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2017-10-31 16:04:31 -04:00
Jan Kaluza
b56f56a486
Use dogpile.cache to cache the default_buildroot_groups result
2017-10-26 14:03:23 +02: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
d5344b0c63
Fix a typo.
...
Definitely a typo. It would be a `NameError`. There is no `name` here.
2017-10-02 16:22:14 -04:00
Jan Kaluža
7c42ae89ea
Merge #710 Fix #670 - Tag Content Generator Koji build to special tag based on the base module stream
2017-09-25 07:09:54 +00: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
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
Ralph Bean
a2d89ae18d
Merge #688 Fix #661 : mbs hard-codes x86_64 as the local architecture
2017-09-15 15:58:27 +00:00
Filip Valder
be7c8d7aff
Fix #661 : mbs hard-codes x86_64 as the local architecture
2017-09-15 15:18:02 +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
f86654c655
Fix #641 - mock configuration is hardcoded
2017-09-13 15:09:56 +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
8c3ca6986e
Filter out packages in Mock backend based on the mmd filter
2017-08-31 10:47:16 -04:00
Jan Kaluža
94a97aa83c
Merge #636 [copr] Enable custom chroot on existing projects
2017-08-28 19:49:27 +00:00
Jakub Kadlcik
3fab0d03d4
Use Fedora-Modular-26 instead of a Rawhide
2017-08-28 21:26:27 +02:00
Jan Kaluža
77ac0db625
Merge #644 Add 'mbs-build local [[--add-local-build n:s:v], ...]' to use local builds as dependency.
2017-08-17 08:07:43 +00: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
Filip Valder
6a2e9aeddd
Fix #576 : Remove empty/useless log files
2017-08-16 13:39:59 +02:00
Jakub Kadlcik
bbf80836f2
Enable custom chroot on existing projects
2017-08-10 12:38:38 +02: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
Ralph Bean
5e3f26f03f
Merge #623 CG logging, debugging
2017-08-04 13:18:19 +00:00
Jakub Kadlcik
457664184c
Handle multiline output better
2017-08-03 23:09:50 +02:00
Jakub Kadlcik
23ce12a099
Sort branches from the oldest
2017-08-03 23:09:43 +02:00
Ralph Bean
cbb75d34e6
Also, only remove the dir if we succeed in passing the buck to koji.
2017-08-03 14:27:26 -04:00
Ralph Bean
dad4500397
Some improved logging for the content generator.
...
We failed with an error on the first try today, but not enough logging
to figure out why. This adds more.
2017-08-03 14:26:42 -04:00
Jakub Kadlcik
1c7cb20430
Properly clean temporary directories
2017-08-01 14:51:38 +02:00
Jakub Kadlcik
bbcbb97c45
There should be a space in order to be PEP-8 compliant
2017-07-28 21:13:55 +02:00
Jakub Kadlcik
a844500078
Build only in custom chroot
2017-07-28 02:02:43 +02:00
Jakub Kadlcik
ddd371d76c
Check whether the buildroot is preped for all build methods
2017-07-28 02:02:43 +02:00
Jakub Kadlcik
9b1d1df056
Remove the hacky build_from_scm code
2017-07-28 02:02:43 +02:00
Jakub Kadlcik
6e6de42d0d
Send the actual branch to copr, not commit
2017-07-28 02:02:39 +02:00
Jakub Kadlcik
33010a83bd
Refactor build methods to remove duplicity
2017-07-25 01:36:56 +02:00
Jakub Kadlcik
92102a2ac0
Don't build from scm locally
2017-07-24 23:07:59 +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
Neha Prasad
df47d3e28c
delete setup_memcache.py
2017-07-14 11:44:26 -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
a05b485c43
Koji perm_id cache
2017-07-07 12:37:48 -04:00
Neha Prasad
5ff58867f4
Koji perm_id cache
2017-07-07 12:37:17 -04:00
Ralph Bean
5ac5ab0c13
Merge #601 Add build log into koji content generator
2017-07-07 15:56:55 +00: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