X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=README.md;h=0d842bf4dd9450b3f4256563accf4657abbadaa8;hb=HEAD;hp=d0395279c8138f3e03a399fb0e1b3fa91a8e31f2;hpb=8a67d4900aa6758edac048c9b4681614ea76133e;p=lttng-ci.git diff --git a/README.md b/README.md index d039527..0d842bf 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,13 @@ This repository holds the configuration of the LTTng Jenkins jobs. It is meant to be used with Jenkins Job Builder from the OpenStack Foundation. +It can be installed with: + + $ virtualenv -p python3 .venv + $ . .venv/bin/activate + $ pip install jenkins-job-builder + + ## Example Usage Generate XML files for Jenkins jobs from YAML files: @@ -12,3 +19,15 @@ Generate XML files for Jenkins jobs from YAML files: Update Jenkins jobs which name starts with "babeltrace": $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/ babeltrace* + + +## Updating kernel and modules jobs + + # Delete current RC jobs + $ jenkins-jobs --conf etc/jenkins_jobs.ini delete --path jobs/lttng-modules.yaml:jobs/kernel.yaml \*rc\*_build + + # Update kernel versions + $ automation/kernel-seed.py > jobs/inc/kernel-versions.yaml.inc + + # Update jobs + $ jenkins-jobs --conf etc/jenkins_jobs.ini update jobs/lttng-modules.yaml:jobs/kernel.yaml