From 83fd21a79e2e40f919623fe6dfd59a37dd1e544f Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 22 Jun 2023 14:21:11 -0700 Subject: [PATCH] jenkins: new replay devices (#28643) * replay * restart nm old-commit-hash: 16e3d4f69f5ee4eea23f0440da6a73cf842f80d2 --- Jenkinsfile | 2 +- selfdrive/test/setup_device_ci.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 128273792e..a90bad9ec7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -218,7 +218,7 @@ pipeline { stage('replay') { agent { docker { image 'ghcr.io/commaai/alpine-ssh'; args '--user=root' } } steps { - phone_steps("tici-common", [ + phone_steps("tici-replay", [ ["build", "cd selfdrive/manager && ./build.py"], ["model replay", "cd selfdrive/test/process_replay && ./model_replay.py"], ]) diff --git a/selfdrive/test/setup_device_ci.sh b/selfdrive/test/setup_device_ci.sh index b7d586a83b..7137bfad2b 100755 --- a/selfdrive/test/setup_device_ci.sh +++ b/selfdrive/test/setup_device_ci.sh @@ -33,6 +33,7 @@ echo tici-$(cat /proc/cmdline | sed -e 's/^.*androidboot.serialno=//' -e 's/ .*$ sudo sed -i "s,/data/params/d/GithubSshKeys,/usr/comma/setup_keys," /etc/ssh/sshd_config sudo systemctl daemon-reload sudo systemctl restart ssh +sudo systemctl restart NetworkManager sudo systemctl disable ssh-param-watcher.path sudo systemctl disable ssh-param-watcher.service sudo mount -o ro,remount /