From 74e8d1b9aeb47d957d526250784d2c0087e59bf9 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Mon, 18 Apr 2016 19:47:47 +0000 Subject: yarns: Stop git server when we use it. Fixes https://storyboard.baserock.org/#!/story/83 Change-Id: Iae3f99b4189f513fa9b02d904c4fcdc0f52bbfb6 --- yarns/deployment.yarn | 1 + yarns/noncore-plugins.yarn | 6 ++++++ yarns/tempdir.yarn | 1 + 3 files changed, 8 insertions(+) diff --git a/yarns/deployment.yarn b/yarns/deployment.yarn index b159b68c..fe824d27 100644 --- a/yarns/deployment.yarn +++ b/yarns/deployment.yarn @@ -312,3 +312,4 @@ something other than tarball or sysroot. WHEN the user attempts to partially deploy rawdisk from cluster clusters/partial-test-cluster.morph in branch master THEN morph failed + FINALLY the git server is shut down diff --git a/yarns/noncore-plugins.yarn b/yarns/noncore-plugins.yarn index 9e573673..d7f532da 100644 --- a/yarns/noncore-plugins.yarn +++ b/yarns/noncore-plugins.yarn @@ -153,6 +153,7 @@ Generating a manifest works WHEN the user clones definitions AND morph generates a manifest THEN the manifest is generated + FINALLY the git server is shut down A CSV manifest can also be generated. @@ -162,6 +163,7 @@ A CSV manifest can also be generated. WHEN morph generates a manifest for system systems/test-system.morph at ref HEAD in repository test:definitions THEN morph succeeded AND the csv manifest is generated + FINALLY the git server is shut down Definition diffing ------------------ @@ -177,6 +179,7 @@ Definition diffing THEN morph succeeded AND morph output test-tag + FINALLY the git server is shut down ### diff implementations @@ -196,6 +199,7 @@ a system is likely to have a reproducible result. WHEN the user certifies the system systems/test-system.morph at ref HEAD in repository test:definitions THEN morph succeeded AND morph output Reproducibility certification PASSED + FINALLY the git server is shut down Listing artifacts in a system ----------------------------- @@ -208,6 +212,7 @@ artifact in a system. This name includes the cache key of the artifact. WHEN the user lists the artifacts which make up the system systems/test-system.morph at ref HEAD in repository test:definitions THEN morph succeeded + FINALLY the git server is shut down Printing the architecture ------------------------- @@ -279,6 +284,7 @@ Showing dependencies AND a system with two reasonable-sized strata in branch master of definitions WHEN the user runs the show-dependencies command for system xfce-system.morph in branch master THEN the result shows the dependencies of the system + FINALLY the git server is shut down IMPLEMENTS GIVEN a system with two reasonable-sized strata in branch (\S+) of definitions branch="$MATCH_1" diff --git a/yarns/tempdir.yarn b/yarns/tempdir.yarn index 7882121e..ae196974 100644 --- a/yarns/tempdir.yarn +++ b/yarns/tempdir.yarn @@ -5,6 +5,7 @@ Temporary Directory GIVEN a git server WHEN the user clones definitions THEN the user is able to build the system systems/test-system.morph in branch master using the specified temporary directory + FINALLY the git server is shut down IMPLEMENTS THEN the user is able to build the system (\S+) in branch (\S+) using the specified temporary directory system="$MATCH_1" -- cgit v1.2.1