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: | |
6 | - ubuntu | |
7 | devices: | |
8 | - x86 | |
9 | run: | |
10 | steps: | |
9151e32e JR |
11 | - chmod 755 / |
12 | - systemctl start systemd-timesyncd | |
e94bd788 | 13 | - echo nameserver 172.18.0.13 > /etc/resolv.conf |
9151e32e JR |
14 | - ip a |
15 | - groupadd tracing | |
16 | - depmod -a | |
17 | - locale-gen en_US.UTF-8 | |
18 | - apt-get update | |
19 | - apt-get upgrade | |
20 | - apt-get install -y systemtap-sdt-dev openssh-server | |
21 | - pip3 install 'pip==20.3' | |
22 | - hash -r | |
23 | - pip3 install vlttng | |
ef50ca2a | 24 | - git clone "${CI_REPO}" --branch="${CI_BRANCH}" ci |
352aca7a JR |
25 | - mkdir -p /root/.ssh |
26 | - chmod 700 /root/.ssh | |
9151e32e JR |
27 | - cp lava/system-tests/authorized_keys /root/.ssh/authorized_keys |
28 | - chmod 600 /root/.ssh/authorized_keys | |
29 | - sync |