Bug 1503441 - [RFE][CodeChange] Support gitlab CI
Summary: [RFE][CodeChange] Support gitlab CI
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-guest-tools
Classification: oVirt
Component: General
Version: 4.1-5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Lev Veyde
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-18 06:48 UTC by Yedidyah Bar David
Modified: 2018-06-12 11:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-12 11:13:34 UTC
oVirt Team: Integration
Embargoed:
ylavi: ovirt-future?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Yedidyah Bar David 2017-10-18 06:48:43 UTC
Description of problem:

Will be nice to support gitlab CI.

ovirt-wgt is a manually handled exact clone of spice-nsis (master branch).

spice-nsis is maintained on gitlab, ovirt-wgt on ovirt gerrit.

See also:

https://lists.freedesktop.org/archives/spice-devel/2017-October/040447.html

A copy of the text of above link, by Christophe Fergeau:

Give it a quick try, and a .gitlab-ci.yml file with this content
successfully builds from git:

image: fedora:latest

before_script:
  - dnf install wget make dnf-plugins-core -y
  - dnf install http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm -y
  - dnf copr enable @spice/nightly -y
  - dnf copr enable teuf/nsis -y
  - wget https://fedorapeople.org/groups/virt/virtio-win/virtio-win.repo -O /etc/yum.repos.d/virtio-win.repo
  - wget https://people.freedesktop.org/~teuf/ovirt-4.1.repo -O /etc/yum.repos.d/ovirt-4.1.repo
  - make ovirt-guest-tools-iso.spec
  - dnf builddep ovirt-guest-tools-iso.spec -y

makecheck:
  script:
  - make

This is not testing RPM generation though (in spice of the dnf builddep
;), but I guess this could be added. At the moment it only does whatever
make does by default. And the dependency installation needs some
polishing. But that gives a starting point..

Comment 1 Yaniv Lavi 2018-06-12 11:13:34 UTC
Closing old RFEs, please reopen if still needed.
Patches are always welcome.


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