summaryrefslogtreecommitdiff
path: root/tests.branching/setup
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-09-04 17:42:32 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-09-07 18:14:44 +0100
commitf55a1228d09f2661ef83ba5d0d12b0363a48412b (patch)
tree0287aa1c06b7373d3aeea7ccfa35463347035f13 /tests.branching/setup
parent204f272d5a2c3471a1e796132bc16dec72a8f926 (diff)
downloadmorph-f55a1228d09f2661ef83ba5d0d12b0363a48412b.tar.gz
Add a new 'morph build' for building from a system branch
This new command does a lot. First of all, its command line interface has now changed to 'morph build SYSTEM' and it needs to be run from a system branch. When called, the new 'build' command will identify the repositories and morphologies involved in building the system from the system branch, create a build ref behind the scenes based on the system branch and add a commit with all uncommitted changes to this build branch for every repo involved. It will then push those build branches to the repository server and kick off a build of BRANCH_ROOT BUILD_BRANCH SYSTEM.morph. After building has finished, the remote build branches will be deleted again.
Diffstat (limited to 'tests.branching/setup')
-rwxr-xr-xtests.branching/setup1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests.branching/setup b/tests.branching/setup
index 6cbd18c6..30bfbd24 100755
--- a/tests.branching/setup
+++ b/tests.branching/setup
@@ -64,6 +64,7 @@ cat <<EOF > "$DATADIR/morphs/hello-system.morph"
"name": "hello-system",
"kind": "system",
"system-kind": "syslinux-disk",
+ "arch": "$(uname -m)",
"disk-size": "1G",
"strata": [
{