From f8bf0d189d36dce09d6d5ab993f6e6b6ec762971 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Dalleau?=
 <frederic.dalleau@collabora.com>
Date: Fri, 21 Dec 2018 10:26:17 +0000
Subject: [PATCH] Mention a reference URL to download the static update bundle
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Frédéric Dalleau <frederic.dalleau@collabora.com>
---
 test-cases/apertis-update-manager-api.yaml        | 3 ++-
 test-cases/apertis-update-manager-automount.yaml  | 3 ++-
 test-cases/apertis-update-manager-diskfull.yaml   | 3 ++-
 test-cases/apertis-update-manager-manual.yaml     | 3 ++-
 test-cases/apertis-update-manager-powercut.yaml   | 3 ++-
 test-cases/apertis-update-manager-rollback.yaml   | 3 ++-
 test-cases/apertis-update-manager-usb-unplug.yaml | 3 ++-
 7 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/test-cases/apertis-update-manager-api.yaml b/test-cases/apertis-update-manager-api.yaml
index 230c13c..20eee34 100644
--- a/test-cases/apertis-update-manager-api.yaml
+++ b/test-cases/apertis-update-manager-api.yaml
@@ -10,7 +10,8 @@ metadata:
   description: "Test the apertis-update-manager automatic update."
 
   resources:
-    - "A Fat32 USB flash drive, preloaded with an update bundle named static-update.bundle at the root of the disk"
+    - "A static update bundle file from https://images.apertis.org/updater-test/armhf-minimal/static-update.bundle"
+    - "A Fat32 USB flash drive, preloaded with the update bundle at the root of the disk"
     - "The DUT u-boot environment must be clean: in u-boot, run: `env default -a` followed by `saveenv`"
     - "A PC must be connected to DUT serial port"
 
diff --git a/test-cases/apertis-update-manager-automount.yaml b/test-cases/apertis-update-manager-automount.yaml
index 14cbff9..be7c486 100644
--- a/test-cases/apertis-update-manager-automount.yaml
+++ b/test-cases/apertis-update-manager-automount.yaml
@@ -10,7 +10,8 @@ metadata:
   description: "Test the apertis-update-manager automatic update via mass storage device."
 
   resources:
-    - "A Fat32 USB flash drive, preloaded with an update bundle named static-update.bundle at the root of the disk"
+    - "A static update bundle file from https://images.apertis.org/updater-test/armhf-minimal/static-update.bundle"
+    - "A Fat32 USB flash drive, preloaded with the update bundle at the root of the disk"
     - "The DUT u-boot environment must be clean: in u-boot, run: `env default -a` followed by `saveenv`"
     - "A PC must be connected to DUT serial port"
 
diff --git a/test-cases/apertis-update-manager-diskfull.yaml b/test-cases/apertis-update-manager-diskfull.yaml
index f819598..eac20ca 100644
--- a/test-cases/apertis-update-manager-diskfull.yaml
+++ b/test-cases/apertis-update-manager-diskfull.yaml
@@ -10,7 +10,8 @@ metadata:
   description: "Ensure that failures due to disk full errors during updates have no effect on the system"
 
   resources:
-    - "A Fat32 USB flash drive, preloaded with an update bundle named static-update.bundle at the root of the disk"
+    - "A static update bundle file from https://images.apertis.org/updater-test/armhf-minimal/static-update.bundle"
+    - "A Fat32 USB flash drive, preloaded with the update bundle at the root of the disk"
     - "The DUT u-boot environment must be clean: in u-boot, run: `env default -a` followed by `saveenv`"
     - "A PC must be connected to DUT serial port"
 
diff --git a/test-cases/apertis-update-manager-manual.yaml b/test-cases/apertis-update-manager-manual.yaml
index 262c2b8..a2ce0ac 100644
--- a/test-cases/apertis-update-manager-manual.yaml
+++ b/test-cases/apertis-update-manager-manual.yaml
@@ -21,7 +21,8 @@ run:
     - $ sudo ostree admin status
     - "Remove blacklist file if it exists"
     - $ sudo rm -f /var/aum_blacklist.conf
-    - "Download a static delta update and copy it to the target using scp"
+    - "From the host, download a static delta update and copy it to the target using scp"
+    - $ wget https://images.apertis.org/updater-test/armhf-minimal/static-update.bundle
     - $ scp /path/to/static/delta user@target:update.bundle
     - "The update does not start automatically, start it manually"
     - $ sudo updatectl --apply-static-delta /home/user/update.bundle
diff --git a/test-cases/apertis-update-manager-powercut.yaml b/test-cases/apertis-update-manager-powercut.yaml
index 0b788fd..6e46dc1 100644
--- a/test-cases/apertis-update-manager-powercut.yaml
+++ b/test-cases/apertis-update-manager-powercut.yaml
@@ -10,7 +10,8 @@ metadata:
   description: "Ensure that failures due to power losses during updates have no effect on the system"
 
   resources:
-    - "A Fat32 USB flash drive, preloaded with an update bundle named static-update.bundle at the root of the disk"
+    - "A static update bundle file from https://images.apertis.org/updater-test/armhf-minimal/static-update.bundle"
+    - "A Fat32 USB flash drive, preloaded with the update bundle at the root of the disk"
     - "The DUT u-boot environment must be clean: in u-boot, run: `env default -a` followed by `saveenv`"
     - "A PC must be connected to DUT serial port"
 
diff --git a/test-cases/apertis-update-manager-rollback.yaml b/test-cases/apertis-update-manager-rollback.yaml
index f7b7a40..f6aaef7 100644
--- a/test-cases/apertis-update-manager-rollback.yaml
+++ b/test-cases/apertis-update-manager-rollback.yaml
@@ -10,7 +10,8 @@ metadata:
   description: "Test the automatic rollback and blacklist mechanism of apertis-update-manager."
 
   resources:
-    - "A Fat32 USB flash drive, preloaded with an update bundle named static-update.bundle at the root of the disk"
+    - "A static update bundle file from https://images.apertis.org/updater-test/armhf-minimal/static-update.bundle"
+    - "A Fat32 USB flash drive, preloaded with the update bundle at the root of the disk"
     - "The DUT u-boot environment must be clean: in u-boot, run: `env default -a` followed by `saveenv`"
     - "A PC must be connected to DUT serial port"
 
diff --git a/test-cases/apertis-update-manager-usb-unplug.yaml b/test-cases/apertis-update-manager-usb-unplug.yaml
index e1bfc30..3fd2b96 100644
--- a/test-cases/apertis-update-manager-usb-unplug.yaml
+++ b/test-cases/apertis-update-manager-usb-unplug.yaml
@@ -10,7 +10,8 @@ metadata:
   description: "Test the apertis-update-manager automatic update interrupted by mass storage removing."
 
   resources:
-    - "A Fat32 USB flash drive, preloaded with an update bundle named static-update.bundle at the root of the disk"
+    - "A static update bundle file from https://images.apertis.org/updater-test/armhf-minimal/static-update.bundle"
+    - "A Fat32 USB flash drive, preloaded with the update bundle at the root of the disk"
     - "The DUT u-boot environment must be clean: in u-boot, run: `env default -a` followed by `saveenv`"
     - "A PC must be connected to DUT serial port"
 
-- 
GitLab