Commit Graph

45 Commits

Author SHA1 Message Date
Jakub Kadlčík
8c8ea65b2e Don't hardcode dist-git clone command 2017-05-16 16:26:24 +02:00
Jakub Kadlčík
9e4c43a315 Use commit hash from source as branch 2017-05-16 15:20:28 +02:00
Jakub Kadlčík
8a258c3ad7 Use master branch 2017-05-16 14:51:40 +02:00
Jakub Kadlčík
1af400de02 Obtain SRPM from distgit via mock SCM 2017-05-16 14:51:40 +02:00
Jakub Kadlčík
14757ec3ad Implement classes for building srpms via mock 2017-05-16 14:51:40 +02:00
Jakub Kadlčík
6e92ed6b97 Add function to find srpm in given directory 2017-05-16 14:51:40 +02: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 Kaluža
6a7555777b Merge #548 Delete build target when module build is complete after configurable time 2017-05-11 13:57:34 +00:00
Jan Kaluza
22758419c0 Delete build target after config.koji_target_delete_time seconds. 2017-05-11 14:43:05 +02:00
Jan Kaluža
9a4da7241d Merge #528 Add functionality of koji content generator imports 2017-05-11 12:23:36 +00:00
Jan Kaluza
e9e7f44d70 Mock: Set user_bootstrap_container to False to fix module builds with latest Mock 2017-05-09 14:22:44 +02:00
Matt Prahl
f1fc573821 Merge #537 Allow git repositories to be http(s):// 2017-05-08 18:38:57 +00:00
Stanislav Ochotnicky
9127687fee Implement import content generator output into koji
This commit prepares a directory with outputs that will be uploaded to
koji (just the mmd file for now). It also adjusts koji_import to call
CGImport with the metadata and the directory to import the results.

Last step will be to call this method at the end of successful module
build
2017-05-04 15:45:46 +02:00
Stanislav Ochotnicky
bb464b80b2 Fix content generator using name instead of mmd content
The original variable name was confusing and caused the misuse. This has
been fixed as well
2017-05-04 15:45:45 +02:00
Jakub Kadlčík
fd989ea233 Allow git repositories to be http(s):// 2017-05-02 11:24:18 +02:00
Stanislav Ochotnicky
33add7aff7 Add Koji content generator class
This commit adds support classes for koji content generator imports.
Using this class will come later
2017-05-02 10:55:40 +02:00
Jan Kaluža
5bdc87b8bb Merge #518 Mock backend: Create repository from Koji tag locally instead of using the one stored in kojipkgs. 2017-04-24 14:50:44 +00:00
Jan Kaluza
ccf66804e5 Store built modules using mock in ~/modulebuild by default and use that directory for koji_tags cache by default too. 2017-04-24 16:15:35 +02:00
Nils Philippsen
ec2be36d6e pep8: don't surround '=' with spaces for keyword args 2017-04-21 12:54:06 +02:00
Jan Kaluza
94848511e3 Mock backend: Create repository from Koji tag locally instead of using the one stored in kojipkgs. 2017-04-21 10:37:00 +02:00
Jakub Kadlčík
a64a57cd9a Don't query module which may be incorrect 2017-04-12 23:53:59 +02:00
Jakub Kadlčík
b78b0346d2 Pass the module build into builder 2017-04-12 23:53:55 +02:00
Jakub Kadlčík
14ee3a4591 Don't manage buildroot packages manually 2017-04-10 19:05:06 +02:00
Jakub Kadlčík
28dda0a5c8 Use empty chroot with base-runtime 2017-04-07 08:53:41 +02:00
Jakub Kadlčík
04270ebc7f Install some required packages into the buildroot 2017-04-07 08:53:41 +02:00
Jakub Kadlčík
62d6930d92 Update repos in the chroot instead of the repos for the whole project 2017-04-07 08:53:41 +02:00
Jakub Kadlčík
70185edad4 Move chroot-updating logic to separate function 2017-04-07 08:53:41 +02:00
Jakub Kadlčík
3b7108dc07 Install module-build-macros to the buildroot 2017-04-07 08:53:41 +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
98dce17eab Import only the desired builders 2017-04-07 08:22:59 +02:00
Jakub Kadlčík
3817d37e35 Move send_repo_done to utils 2017-04-07 08:22:59 +02:00
Jakub Kadlčík
18502030f2 Rename _execute_cmd to not be private 2017-04-07 08:22:59 +02:00
Jakub Kadlčík
a4a3f1734d Move common functions to utils file 2017-04-07 08:22:59 +02:00
Jakub Kadlčík
836f0fb88b We can finally have global imports 2017-04-07 08:22:59 +02:00
Jakub Kadlčík
02c9f43dbe Set proper authors for particular builders 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
6a3de70e8f Use the real testing config not mock 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