git: prepare for auto-deployment

This commit is contained in:
Raito Bezarius 2021-07-26 03:14:23 +02:00
parent 57172ba54c
commit e31546dcf5
2 changed files with 21 additions and 0 deletions

15
.drone.yml Normal file
View file

@ -0,0 +1,15 @@
---
kind: pipeline
type: exec
name: Test NixOS configurations
platform:
os: linux
arch: amd64
steps:
- name: Build core-services-01 on core-services-01
commands:
- "nix-build krops.nix -A test-core-services-01 && ./result"
...

View file

@ -21,4 +21,10 @@ in
source = source "core-services-01"; source = source "core-services-01";
target = "root@core01.internal.rz.ens.wtf"; target = "root@core01.internal.rz.ens.wtf";
}; };
test-core-services-01 = pkgs.krops.writeTest "test-core-services-01" {
source = source "core-services-01";
target = "root@core01.internal.rz.ens.wtf";
};
} }