aboutsummaryrefslogtreecommitdiff
path: root/tests/test-system.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-13 14:50:07 -0300
committerEuAndreh <eu@euandre.org>2023-03-13 14:50:07 -0300
commiteedabb2b00b1f776eafee0cf4f079973d9892707 (patch)
tree10341483798af62c8f5bc42908bcaf69310b198a /tests/test-system.scm
parentrm -rf aux/ po/ (diff)
downloadpackage-repository-eedabb2b00b1f776eafee0cf4f079973d9892707.tar.gz
package-repository-eedabb2b00b1f776eafee0cf4f079973d9892707.tar.xz
Also build OS with services in "all" target
Diffstat (limited to 'tests/test-system.scm')
-rw-r--r--tests/test-system.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/test-system.scm b/tests/test-system.scm
new file mode 100644
index 0000000..d49541c
--- /dev/null
+++ b/tests/test-system.scm
@@ -0,0 +1,36 @@
+(use-modules
+ ((org euandre queue) #:prefix queue:)
+ (gnu))
+(use-package-modules
+ ssh)
+(use-service-modules
+ certbot
+ mail
+ networking
+ ssh)
+
+(operating-system
+ (host-name "a-test-host")
+ (services
+ (append
+ (list
+ (service queue:shadow-group-service-type)
+ (service queue:dkimproxyout-service-type)
+ (service queue:cyrus-sasl-service-type)
+ (service queue:dovecot2-service-type)
+ (service queue:postfix-service-type)
+ (service certbot-service-type (certbot-configuration))
+ (service mail-aliases-service-type '()))
+ %base-services))
+ (bootloader
+ (bootloader-configuration
+ (bootloader grub-bootloader)))
+ (file-systems
+ (append
+ (list
+ (file-system
+ (mount-point "/")
+ (type "btrfs")
+ (device
+ (uuid "2c66de32-dde7-ea35-750a-a1ca47a58d45" 'btrfs))))
+ %base-file-systems)))