Code Monkey home page Code Monkey logo

opensuse-jobgroups's Introduction

Repository for openqa.opensuse.org job groups

This git repo contains the jobgroup definitions for openqa.opensuse.org. Changes to the repo are automatically checked by CI and applied to openqa.opensuse.org.

You can find the individual jobgroups in the job_groups directory. The mapping of the serverside job group IDs to these files is done in job_groups.yaml.

tool.py

All operations in this repo can be done using the tool.py script. It only uses python3 standard libraries but it requires openqa-cli tool to be installed.

For most operations it needs API credentials for openqa.opensuse.org. They can be supplied in three different ways:

  • APIKEY and APISECRET environment variables
  • ~/.config/openqa/client.conf
  • /etc/openqa/client.conf

It always must be called with the root of this git repo as the current working directory.

For more information refer to ./tool.py --help.

yamllint and yamltidy

The CI uses yamllint to check if the yaml files are wellformed. To tidy up your yaml, you can make use of yamltidy. Simply run yamltidy -i job_groups/my_file.yaml. This repo comes with sane default configurations that will be automatically used for both tools.

Adding a new job group

First create the jobgroup on the server and get the group id from the url.

Then use tool.py to add the jobgroup to the mapping file (job_groups.yaml):

$ ./tool.py --gendb -j 86
86: sles_12_sp3_powerpc

Finally download the jobgroup yaml template:

$ ./tool.py --fetch -j 86
Fetching 86 -> sles_12_sp3_powerpc

opensuse-jobgroups's People

Contributors

asdil12 avatar jlausuch avatar vogtinator avatar sofiasyria avatar foursixnine avatar pevik avatar mloviska avatar ggardet avatar dimstar77 avatar jknphy avatar czerw avatar nilxam avatar lemon-suse avatar grisu48 avatar rfan1 avatar paolostivanin avatar pdostal avatar okurz avatar tjyrinki avatar pablo-herranz avatar starry-s avatar deepthiyv avatar sysrich avatar swswka avatar b10n1k avatar lilyeyes avatar zaoliang avatar coolgw avatar perlpunk avatar jrivrain 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.