1
0
Fork 1
mirror of https://git.lttng.org/lttng-ci.git synced 2026-01-13 13:13:48 +00:00
No description
Find a file
Michael Jeanson 23d1ba5f8c jjb: Drop yocto23-powerpc platform
Change-Id: Ie65cf83e43f72f77cc7602e6883a693f45b7933e
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2026-01-09 13:46:25 -05:00
automation ansible: Add python3-clang to packages installed on Debian for tools 2025-12-10 13:37:05 -05:00
etc jjb: Update example jenkins-jobs configuration file 2025-02-03 13:15:49 -05:00
jjb_filters Format Python files with Black 24 2024-12-11 10:11:59 -05:00
jobs jjb: Drop yocto23-powerpc platform 2026-01-09 13:46:25 -05:00
lava jjb: Unmount original /dev/shm during DAX tests 2025-11-04 11:49:10 -05:00
LICENSES lava: rework system-tests 2025-09-26 16:22:43 -04:00
pipelines jjb: binutils-gdb: add some target flags in multi-target job 2025-12-12 11:07:18 -05:00
scripts misc: Add check script for git mirrors 2026-01-07 15:48:03 -05:00
.editorconfig Fix indentation in shell scripts 2024-10-04 08:33:50 -04:00
.gitignore misc: Ignore __pycache__ 2025-05-12 11:11:22 -04:00
.gitreview Add git-review config 2021-11-30 14:52:11 -05:00
.pre-commit-config.yaml pre-commit: autoupdate 2025-01-28 22:36:18 -05:00
.travis.yml travis: fix typo in travis.yml 2016-08-09 13:07:12 -04:00
LICENSE Reorganisation of the repo and cleanup 2015-08-14 16:15:50 -04:00
poetry.lock Update poetry.lock 2026-01-08 10:12:49 -05:00
pyproject.toml Add pre-commit config 2024-12-11 10:12:01 -05:00
README.md Add pre-commit config 2024-12-11 10:12:01 -05:00
tox.ini Use github.com/lttng/jenkins-job-builder instead of a personal repo 2017-12-14 15:15:20 -05:00

LTTng configuration for Jenkins

This repository holds the configuration of the LTTng Jenkins jobs. It is meant to be used with Jenkins Job Builder from the OpenStack Foundation.

The dependencies can be installed in a dedicated Python virtual environment using Poetry:

$ poetry install

You can then run commands from the virtual environments by prepending poetry run to them:

$ poetry run jenkins-jobs --version
Jenkins Job Builder version: 6.4.2

or by spawning a shell:

$ poetry shell
Spawning shell within /home/user/.cache/pypoetry/virtualenvs/lttng-ci-qYTnEJGo-py3.12
(lttng-ci-py3.12) $ jenkins-jobs --version
Jenkins Job Builder version: 6.4.2

Install pre-commit hooks with:

$ pre-commit install

Example Usage

Generate XML files for Jenkins jobs from YAML files:

$ jenkins-jobs test jobs/ -o output/

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