propellor spin

This commit is contained in:
Joey Hess 2014-04-01 18:31:04 -04:00
parent 8bdc8d189c
commit 7200baa08a
Failed to extract signature
1 changed files with 4 additions and 4 deletions

View File

@ -23,17 +23,17 @@ builder arch crontimes = combineProperties "gitannexbuilder"
, serviceRunning "cron" `requires` Apt.installed ["cron"]
, User.accountFor builduser
, check (lacksdir builddir) $ userScriptProperty builduser
[ "git clone git://git.kitenet.net/gitannexbuilder"
, "cd gitbuilder"
[ "git clone git://git.kitenet.net/gitannexbuilder " ++ builddir
, "cd " ++ builddir
, "git checkout " ++ map toLower (show arch)
, "git clone git://git-annex.branchable.com/ build"
]
`describe` "gitbuilder setup"
, Cron.niceJob "gitannexbuilder" crontimes builduser "~/gitbuilder" "git pull ; ./autobuild"
, check (lacksdir $ builddir </> "git-annex") $ userScriptProperty builduser
[ "cd gitbuilder"
[ "cd " ++ builddir
, "git clone https://git-annex.branchable.com/ git-annex"
]
, Cron.niceJob "gitannexbuilder" crontimes builduser ("~/" ++ builddir) "git pull ; ./autobuild"
-- The builduser account does not have a password set,
-- instead use the password privdata to hold the rsync server
-- password used to upload the built image.