infrastructure/.drone.yml

28 lines
719 B
YAML
Raw Normal View History

2021-07-26 03:14:23 +02:00
---
kind: pipeline
type: exec
name: Test NixOS configurations
node:
nix: true
2021-07-26 03:14:23 +02:00
platform:
os: linux
arch: amd64
steps:
2021-07-26 03:42:16 +02:00
- name: Build core-services-01 configuration
2021-07-26 03:14:23 +02:00
commands:
2021-07-26 03:39:44 +02:00
- "export NIX_PATH=nixpkgs=/var/nixpkgs"
- "echo Building core-services-01 && nix-build krops.nix -A test-core-services-01 && ./result"
- name: Build remote-builder-01 configuration
commands:
- "export NIX_PATH=nixpkgs=/var/nixpkgs"
- "echo Building remote-builder-01 && nix-build krops.nix -A test-remote-builder-01 && ./result"
2022-03-06 20:22:09 +01:00
- name: Build public-cof configuration
commands:
- "export NIX_PATH=nixpkgs=/var/nixpkgs"
- "echo Building public-cof && nix-build krops.nix -A test-public-cof && ./result"
2021-07-26 03:14:23 +02:00
...