[Spice-devel] [RFC spice-streaming-agent 0/3] Integration with copr build system
Victor Toso
victortoso at redhat.com
Mon Feb 25 16:20:26 UTC 2019
Hi,
On Mon, Feb 25, 2019 at 04:56:44PM +0200, Snir Sheriber wrote:
> This is an example for integration of copr and gitlab so that
> any git update will generate a copr build automatically.
> Doing that for whole our repos will allow to get an updated
> upstream repo without maintaining a running vm somewhere.
> (although i'm still not sure what to do with the mingw builds yet)
>
> If this is agreed i'll start adding specs and copr Makefiles
> to all projects
>
> Suggestions and more elegant scripting are welcome
>
> Working example*:
> any push to https://gitlab.com/sheriber/spice-streaming-agent-ci
> will generate upstream builds here:
> https://copr.fedorainfracloud.org/coprs/snir/spice-project/package/spice-streaming-agent/
>
> *require to configure a small gitlab webhook.
What kind of hook?
The fedpkg needs some ssh and/or kerberos ticket, no?
I think it should be safe to push 2/3 and 3/3 while 1/3 stays as
RFC.
In regards to the RFC, I'm in favor of moving such tasks to
gitlab as well. So, +1 for me for the idea. I'd move the Makefile
as a job in gitlab-ci.yml itself.
Cheers,
> Snir Sheriber (3):
> Add copr Makefile
> https://docs.pagure.org/copr.copr/user_documentation.html#make-srpm
> Update .gitlab-ci.yml
> I think we should leave builddep for installing the deps, it will be updated
> automatically when spec file BuildRequiers is updated (gitlab ci may fail
> on the first ci iteration after such update but will converge on the second
> one)
> Update spec.in
>
> .copr/Makefile | 21 +++++++++++++++++++++
> .gitlab-ci.yml | 1 -
> spice-streaming-agent.spec.in | 1 +
> 3 files changed, 22 insertions(+), 1 deletion(-)
> create mode 100644 .copr/Makefile
>
> --
> 2.19.1
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190225/8496cf58/attachment.sig>
More information about the Spice-devel
mailing list