Git Product home page Git Product logo

oci's Introduction

oci

Build Status

Command line tool for working with oVirt CI.

Installation

On Fedora 28 or later:

sudo dnf install python2-gobject

If the distribution package is too old, you can install from pip as a user:

pip install -r requirements.txt --user

Setup

Visit https://jenkins.ovirt.org/user/username/configure and create an API Token.

Keep your Jenkins user id and API Token in the configuration file at:

~/.config/oci.conf

Here is an example configuration file:

[jenkins]
user_id = johnd
api_token = 3e8cd699a2564d9ba2855831bf4cb5eb

Usage

Building artifacts for a change:

$ ./ovirt-ci build-artifacts 54321

This command will invoke the build-artifacts stage for the project. You can use the job URL printed by the command to run oVirt system tests manually.

Running oVirt system tests with a change:

$ python system-tests.py 54321

This commands builds artifacts with the patch above, and run oVirt system tests job with the built artifacts. When the test run is completed, add a comment about the run to the patch.

Contributing

PRs are welcome!

First instal tox.

On Fedora:

$ sudo dnf install python2-tox

If the distribution tox is too old, you can install using:

$ pip install tox --user.

To run the tests locally, use:

$ tox

oci's People

Contributors

bell-lev avatar bennyz avatar nirs avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.