Merge ~alfonsosanchezbeato/snappy-hwe-snaps/+git/jenkins-jobs:fix-hw-tests into ~snappy-hwe-team/snappy-hwe-snaps/+git/jenkins-jobs:master

Proposed by Alfonso Sanchez-Beato
Status: Merged
Approved by: Konrad Zapałowicz
Approved revision: cfd48bb7f63b2db05b9f3240905e09f9d0bc7da1
Merged at revision: caf8a3a8e36ac556307fc79f4a7297c4bc5f882c
Proposed branch: ~alfonsosanchezbeato/snappy-hwe-snaps/+git/jenkins-jobs:fix-hw-tests
Merge into: ~snappy-hwe-team/snappy-hwe-snaps/+git/jenkins-jobs:master
Diff against target: 22 lines (+3/-1)
1 file modified
tools/hardware-test.sh (+3/-1)
Reviewer Review Type Date Requested Status
System Enablement Bot continuous-integration Approve
Konrad Zapałowicz (community) continuous-integration Approve
Review via email: mp+330004@code.launchpad.net

Description of the change

Fix tests run by testflinger, as now the testflinger server
is in fact a container and needs some configuration.

To post a comment you must log in.
Revision history for this message
Konrad Zapałowicz (kzapalowicz) wrote :

ack

review: Approve (continuous-integration)
Revision history for this message
System Enablement Bot (system-enablement-ci-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/tools/hardware-test.sh b/tools/hardware-test.sh
index 309409d..30c9a9f 100755
--- a/tools/hardware-test.sh
+++ b/tools/hardware-test.sh
@@ -68,6 +68,8 @@ provision_data:
68 channel: stable68 channel: stable
69test_data:69test_data:
70 test_cmds:70 test_cmds:
71 - sudo apt update
72 - sudo apt install --yes git curl
71 - git clone --depth 1 -b $BRANCH $REPO src73 - git clone --depth 1 -b $BRANCH $REPO src
72 - cd src && curl -s -O https://niemeyer.s3.amazonaws.com/spread-amd64.tar.gz && tar xzvf spread-amd64.tar.gz74 - cd src && curl -s -O https://niemeyer.s3.amazonaws.com/spread-amd64.tar.gz && tar xzvf spread-amd64.tar.gz
73 - $DEVICE_SSH "sudo adduser --extrausers --quiet --disabled-password --gecos '' $DEVICE_USER"75 - $DEVICE_SSH "sudo adduser --extrausers --quiet --disabled-password --gecos '' $DEVICE_USER"
@@ -85,7 +87,7 @@ set -ex
8587
86cd $REMOTE_WORKSPACE88cd $REMOTE_WORKSPACE
87if ! which virtualenv; then89if ! which virtualenv; then
88 sudo apt install --yes --allow-downgrades --allow-remove-essential --allow-change-held-packages virtualenv90 sudo apt install --yes virtualenv
89fi91fi
9092
91git clone https://git.launchpad.net/testflinger-cli93git clone https://git.launchpad.net/testflinger-cli

Subscribers

People subscribed via source and target branches