27 lines
719 B
YAML
27 lines
719 B
YAML
---
|
|
kind: pipeline
|
|
type: exec
|
|
name: Test NixOS configurations
|
|
|
|
node:
|
|
nix: true
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: Build core-services-01 configuration
|
|
commands:
|
|
- "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"
|
|
- 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"
|
|
|
|
...
|