1
0
Fork 1
mirror of https://git.lttng.org/lttng-ci.git synced 2026-02-10 19:27:09 -05:00
No description
  • Shell 36.5%
  • Jinja 32.5%
  • Python 20%
  • Groovy 10.3%
  • Dockerfile 0.6%
  • Other 0.1%
Find a file
Philippe Proulx 4430efa12e jjb: print full pytest version when available
Change-Id: I4818ef8cd40f489ce26e9dda72435069ea40cd59
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
2026-02-10 09:23:50 -05:00
automation ansible: Update style 2026-02-10 09:23:50 -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: babeltrace: Select test publisher based on report type 2026-02-09 15:20:02 -05:00
lava lava: Add pytest and pytest-xdist to rootfs 2026-02-06 10:29:21 -05:00
LICENSES lava: rework system-tests 2025-09-26 16:22:43 -04:00
pipelines jjb: Fix lttng-ust-benchmarks regression check pipeline 2026-02-09 09:35:01 -05:00
scripts jjb: print full pytest version when available 2026-02-10 09:23:50 -05:00
.editorconfig Fix indentation in shell scripts 2024-10-04 08:33:50 -04:00
.gitignore ansible: Enable logging to file by default 2026-01-22 13:11:05 -05: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