From 31ddf5da04385dcf060334bbe0948ced23b96513 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Thu, 14 May 2015 13:31:11 +0000 Subject: yarns: Add a test for `morph list-artifacts` Change-Id: I7c993aee22f8438c28566acce01c524d9b315951 --- yarns/branches-workspaces.yarn | 12 ++++++++++++ yarns/implementations.yarn | 6 ++++++ 2 files changed, 18 insertions(+) (limited to 'yarns') diff --git a/yarns/branches-workspaces.yarn b/yarns/branches-workspaces.yarn index 8bbf7d50..e0ead11c 100644 --- a/yarns/branches-workspaces.yarn +++ b/yarns/branches-workspaces.yarn @@ -657,3 +657,15 @@ 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:morphs THEN morph succeeded AND morph output Reproducibility certification PASSED + +Listing artifacts in a system +----------------------------- + +The `morph list-artifacts` command can be used to list the names of each +artifact in a system. This name includes the cache key of the artifact. + + SCENARIO using morph list-artifacts + GIVEN a git server + + WHEN the user lists the artifacts which make up the system systems/test-system.morph at ref HEAD in repository test:morphs + THEN morph succeeded diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn index 688203cf..8244cfa0 100644 --- a/yarns/implementations.yarn +++ b/yarns/implementations.yarn @@ -745,6 +745,12 @@ Implementations for `morph certify` IMPLEMENTS WHEN the user certifies the system (\S+) at ref (\S+) in repository (\S+) attempt_morph certify "$MATCH_3" "$MATCH_2" "$MATCH_1" +Implementations for `morph list-artifacts` +------------------------------------------ + + IMPLEMENTS WHEN the user lists the artifacts which make up the system (\S+) at ref (\S+) in repository (\S+) + attempt_morph list-artifacts "$MATCH_3" "$MATCH_2" "$MATCH_1" + Implementations for temporary build branch handling --------------------------------------------------- -- cgit v1.2.1