misc_nixos-mailserver/.gitlab-ci.yml

66 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2019-12-14 19:37:15 +00:00
.template:
2018-11-10 12:35:09 +00:00
image: nixos/nix
2019-12-15 13:29:16 +00:00
retry: 2
2019-12-14 19:37:15 +00:00
before_script:
# report CPU info so we can monitor if real KVM becomes available. create /dev/kvm to fool nix
- cat /proc/cpuinfo
- ls -l /dev/kvm || true
- touch /dev/kvm
2018-11-10 12:35:09 +00:00
script:
2019-12-14 19:37:15 +00:00
- export NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-${VERSION}.tar.gz"
- nix-build --arg pkgs 'import tests/lib/pkgs.nokvm.nix' tests/${SUITE}.nix
2018-11-10 12:35:09 +00:00
2019-12-14 19:37:15 +00:00
19-03-intern:
extends: .template
2018-11-10 12:35:09 +00:00
variables:
2019-12-14 19:37:15 +00:00
VERSION: "19.03"
SUITE: "intern"
2018-11-10 12:35:09 +00:00
2019-12-14 19:37:15 +00:00
19-03-extern:
extends: .template
2018-11-10 12:35:09 +00:00
variables:
2019-12-14 19:37:15 +00:00
VERSION: "19.03"
SUITE: "extern"
2018-11-10 12:35:09 +00:00
2019-12-14 19:37:15 +00:00
19-03-clamav:
extends: .template
2018-11-10 12:35:09 +00:00
variables:
2019-12-14 19:37:15 +00:00
VERSION: "19.03"
SUITE: "clamav"
2018-11-10 12:35:09 +00:00
2019-12-14 19:37:15 +00:00
19-09-intern:
extends: .template
2018-11-10 12:35:09 +00:00
variables:
2019-12-14 19:37:15 +00:00
VERSION: "19.09"
SUITE: "intern"
2018-11-10 12:35:09 +00:00
2019-12-14 19:37:15 +00:00
19-09-extern:
extends: .template
2018-11-10 12:35:09 +00:00
variables:
2019-12-14 19:37:15 +00:00
VERSION: "19.09"
SUITE: "extern"
19-09-clamav:
extends: .template
variables:
VERSION: "19.09"
SUITE: "clamav"
unstable-intern:
extends: .template
variables:
VERSION: "unstable"
SUITE: "intern"
unstable-extern:
extends: .template
variables:
VERSION: "unstable"
SUITE: "extern"
unstable-clamav:
extends: .template
variables:
VERSION: "unstable"
SUITE: "clamav"