summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-10 10:17:51 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-10 15:13:34 +0000
commit5601abe76d03c97dac4f739e988e59411672e446 (patch)
tree5662b9436399a742eb763b5d48f5fa3f0634ffe9
parent55af38e2e47212b3ccf4c027c4fc95bbbb097169 (diff)
downloadmorph-5601abe76d03c97dac4f739e988e59411672e446.tar.gz
TEMP: Only run distbuild test
-rw-r--r--yarns/building.yarn154
1 files changed, 77 insertions, 77 deletions
diff --git a/yarns/building.yarn b/yarns/building.yarn
index b5e46b73..99073b48 100644
--- a/yarns/building.yarn
+++ b/yarns/building.yarn
@@ -1,70 +1,70 @@
Morph Building Tests
-======================
-
- SCENARIO attempting to build a system morphology which has never been committed
- GIVEN a workspace
- AND a git server
- WHEN the user checks out the system branch called master
- AND the user creates an uncommitted system morphology called systems/base-system.morph for our architecture in system branch master
- AND the user attempts to build the system systems/base-system.morph in branch master
- THEN morph succeeded
- FINALLY the git server is shut down
-
- SCENARIO build system with relative path
- GIVEN a workspace
- AND a git server
- WHEN the user checks out the system branch called master
- AND the user creates an uncommitted system morphology called systems/base-system.morph for our architecture in system branch master
- AND from the directory workspace/master/test/morphs/systems the user attempts to morph build the system base-system.morph
- THEN morph succeeded
- FINALLY the git server is shut down
-
- SCENARIO build system with relative path (second variant)
- GIVEN a workspace
- AND a git server
- WHEN the user checks out the system branch called master
- AND the user creates an uncommitted system morphology called systems/base-system.morph for our architecture in system branch master
- AND from the directory workspace/master/test/morphs/systems the user attempts to morph build the system ../systems/base-system.morph
- THEN morph succeeded
- FINALLY the git server is shut down
-
- SCENARIO build system with absolute path
- GIVEN a workspace
- AND a git server
- WHEN the user checks out the system branch called master
- AND the user creates an uncommitted system morphology called systems/base-system.morph for our architecture in system branch master
- AND from the directory workspace/master/test/morphs/systems the user attempts to morph build the system using the absolute path to base-system.morph
- THEN morph succeeded
- FINALLY the git server is shut down
-
-System integrations
--------------------
-
-`system-integration` is a field in chunk morphologies that allows you to
-have some scripts run at system artifact construction time, because some
-things need to be done after every chunk is built, such as `ldconfig`,
-so every library path in `/etc/ld.so.conf` can be found, and it can look
-up libraries more quickly.
-
- SCENARIO using system integrations
- GIVEN a workspace
- AND a git server
- WHEN the user checks out the system branch called master
- AND the user attempts to build the system systems/test-system.morph in branch master
- THEN morph succeeded
-
-In our example, we have a system integration that creates /etc/passwd,
-so when we deploy the system, we can check whether it exists.
-
- GIVEN a cluster called test-cluster.morph in system branch master
- AND a system in cluster test-cluster.morph in branch master called test-system
- AND system test-system in cluster test-cluster.morph in branch master builds systems/test-system.morph
- AND system test-system in cluster test-cluster.morph in branch master has deployment type: tar
- WHEN the user attempts to deploy the cluster test-cluster.morph in branch master with options test-system.location="$DATADIR/test.tar"
- THEN morph succeeded
- AND tarball test.tar contains etc/passwd
- FINALLY the git server is shut down
-
+>======================
+>
+> SCENARIO attempting to build a system morphology which has never been committed
+> GIVEN a workspace
+> AND a git server
+> WHEN the user checks out the system branch called master
+> AND the user creates an uncommitted system morphology called systems/base-system.morph for our architecture in system branch master
+> AND the user attempts to build the system systems/base-system.morph in branch master
+> THEN morph succeeded
+> FINALLY the git server is shut down
+>
+> SCENARIO build system with relative path
+> GIVEN a workspace
+> AND a git server
+> WHEN the user checks out the system branch called master
+> AND the user creates an uncommitted system morphology called systems/base-system.morph for our architecture in system branch master
+> AND from the directory workspace/master/test/morphs/systems the user attempts to morph build the system base-system.morph
+> THEN morph succeeded
+> FINALLY the git server is shut down
+>
+> SCENARIO build system with relative path (second variant)
+> GIVEN a workspace
+> AND a git server
+> WHEN the user checks out the system branch called master
+> AND the user creates an uncommitted system morphology called systems/base-system.morph for our architecture in system branch master
+> AND from the directory workspace/master/test/morphs/systems the user attempts to morph build the system ../systems/base-system.morph
+> THEN morph succeeded
+> FINALLY the git server is shut down
+>
+> SCENARIO build system with absolute path
+> GIVEN a workspace
+> AND a git server
+> WHEN the user checks out the system branch called master
+> AND the user creates an uncommitted system morphology called systems/base-system.morph for our architecture in system branch master
+> AND from the directory workspace/master/test/morphs/systems the user attempts to morph build the system using the absolute path to base-system.morph
+> THEN morph succeeded
+> FINALLY the git server is shut down
+>
+>System integrations
+>-------------------
+>
+>`system-integration` is a field in chunk morphologies that allows you to
+>have some scripts run at system artifact construction time, because some
+>things need to be done after every chunk is built, such as `ldconfig`,
+>so every library path in `/etc/ld.so.conf` can be found, and it can look
+>up libraries more quickly.
+>
+> SCENARIO using system integrations
+> GIVEN a workspace
+> AND a git server
+> WHEN the user checks out the system branch called master
+> AND the user attempts to build the system systems/test-system.morph in branch master
+> THEN morph succeeded
+>
+>In our example, we have a system integration that creates /etc/passwd,
+>so when we deploy the system, we can check whether it exists.
+>
+> GIVEN a cluster called test-cluster.morph in system branch master
+> AND a system in cluster test-cluster.morph in branch master called test-system
+> AND system test-system in cluster test-cluster.morph in branch master builds systems/test-system.morph
+> AND system test-system in cluster test-cluster.morph in branch master has deployment type: tar
+> WHEN the user attempts to deploy the cluster test-cluster.morph in branch master with options test-system.location="$DATADIR/test.tar"
+> THEN morph succeeded
+> AND tarball test.tar contains etc/passwd
+> FINALLY the git server is shut down
+>
Distbuilding
------------
@@ -101,14 +101,14 @@ repos cached locally.
AND the distbuild worker is terminated
AND the communal cache server is terminated
AND the git server is shut down
-
-Empty strata don't build
-------------------------
-
- SCENARIO empty-strata
- GIVEN a workspace
- AND a git server
- WHEN the user checks out the system branch called empty-stratum
- AND the user attempts to build the system systems/empty-stratum-system.morph in branch empty-stratum
- THEN morph failed
- FINALLY the git server is shut down
+>
+>Empty strata don't build
+>------------------------
+>
+> SCENARIO empty-strata
+> GIVEN a workspace
+> AND a git server
+> WHEN the user checks out the system branch called empty-stratum
+> AND the user attempts to build the system systems/empty-stratum-system.morph in branch empty-stratum
+> THEN morph failed
+> FINALLY the git server is shut down