git: prepare for auto-deployment
This commit is contained in:
parent
57172ba54c
commit
e31546dcf5
2 changed files with 21 additions and 0 deletions
15
.drone.yml
Normal file
15
.drone.yml
Normal 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"
|
||||||
|
|
||||||
|
...
|
|
@ -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";
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue