summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 702c29446a7715b1734429a206c2787d6e558dcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
hydra-pr:
  only:
    - merge_requests
  image: nixos/nix
  script:
    - nix-shell -I nixpkgs=channel:nixos-unstable -p hydra-cli --run 'hydra-cli -H https://hydra.nix-community.org jobset-wait simple-nixos-mailserver ${CI_MERGE_REQUEST_IID}'

hydra-master:
  only:
    - master
  image: nixos/nix
  script:
    - nix-shell -I nixpkgs=channel:nixos-unstable -p hydra-cli --run 'hydra-cli -H https://hydra.nix-community.org jobset-wait simple-nixos-mailserver master'