From 9e074be3d862c92a47474fa613465e178944d00b Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Tue, 28 Apr 2015 18:44:44 +0000 Subject: yarns: Have non-bogus trove config Change-Id: I5dec13df6c28eeb4e8c83ec41fb4bd119e2eebb1 --- yarns/implementations.yarn | 16 +++++++++------- 1 file 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 -- cgit v1.2.1