summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-04-28 18:44:44 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2015-04-29 11:32:51 +0000
commit9e074be3d862c92a47474fa613465e178944d00b (patch)
tree979ab9f5fe8c34d7a2ddbd6dfd8fe7ad48ef2407 /yarns
parent1f66776dd0f2b7aec093f7f85d34b84ad074adad (diff)
downloadmorph-9e074be3d862c92a47474fa613465e178944d00b.tar.gz
yarns: Have non-bogus trove config
Change-Id: I5dec13df6c28eeb4e8c83ec41fb4bd119e2eebb1
Diffstat (limited to 'yarns')
-rw-r--r--yarns/implementations.yarn16
1 files changed, 9 insertions, 7 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index 365076c1..686835f6 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -406,7 +406,9 @@ another to hold a chunk.
repo-alias = test=git://127.0.0.1:$GIT_DAEMON_PORT/%s#git://127.0.0.1:$GIT_DAEMON_PORT/%s
cachedir = $DATADIR/cache
tempdir = $DATADIR/tmp
- trove-host= []
+ trove-host = 127.0.0.1
+ trove-id = testtrove
+ build-ref-prefix = testtrove/builds
EOF
mkdir "$DATADIR/cache"
@@ -725,7 +727,7 @@ Implementations for temporary build branch handling
---------------------------------------------------
IMPLEMENTS GIVEN the workspace contains no temporary build branches
- build_ref_prefix=baserock/builds/
+ build_ref_prefix=testtrove/builds/
cd "$DATADIR/workspace"
# Want to use -execdir here, but busybox find doesn't support it
find . -name .git -print | while read gitdir; do (
@@ -736,7 +738,7 @@ Implementations for temporary build branch handling
); done
IMPLEMENTS GIVEN the git server contains no temporary build branches
- build_ref_prefix=refs/heads/baserock/builds/
+ build_ref_prefix=refs/heads/testtrove/builds/
cd "$DATADIR/gits"
# Want to use -execdir here, but busybox find doesn't support it
find . -name .git -print | while read gitdir; do (
@@ -764,26 +766,26 @@ Implementations for temporary build branch handling
EOF
IMPLEMENTS THEN the (\S+) repository in the workspace for (\S+) has temporary build branches
- build_ref_prefix=refs/heads/baserock/builds/
+ build_ref_prefix=refs/heads/testtrove/builds/
cd "$DATADIR/workspace/$MATCH_2/$(slashify_colons "test:$MATCH_1")"
git for-each-ref | grep -F "$build_ref_prefix"
IMPLEMENTS THEN the (\S+) repository in the workspace for (\S+) has no temporary build branches
- build_ref_prefix=refs/heads/baserock/builds/
+ build_ref_prefix=refs/heads/testtrove/builds/
cd "$DATADIR/workspace/$MATCH_2/$(slashify_colons "test:$MATCH_1")"
if git for-each-ref | grep -F "$build_ref_prefix"; then
die Did not expect repo to contain build branches
fi
IMPLEMENTS THEN no temporary build branches were pushed to the (\S+) repository
- build_ref_prefix=refs/heads/baserock/builds/
+ build_ref_prefix=refs/heads/testtrove/builds/
cd "$DATADIR/gits/$MATCH_1/.git"
if test -e morph-pushed-branches && grep -F "$build_ref_prefix" morph-pushed-branches; then
die Did not expect any pushed build branches
fi
IMPLEMENTS THEN temporary build branches were pushed to the (\S+) repository
- build_ref_prefix=refs/heads/baserock/builds/
+ build_ref_prefix=refs/heads/testtrove/builds/
cd "$DATADIR/gits/$MATCH_1/.git"
test -e morph-pushed-branches && grep -F "$build_ref_prefix" morph-pushed-branches