summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 89a9df83ee980dce3601ae6caa1cc806f7734694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
hydra-pr:
  only:
    - merge_requests
  image: nixos/nix
  script:
    - 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} || (echo Go to https://hydra.nix-community.org/jobset/simple-nixos-mailserver/${CI_MERGE_REQUEST_IID}/latest-eval for details; exit 1)

hydra-master:
  only:
    - master
  image: nixos/nix
  script:
    - nix run -f channel:nixos-unstable hydra-cli -c hydra-cli -H https://hydra.nix-community.org jobset-wait simple-nixos-mailserver master || (echo Go to https://hydra.nix-community.org/jobset/simple-nixos-mailserver/master/latest-eval for details; exit 1)