Bug 1503441

Summary: [RFE][CodeChange] Support gitlab CI
Product: [oVirt] ovirt-guest-tools Reporter: Yedidyah Bar David <didi>
Component: GeneralAssignee: Lev Veyde <lveyde>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1-5CC: bugs, ylavi
Target Milestone: ---Keywords: CodeChange, FutureFeature
Target Release: ---Flags: ylavi: ovirt-future?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-12 11:13:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.