[Qa-jenkins-scm] [jenkins.debian.net] 11/11: lvc: add an initial snapshot, just after the disk is created

Holger Levsen holger at layer-acht.org
Fri Jun 3 00:48:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 670737044223a33fa7e82d63784bee63f761b69c
Author: Philip Hands <phil at hands.com>
Date:   Thu Jun 2 23:36:23 2016 +0200

    lvc: add an initial snapshot, just after the disk is created
---
 cucumber/features/step_definitions/snapshots.rb | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/cucumber/features/step_definitions/snapshots.rb b/cucumber/features/step_definitions/snapshots.rb
index bbd66d1..e0c8be5 100644
--- a/cucumber/features/step_definitions/snapshots.rb
+++ b/cucumber/features/step_definitions/snapshots.rb
@@ -1,15 +1,20 @@
 def checkpoints
   cp = Hash.new
+  cp['disk-for-d-i'] = {
+    :description => "Create a disk for Debian Installer tests",
+    :parent_checkpoint => nil,
+    :steps => [
+      'I create a 10 GiB disk named "'+JOB_NAME+'"',
+      'I plug ide drive "'+JOB_NAME+'"',
+    ]
+  }
 
   ['text', 'gui'].each do |m|
     cp["boot-d-i-#{m}-to-tasksel"] = {
         :description => "I have started Debian Installer in #{m} mode and stopped at the Tasksel prompt",
-        :parent_checkpoint => nil,
-        :parent_checkpoint => nil,
+        :parent_checkpoint => 'disk-for-d-i',
         :steps => [
           "I intend to use #{m} mode",
-          'I create a 10 GiB disk named "'+JOB_NAME+'"',
-          'I plug ide drive "'+JOB_NAME+'"',
           'I start the computer',
           'I select the install mode',
           'I select British English',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list