1
0
Fork 1
mirror of https://git.lttng.org/lttng-ci.git synced 2026-04-12 02:59:28 -04:00
No description
  • Shell 35.6%
  • Jinja 33.7%
  • Python 21.5%
  • Groovy 8.5%
  • Dockerfile 0.5%
  • Other 0.1%
Find a file
Kienan Stewart 6493346888 jjb: Fix copy of gerrit deps
The artifacts should end up in `deps/build/*`. When copying with
`$WORKSPACE/build/` to deps, the files are copied to
`$WORKSPACE/deps/*` instead.

Change-Id: Ic72f994ed951d3a3322eb331fb9c317a4b5a87b0
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2026-04-09 13:49:29 -04:00
automation ansible: Install powerpc64 big-endian cross compilers 2026-04-08 14:30:24 -04: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: Add powerpc64 (big-endian) to modules crossbuilds 2026-04-08 14:30:24 -04:00
lava lava: bt benchmark builds require new vendor options 2026-03-24 10:28:43 -04:00
LICENSES lava: rework system-tests 2025-09-26 16:22:43 -04:00
pipelines jjb: Remove stable-2.12 32-64 test suite 2026-03-27 15:28:29 -04:00
scripts jjb: Fix copy of gerrit deps 2026-04-09 13:49:29 -04: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 Fix yamllint errors 2026-02-26 11:26:41 -05:00
.yamllint misc: Add yamllint configuration file 2026-02-13 11:32:01 -05:00
LICENSE Reorganisation of the repo and cleanup 2015-08-14 16:15:50 -04:00
poetry.lock Add python-redmine 2026-03-12 16:39:45 -04:00
pyproject.toml Add python-redmine 2026-03-12 16:39:45 -04: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