1
0
Fork 1
mirror of https://git.lttng.org/lttng-ci.git synced 2025-12-12 08:13:47 +00:00
No description
Find a file
Kienan Stewart df13294d69 jjb: Support Depends-on in lttng-ust-java-tests review jobs
Change-Id: Ib6b43ee0f4c9cfa9350e018526f8a1c7d4fed44c
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2025-12-10 16:06:18 -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: Support Depends-on in lttng-ust-java-tests review jobs 2025-12-10 16:06:18 -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 build-only multi-target job 2025-11-27 15:14:02 -05:00
scripts jjb: Add new common scripts for working with gerrit 2025-12-10 16:06:18 -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 Add pre-commit config 2024-12-11 10:12:01 -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