Bug 1357562 - RFE: provide copr-builder package to be installed on builders
Summary: RFE: provide copr-builder package to be installed on builders
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: backend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact:
URL:
Whiteboard:
Depends On: 1441588
Blocks: 1334701
TreeView+ depends on / blocked
 
Reported: 2016-07-18 13:56 UTC by Pavel Raiskup
Modified: 2017-11-02 11:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1334701
Environment:
Last Closed: 2017-11-02 11:40:44 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1148757 0 unspecified CLOSED RFE: show live build logs 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1357564 0 unspecified CLOSED RFE: allow downloading of mock profiles (reproducible builds) 2021-02-22 00:41:40 UTC

Internal Links: 1148757 1357564

Description Pavel Raiskup 2016-07-18 13:56:15 UTC
It would be super nice if copr builders were less bound by copr backend, by
that I mean we should have a way to say (on builder):

  $ copr-build --copr USER/ID --DISTGIT-HASH .... [--copr-instance=fedora]

This command would be called by backend (through ssh/ansible over ssh) 
-> and thus there would be no need to play with constructing the ugly
'mockbuild' command on backend.  The backend code would be much simpler and
easy to maintain.

Some reasons to do so:
* there are people which would like to have project-dedicated builders (see the
bug 1334701), this should allow them easily to provide buidler 'IP' (there is
only need to have installed copr-builder, one config because builder needs to
know where backend/fronend/dist-git reside, and installed copr-builder package).

* lower the work done by dist-git --> we should be able to generate SRPMs on
builder so other machines should be less overloaded.

* build would be more reproducible, it would be very easy to run that
'copr-build' command on local box

* easier implementation of live logs (i would like to propose the idea very
soon)

* I'll provide more reasons probably :) I know there were some

I would very appreciate not closing this bug as WONTFIX or NOTABUG if we
don't have enough manpower to do this -- unless there are really good reasons
to not work on this.  Otherwise, I'm probably able to help here and hack on
making this done.

+++ This bug was initially created as a clone of Bug #1334701 +++

Comment 1 Jakub Kadlčík 2016-07-18 15:02:47 UTC
* easier implementation of live logs (i would like to propose the idea very
soon)

AFAIK there already is RFE for this: 1148757

Comment 2 Pavel Raiskup 2016-07-18 15:16:34 UTC
I'm aware of that RFE, I have some ideas how that could be implemented..  and
I do plan to have a look at it some day if nobody is faster than me.

Comment 3 Pavel Raiskup 2017-03-20 11:23:43 UTC
PoC is living here: https://pagure.io/copr/copr/pull-request/50

Comment 4 clime 2017-11-02 11:40:44 UTC
So, this has been implemented already for quite some time. First with copr-builder package, then with copr-rpmbuild.


Note You need to log in before you can comment on or make changes to this bug.