← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] ~andersson123/qa-jenkins-jobs:install-testflinger-via-pip into qa-jenkins-jobs:master

 

Tim Andersson has proposed merging ~andersson123/qa-jenkins-jobs:install-testflinger-via-pip into qa-jenkins-jobs:master.

Requested reviews:
  Canonical Platform QA Team (canonical-platform-qa)

For more details, see:
https://code.launchpad.net/~andersson123/qa-jenkins-jobs/+git/qa-jenkins-jobs/+merge/470724
-- 
Your team Canonical Platform QA Team is requested to review the proposed merge of ~andersson123/qa-jenkins-jobs:install-testflinger-via-pip into qa-jenkins-jobs:master.
diff --git a/jobs/hardware-iso-testing/jobs.yaml b/jobs/hardware-iso-testing/jobs.yaml
index bc9372a..b06fd2d 100644
--- a/jobs/hardware-iso-testing/jobs.yaml
+++ b/jobs/hardware-iso-testing/jobs.yaml
@@ -46,10 +46,13 @@
       - shell: |
             set -e
             retry -t 3 -d 180 -- git clone -b "${{HW_INSTALLER_TESTING_BRANCH}}" --depth 1 https://github.com/canonical/hardware-installer-testing.git hardware-installer-testing
-            cd hardware-installer-testing/
-            python3 -m venv venv
-            . venv/bin/activate
-            pip3 install -r requirements.txt
+            retry -t 3 -d 180 -- git clone --depth 1 https://github.com/canonical/testflinger
+            cd testflinger/cli
+            virtualenv -p python3 env
+            . env/bin/activate
+            pip install .
+            cd ../../hardware-installer-testing/
+            pip install -r requirements.txt
             development_release=$(distro-info --devel || echo UNKNOWN)
             if [ {release} = $development_release ]; then
                 iso_url="https://cdimage.ubuntu.com/daily-live/current";

Follow ups