Skip to content

Commit 809c483

Browse files
authored
ci: fix test runner SSH config and pin robotframework version (#148)
1 parent f40eb38 commit 809c483

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

scripts/qemu/test-runner/packer/cloud-init/user-data

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ chpasswd:
1414
password: testrunner
1515
type: text
1616

17+
write_files:
18+
- path: /etc/ssh/sshd_config.d/99-packer.conf
19+
content: |
20+
PermitRootLogin yes
21+
PasswordAuthentication yes
22+
permissions: "0644"
23+
1724
runcmd:
18-
- sed -i 's/^#*PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config
19-
- sed -i 's/^#*PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config
20-
- systemctl restart sshd
25+
- systemctl restart ssh

scripts/qemu/test-runner/packer/scripts/install-robot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ set -euo pipefail
88
apt-get update
99
apt-get install -y python3 python3-pip python3-venv
1010

11-
pip3 install --break-system-packages robotframework
11+
pip3 install --break-system-packages robotframework==7.4.1

0 commit comments

Comments
 (0)