Commit | Line | Data |
---|---|---|
9151e32e JR |
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: | |
d0ffdf18 | 6 | - debian |
9151e32e JR |
7 | - ubuntu |
8 | devices: | |
9 | - x86 | |
10 | run: | |
11 | steps: | |
9151e32e | 12 | - chmod 755 / |
e94bd788 | 13 | - echo nameserver 172.18.0.13 > /etc/resolv.conf |
9151e32e JR |
14 | - ip a |
15 | - groupadd tracing | |
16 | - depmod -a | |
9151e32e JR |
17 | - apt-get update |
18 | - apt-get upgrade | |
db5b1495 KS |
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 | |
9151e32e | 25 | - hash -r |
ef50ca2a | 26 | - git clone "${CI_REPO}" --branch="${CI_BRANCH}" ci |
352aca7a JR |
27 | - mkdir -p /root/.ssh |
28 | - chmod 700 /root/.ssh | |
9151e32e JR |
29 | - cp lava/system-tests/authorized_keys /root/.ssh/authorized_keys |
30 | - chmod 600 /root/.ssh/authorized_keys | |
31 | - sync |