d9fcd4d035dad0139a1a75a3ec42494223d0529f
[lttng-ci.git] / lava / system-tests / setup.yml
1 metadata:
2 format: Lava-Test Test Definition 1.0
3 name: x86-env-setup
4 description: "Basic environment setup for x86 board"
5 os:
6 - debian
7 - ubuntu
8 devices:
9 - x86
10 run:
11 steps:
12 - chmod 755 /
13 - echo nameserver 172.18.0.13 > /etc/resolv.conf
14 - ip a
15 - groupadd tracing
16 - depmod -a
17 - apt-get update
18 - apt-get upgrade
19 # The locale generation is required for the python venv
20 # to be correctgly created.
21 - locale-gen en_US.UTF-8
22 - python3 -m venv /root/python-venv
23 - source /root/python-venv/bin/activate
24 - pip3 install vlttng
25 - hash -r
26 - git clone "${CI_REPO}" --branch="${CI_BRANCH}" ci
27 - mkdir -p /root/.ssh
28 - chmod 700 /root/.ssh
29 - cp lava/system-tests/authorized_keys /root/.ssh/authorized_keys
30 - chmod 600 /root/.ssh/authorized_keys
31 - sync
This page took 0.029439 seconds and 3 git commands to generate.