propellor spin
This commit is contained in:
parent
424ba1229b
commit
4f239d1360
|
@ -117,8 +117,7 @@ armelCompanionContainer dockerImage = Docker.container "armel-git-annex-builder-
|
||||||
& tree "armel"
|
& tree "armel"
|
||||||
& buildDepsNoHaskellLibs
|
& buildDepsNoHaskellLibs
|
||||||
& cabalDeps
|
& cabalDeps
|
||||||
-- The armel builder can ssh to this companion,
|
-- The armel builder can ssh to this companion.
|
||||||
-- using $COMPANION_PORT_22_TCP_ADDR as the hostname,
|
|
||||||
& Docker.expose "22"
|
& Docker.expose "22"
|
||||||
& Apt.serviceInstalledRunning "ssh"
|
& Apt.serviceInstalledRunning "ssh"
|
||||||
& Ssh.authorizedKeys builduser
|
& Ssh.authorizedKeys builduser
|
||||||
|
@ -137,3 +136,8 @@ armelContainer dockerImage crontimes timeout = Docker.container "armel-git-annex
|
||||||
-- which is not fully automated.)
|
-- which is not fully automated.)
|
||||||
& builder' buildDepsNoHaskellLibs "armel" crontimes timeout True
|
& builder' buildDepsNoHaskellLibs "armel" crontimes timeout True
|
||||||
& Ssh.keyImported SshRsa builduser
|
& Ssh.keyImported SshRsa builduser
|
||||||
|
& trivial writecompanionaddress
|
||||||
|
where
|
||||||
|
writecompanionaddress = scriptProperty
|
||||||
|
[ "echo \"$COMPANION_PORT_22_TCP_ADDR\" > " ++ homedir </> "companion_address"
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in New Issue