---
## Anchors
-- system_tests_parameters_defaults: &system_tests_parameters_defaults
+- _system_tests_parameters_defaults: &system_tests_parameters_defaults
name: 'system_tests_parameters_defaults'
parameters:
- string:
name: 'LTTNG_UST_REPO'
default: 'https://github.com/lttng/lttng-ust.git'
description: 'LTTng-UST git repo to checkout the UST id'
+ - string:
+ name: 'ROOTFS_URL'
+ default: 'https://obj.internal.efficios.com/lava/rootfs/rootfs_amd64_xenial_2018-12-05.tar.gz'
+ description: 'The URL at which the system root FS can be downloaded'
+ - string:
+ name: 'LTTNG_CI_REPO'
+ default: 'https://github.com/lttng/lttng-ci.git'
+ description: 'LTTng-ci git repo to checkout the CI scripts'
+ - string:
+ name: 'LTTNG_CI_BRANCH'
+ default: 'master'
+ description: 'The branch of the CI repository to clone for job scripts'
- publisher:
name: 'system_tests_email_ext_default'
properties-content: |
BUILD_DEVICE=kvm
LTTNG_VERSION={lttngversion}
+ LTTNG_CI_REPO=${{LTTNG_CI_REPO}}
+ LTTNG_CI_BRANCH=${{LTTNG_CI_BRANCH}}
scm:
- git:
- url: https://github.com/lttng/lttng-ci
+ url: "${{LTTNG_CI_REPO}}"
basedir: src/lttng-ci/
+ branches:
+ - "${{LTTNG_CI_BRANCH}}"
builders:
- shell: !include-raw-escape: scripts/system-tests/generate-properties-master.sh
properties:
- build-discarder:
num-to-keep: 10
+ artifact-num-to-keep: 2
- throttle:
max-total: 2
option: 'category'
properties-content: |
BUILD_DEVICE=baremetal
LTTNG_VERSION={lttngversion}
+ LTTNG_CI_REPO=${{LTTNG_CI_REPO}}
+ LTTNG_CI_BRANCH=${{LTTNG_CI_BRANCH}}
scm:
- git:
- url: https://github.com/lttng/lttng-ci
+ url: "${{LTTNG_CI_REPO}}"
basedir: src/lttng-ci/
+ branches:
+ - "${{LTTNG_CI_BRANCH}}"
builders:
- shell: !include-raw-escape: scripts/system-tests/generate-properties-master.sh
- string:
name: 'S3_STORAGE_LTTNG_MODULES'
description: 'Path to store the LTTng Modules'
+ - string:
+ name: 'LTTNG_CI_REPO'
+ default: 'https://github.com/lttng/lttng-ci.git'
+ description: 'LTTng-ci git repo to checkout the CI scripts'
+ - string:
+ name: 'LTTNG_CI_BRANCH'
+ default: 'master'
+ description: 'The branch of the CI repository to clone for job scripts'
properties:
- build-discarder:
scm:
- git:
- url: https://github.com/lttng/lttng-ci
+ url: "${{LTTNG_CI_REPO}}"
basedir: src/lttng-ci/
- - git:
- url : $LTTNG_MODULES_REPO
- basedir: src/lttng-modules/
branches:
- - $LTTNG_MODULES_COMMIT_ID
+ - "${{LTTNG_CI_BRANCH}}"
builders:
+ - shell: !include-raw-escape: scripts/system-tests/checkout-modules.sh
- shell: !include-raw-escape: scripts/system-tests/generate-properties-slave.sh
- inject:
properties-file: properties.txt
lttngversion:
- canary
- master
- - stable-2.10
- - stable-2.11
- stable-2.12
- stable-2.13
jobs:
- linux-3.18.y
lttngversion:
- master
- - stable-2.10
- - stable-2.11
- stable-2.12
- stable-2.13
jobs: