lava: Remove apt update & upgrade from lava setup
[lttng-ci.git] / lava / system-tests / setup.yml
index 597d856820e07810d6fd812e758c26b06b43cc00..2413d151b35ea7270eae1e313b9b35ab6ce543fd 100644 (file)
@@ -3,24 +3,24 @@ metadata:
     name: x86-env-setup
     description: "Basic environment setup for x86 board"
     os:
+      - debian
       - ubuntu
     devices:
       - x86
 run:
   steps:
     - chmod 755 /
-    - systemctl start systemd-timesyncd
     - echo nameserver 172.18.0.13 > /etc/resolv.conf
     - ip a
     - groupadd tracing
     - depmod -a
+    # The locale generation is required for the python venv
+    # to be correctgly created.
     - locale-gen en_US.UTF-8
-    - apt-get update
-    - apt-get upgrade
-    - apt-get install -y systemtap-sdt-dev openssh-server
-    - pip3 install 'pip==20.3'
-    - hash -r
+    - python3 -m venv /root/python-venv
+    - source /root/python-venv/bin/activate
     - pip3 install vlttng
+    - hash -r
     - git clone "${CI_REPO}" --branch="${CI_BRANCH}" ci
     - mkdir -p /root/.ssh
     - chmod 700 /root/.ssh
This page took 0.023659 seconds and 4 git commands to generate.