summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
Diffstat (limited to 'config-joey.hs')
-rw-r--r--config-joey.hs38
1 files changed, 35 insertions, 3 deletions
diff --git a/config-joey.hs b/config-joey.hs
index 50e712a0..73c9687b 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -25,6 +25,7 @@ import qualified Propellor.Property.Obnam as Obnam
import qualified Propellor.Property.Gpg as Gpg
import qualified Propellor.Property.Systemd as Systemd
import qualified Propellor.Property.Journald as Journald
+import qualified Propellor.Property.Chroot as Chroot
import qualified Propellor.Property.OS as OS
import qualified Propellor.Property.HostingProvider.CloudAtCost as CloudAtCost
import qualified Propellor.Property.HostingProvider.Linode as Linode
@@ -45,6 +46,7 @@ hosts = -- (o) `
, gnu
, clam
, orca
+ , honeybee
, kite
, elephant
, beaver
@@ -128,10 +130,39 @@ orca = standardSystem "orca.kitenet.net" Unstable "amd64"
& Apt.unattendedUpgrades
& Postfix.satellite
+ & Apt.serviceInstalledRunning "ntp"
& Systemd.persistentJournal
- & Systemd.nspawned (GitAnnexBuilder.standardAutoBuilderContainer "amd64" 15 "2h")
- & Systemd.nspawned (GitAnnexBuilder.standardAutoBuilderContainer "i386" 15 "2h")
- & Systemd.nspawned (GitAnnexBuilder.androidAutoBuilderContainer (Cron.Times "1 1 * * *") "3h")
+
+ & Systemd.nspawned (GitAnnexBuilder.standardAutoBuilderContainer
+ (System (Debian Testing) "amd64") fifteenpast "2h")
+ & Systemd.nspawned (GitAnnexBuilder.standardAutoBuilderContainer
+ (System (Debian Testing) "i386") fifteenpast "2h")
+ & Systemd.nspawned (GitAnnexBuilder.androidAutoBuilderContainer
+ (Cron.Times "1 1 * * *") "3h")
+ where
+ fifteenpast = Cron.Times "15 * * * *"
+
+honeybee :: Host
+honeybee = standardSystem "honeybee.kitenet.net" Testing "armhf"
+ [ "Arm git-annex build box." ]
+ & ipv6 "2001:4830:1600:187::2"
+
+ -- No unattended upgrades as there is currently no console access.
+ -- (Also, system is not currently running a stock kernel,
+ -- although it should be able to.)
+ & Postfix.satellite
+ & Apt.serviceInstalledRunning "ntp"
+ & Apt.serviceInstalledRunning "aiccu"
+
+ -- Not using systemd-nspawn because it's broken (kernel issue?)
+ -- & Systemd.nspawned (GitAnnexBuilder.standardAutoBuilderContainer
+ -- osver Cron.Daily "22h")
+ & Chroot.provisioned
+ (Chroot.debootstrapped builderos mempty "/var/lib/container/armel-git-annex-builder"
+ & GitAnnexBuilder.standardAutoBuilder builderos Cron.Daily "22h")
+ where
+ -- Using unstable to get new enough ghc for TH on arm.
+ builderos = System (Debian Unstable) "armel"
-- This is not a complete description of kite, since it's a
-- multiuser system with eg, user passwords that are not deployed
@@ -310,6 +341,7 @@ beaver = host "beaver.kitenet.net"
-- Branchable is not completely deployed with propellor yet.
pell :: Host
pell = host "pell.branchable.com"
+ & alias "branchable.com"
& ipv4 "66.228.46.55"
& ipv6 "2600:3c03::f03c:91ff:fedf:c0e5"