Commit Graph

784 Commits

Author SHA1 Message Date
mprahl
f478e69307 Clarify and add log statements when an orphaned module-build-macros is used 2017-12-08 16:07:32 -05:00
mprahl
1fa6cc6fc5 Clarify log statements and code when tagging when the batch is done 2017-12-08 16:06:18 -05:00
mprahl
aa4ca009ef Fix situations where module-build-macros builds in Koji but fails in MBS and the build is resumed 2017-12-08 15:50:55 -05:00
Jan Kaluza
7de120c17b Get the weight of Koji tasks and use it to sort the components in a batch instead of builds time. 2017-11-28 10:52:17 -05:00
Matt Prahl
d0adebf8d3 Merge #815 honor custom RPM %_sourcedir 2017-11-28 15:22:29 +00:00
mprahl
5e9d846872 Fix double tagging on module builds that have all their components reused 2017-11-28 09:50:35 -05:00
Nils Philippsen
3f746582eb honor custom RPM %_sourcedir
If the user redefines %_sourcedir in ~/.rpmmacros, `mbs-build local`
will fail trying to build module-build-macros otherwise because rpmbuild
will look for sources -- macros.modules -- in the wrong place.
2017-11-28 13:49:06 +01:00
Jan Kaluža
d5d0f02ca9 Merge #765 Copr - install modules into the buildroot 2017-11-28 09:13:51 +00:00
Matt Prahl
40a76faae9 Merge #808 Fix "instant complete" builds and "reuse all" builds 2017-11-27 21:38:21 +00:00
Matt Prahl
f56bc40160 Merge #814 Use koji.BUILD_STATES when filtering component builds by state name 2017-11-27 21:36:56 +00:00
mprahl
87900585da Use koji.BUILD_STATES when filtering component builds by state name 2017-11-27 16:34:42 -05:00
mprahl
30ef85af01 Fix "instant complete" builds and reusing all components 2017-11-27 16:20:28 -05:00
mprahl
cf44455ff2 Add a missing docstring to 'untag_artifacts' 2017-11-27 16:20:28 -05:00
Matt Prahl
93efdd08a6 Merge #812 Return a friendly error when the 'id' is provided as a query parameter 2017-11-27 21:02:16 +00:00
mprahl
53dc444214 Allow filtering on all table columns 2017-11-27 15:08:58 -05:00
mprahl
b752a9741a Return a friendly error when the 'id' is provided as a query parameter 2017-11-27 11:58:56 -05:00
mprahl
c81cd7c964 Support git+https:// git URLs 2017-11-23 14:20:37 -05:00
Jakub Kadlcik
5eef24c1a8 Install also packages from the buildroot profile 2017-11-21 11:45:30 +01:00
Martin Curlej
a1fd9daa73 Moved skiptests cli option 2017-11-21 09:07:32 +01:00
mprahl
02e11b9b39 Don't try to untag stale module builds that don't have any completed components 2017-11-20 10:38:56 -05:00
mprahl
0e7dd2dad3 Add a "short" query parameter to show less detail on the "module-builds" API 2017-11-17 13:19:48 -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
9890277620 Make "state_url" optional in the "extended_json" function since creating an app context causes SQLAlchemy issues on the backend 2017-11-17 12:07:51 -05:00
Matt Prahl
88d655d099 Merge #799 Fail module builds directly when a component build in a batch fails 2017-11-17 16:39:40 +00:00
mprahl
df5b9ab04a Ignore entries in "git ls-remote" with "refs/remotes/origin/" 2017-11-17 11:35:35 -05:00
mprahl
fa6f43e748 Fail module builds directly when a component build in a batch fails 2017-11-17 10:44:15 -05:00
mprahl
ea34df0fd1 Set the timeout on Koji sessions to 10 minutes 2017-11-15 12:57:49 -05:00
Jakub Kadlcik
c06c09f3fa Bikeshed compose is gone, use F27 and Rawhide instead 2017-11-15 17:20:23 +01:00
Jakub Kadlcik
998ed79949 Remove redundant import 2017-11-15 11:12:12 +01:00
Jakub Kadlcik
6214476eaa Put name, stream and version into the modulemd file 2017-11-15 11:12:12 +01:00
Jakub Kadlcik
a942f29494 Rather install modules into the buildroot 2017-11-15 11:12:12 +01:00
Jakub Kadlcik
e0d1c6eb01 Use modularity DNF in the buildroot 2017-11-15 11:12:12 +01:00
mprahl
b1fe673699 Only import the COPR builder when MBS is configured to use it 2017-11-14 10:18:24 -05:00
Matt Prahl
ea26e0281a Merge #788 Fix bug and clean up scm.get_latest 2017-11-14 13:38:23 +00:00
Matt Prahl
c33a22fd8b Merge #787 Make our builders into setuptools plugins. 2017-11-13 18:56:16 +00:00
Ralph Bean
318117c0c5 Make our builders into setuptools plugins. 2017-11-13 11:16:13 -05:00
mprahl
0e031dd850 Fix verifying a commit hash in "scm.get_latest"
The current implementation requires the command to be run on a git repo and
it seems to only work after running a git fetch without dry-run option first.
2017-11-13 09:20:20 -05:00
mprahl
1622494b17 Replace the name of the "branch" parameter in "scm.get_latest" to "ref" 2017-11-13 09:20:20 -05:00
mprahl
d1548a7049 Iterate over git ls-remote output only once 2017-11-13 09:20:20 -05:00
Matt Prahl
ad60c1c575 Merge #783 Fixed issue with getting the latest ref 2017-11-11 14:06:54 +00:00
Ralph Bean
8431d2698b Explicit imports of builders in the test suite. 2017-11-10 16:03:14 -05:00
Martin Curlej
c76c5dcf15 mbs-build now builds modules only from yaml files 2017-11-10 12:33:42 -05:00
Martin Curlej
11a51a0404 mbs-buil local now builds only from yaml files 2017-11-10 12:33:42 -05:00
Martin Curlej
03cff80e4a Streamlined cmd line options for local builds
Signed-off-by: Martin Curlej <mcurlej@redhat.com>
2017-11-10 12:33:42 -05:00
mprahl
bb0dde9936 Only complete the module build when *all components are tagged* and a KojiRepoRegen message is received 2017-11-10 08:33:53 -05:00
mprahl
243e8873d5 Don't trigger init handler when importing a local build and mark the build as done after import 2017-11-10 08:33:53 -05:00
mprahl
b0eada3e33 Fix KojiContentGenerator from a bug in PR 771 2017-11-10 08:33:53 -05:00
Matt Prahl
d1e80b8ad7 Merge #780 Fix duplicate state traces 2017-11-10 13:32:42 +00:00
mprahl
08dc070152 Fix line length in config.py 2017-11-09 08:47:45 -05:00
Martin Curlej
bf2369e8e0 Fixed issue with getting the latest ref
Signed-off-by: Martin Curlej <mcurlej@redhat.com>
2017-11-09 12:47:08 +01:00