summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: b72b9f95459a836cf8c3c08a70e04654f9072e0e (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-22.05 -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-22.05 -p hydra-cli --run 'hydra-cli -H https://hydra.nix-community.org jobset-wait simple-nixos-mailserver master'