ansible: Correct typo in post-image-clean play
[lttng-ci.git] / scripts / system-tests / template_lava_job.jinja2
index 59fc91f0da701270926a53c3ae39c6227c8fb129..06ec835992391506d0a665131e4aa809901191e9 100644 (file)
@@ -16,6 +16,9 @@ context:
   extra_kernel_args: cpuidle.off=1
   extra_nfsroot_args: ",nfsvers=3 nfsrootdebug"
 
+environment:
+  SHELL: "/bin/bash"
+
 {% if device_type == DeviceType.kvm %}
 tags:
   - qemu
@@ -75,6 +78,7 @@ actions:
                     name: vlttng-env-setup
                     description: "Configure virtualenv for vlttng"
                     os:
+                      - debian
                       - ubuntu
                     devices:
                       - x86
@@ -87,6 +91,12 @@ actions:
                     - mount /dev/sda /tmp
                   {% endif %}
                     - rm -rf /tmp/*
+                    # With the Debian bookwrom rootfs, without
+                    # this being set, the babeltrace2 'bt2' python
+                    # bindings are not correctly installed in the
+                    # vlttng directory.
+                    - export SETUPTOOLS_USE_DISTUTILS=stdlib
+                    - source /root/python-venv/bin/activate
                     - {{ vlttng_cmd }}
                     - ln -s {{ vlttng_path }} /root/lttngvenv
                     - sync
@@ -115,14 +125,14 @@ actions:
                 JENKINS_BUILD_ID: {{ jenkins_build_id }}
                 CI_REPO: {{ ci_repo }}
                 CI_BRANCH: {{ ci_branch }}
+          {% endif %}
             - repository: {{ ci_repo }}
               from: git
               branch: {{ ci_branch }}
-              path: lava/system-tests/destructive-tests.yml
-              name: destructive-tests
+              path: lava/system-tests/upload-artifacts.yml
+              name: upload-artifacts
               params:
                 LTTNG_VERSION_STRING: {{ lttng_version_string }}
                 JENKINS_BUILD_ID: {{ jenkins_build_id }}
                 CI_REPO: {{ ci_repo }}
                 CI_BRANCH: {{ ci_branch }}
-          {% endif %}
This page took 0.026803 seconds and 4 git commands to generate.