Automation scripts for development, testing, and CI
Shell Python Perl Ruby Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.

This repository contains various scripts which SUSE uses to automate development, testing, and CI (continuous integration) of the various components of SUSE Cloud, i.e. OpenStack and Crowbar.


This project has several scripts for different automated tasks, some of them are:

  •, creates a fresh KVM VM via libvirt.
  •, prepare a host for Crowbar admin node installation.
  • /scripts/mkcloud, script used to build a SUSE Cloud environment for development or testing purposes.
  • repochecker, try to solve runtime dependencies for a given repository


Find out more about configuration/usage


This project uses the pull requests to process contributions, travis-ci to test that your changes are OK to be merged.

It's recommended to read Contributing to Open Source on GitHub and Forking Projects if you want to get a better understanding of how GitHub pull requests work.

Testing your changes

The syntax of the shell scripts is checked using bash8, you can install it running.

$ sudo pip install bash8

Once you have installed bash8 and the changes you wanted, you should check the syntax of the shell scripts running make test, here is an example output of a successful execution:

$ make test
cd scripts ; for f in *.sh mkcloud mkchroot jenkins/{update_automation,*.sh} ; do echo "checking $f" ; bash -n $f || exit 3 ; bash8 --ignore E010,E020 $f || exit 4 ; done
checking mkcloud
checking mkchroot
checking jenkins/update_automation
checking jenkins/
checking jenkins/
checking jenkins/
checking jenkins/
cd scripts ; for f in *.pl jenkins/{apicheck,jenkins-job-trigger,*.pl} ; do perl -c $f || exit 2 ; done syntax OK
jenkins/apicheck syntax OK
jenkins/jenkins-job-trigger syntax OK
jenkins/ syntax OK
jenkins/ syntax OK
jenkins/ syntax OK
jenkins/ syntax OK

jenkins jobs

There are manually maintained jobs and some jobs are now using jenkins-job-builder which defines jobs in yaml format. New jobs should always be defined in yaml format.

A fast guide to setup jenkins job builder :

zypper in python-jenkins-job-builder
  • Get the APIKEY from the CI web UI (Profile / Configure / Show API Key)
  • Create jenkins_jobs.ini as described below

To update jobs on, run:

jenkins-jobs --ignore-cache update \

To update jobs on the SUSE internal CI, run:

jenkins-jobs --ignore-cache update \

Both commands need a valid /etc/jenkins_jobs/jenkins_jobs.ini configuration. See /scripts/jenkins/jenkins_jobs.ini.sample

If you are using a local configuration file, use --conf parameter to reference the local INI.