propellor spin
This commit is contained in:
parent
a179c281e9
commit
73fec82d7a
|
@ -293,6 +293,7 @@ standardContainer name suite arch = Docker.container name (dockerImage system)
|
||||||
-- Docker images I prefer to use.
|
-- Docker images I prefer to use.
|
||||||
dockerImage :: System -> Docker.Image
|
dockerImage :: System -> Docker.Image
|
||||||
dockerImage (System (Debian Unstable) arch) = "joeyh/debian-unstable-" ++ arch
|
dockerImage (System (Debian Unstable) arch) = "joeyh/debian-unstable-" ++ arch
|
||||||
|
dockerImage (System (Debian Testing) arch) = "joeyh/debian-unstable-" ++ arch
|
||||||
dockerImage (System (Debian Stable) arch) = "joeyh/debian-stable-" ++ arch
|
dockerImage (System (Debian Stable) arch) = "joeyh/debian-stable-" ++ arch
|
||||||
dockerImage _ = "debian-stable-official" -- does not currently exist!
|
dockerImage _ = "debian-stable-official" -- does not currently exist!
|
||||||
|
|
||||||
|
|
|
@ -104,6 +104,7 @@ standardAutoBuilderContainer dockerImage arch buildminute timeout = Docker.conta
|
||||||
& Apt.installed ["systemd"]
|
& Apt.installed ["systemd"]
|
||||||
& Apt.unattendedUpgrades
|
& Apt.unattendedUpgrades
|
||||||
& buildDepsApt
|
& buildDepsApt
|
||||||
|
& User.accountFor builduser
|
||||||
& autobuilder (show buildminute ++ " * * * *") timeout True
|
& autobuilder (show buildminute ++ " * * * *") timeout True
|
||||||
`requires` tree arch
|
`requires` tree arch
|
||||||
|
|
||||||
|
@ -150,6 +151,7 @@ armelCompanionContainer dockerImage = Docker.container "armel-git-annex-builder-
|
||||||
& Apt.unattendedUpgrades
|
& Apt.unattendedUpgrades
|
||||||
-- This volume is shared with the armel builder.
|
-- This volume is shared with the armel builder.
|
||||||
& Docker.volume gitbuilderdir
|
& Docker.volume gitbuilderdir
|
||||||
|
& User.accountFor builduser
|
||||||
-- Install current versions of build deps from cabal.
|
-- Install current versions of build deps from cabal.
|
||||||
& tree "armel"
|
& tree "armel"
|
||||||
& buildDepsFewHaskellLibs
|
& buildDepsFewHaskellLibs
|
||||||
|
@ -169,6 +171,7 @@ armelAutoBuilderContainer dockerImage crontimes timeout = Docker.container "arme
|
||||||
& Apt.installed ["openssh-client"]
|
& Apt.installed ["openssh-client"]
|
||||||
& Docker.link "armel-git-annex-builder-companion" "companion"
|
& Docker.link "armel-git-annex-builder-companion" "companion"
|
||||||
& Docker.volumes_from "armel-git-annex-builder-companion"
|
& Docker.volumes_from "armel-git-annex-builder-companion"
|
||||||
|
& User.accountFor builduser
|
||||||
-- TODO: automate installing haskell libs
|
-- TODO: automate installing haskell libs
|
||||||
-- (Currently have to run
|
-- (Currently have to run
|
||||||
-- git-annex/standalone/linux/install-haskell-packages
|
-- git-annex/standalone/linux/install-haskell-packages
|
||||||
|
|
Loading…
Reference in New Issue