summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2020-04-19 14:14:50 +0200
committerAntoine Eiche <lewo@abesis.fr>2020-04-19 15:08:32 +0200
commit493afb5f9a65fdd3b0bf51e5c9ddfabaec7c9f08 (patch)
treecefb3d23990ce4450f2c80393500d806b7d83423 /.gitlab-ci.yml
parent1cac50dab533410ad9c18e527beb0bab129057f8 (diff)
ci: check Hydra jobsets status
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml48
1 files changed, 4 insertions, 44 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 773d1c2..437bfe9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,46 +1,6 @@
-.template:
+hydra:
+ only:
+ - merge_requests
image: nixos/nix
- retry: 2
- 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
script:
- - nix-build tests/default.nix -A ${SUITE}.${VERSION} --arg nonKVM true
-
-19-09-intern:
- extends: .template
- variables:
- VERSION: "nixpkgs_19_09"
- SUITE: "intern"
-
-19-09-extern:
- extends: .template
- variables:
- VERSION: "nixpkgs_19_09"
- SUITE: "extern"
-
-19-09-clamav:
- extends: .template
- variables:
- VERSION: "nixpkgs_19_09"
- SUITE: "clamav"
-
-unstable-intern:
- extends: .template
- variables:
- VERSION: "nixpkgs_unstable"
- SUITE: "intern"
-
-nixpkgs_unstable-extern:
- extends: .template
- variables:
- VERSION: "nixpkgs_unstable"
- SUITE: "extern"
-
-nixpkgs_unstable-clamav:
- extends: .template
- variables:
- VERSION: "nixpkgs_unstable"
- SUITE: "clamav"
+ - nix run -f channel:nixos-unstable hydra-cli -c hydra-cli -H https://hydra.nix-community.org jobset-wait simple-nixos-mailserver $CI_MERGE_REQUEST_IID