Check the Hydra master jobset as well

This commit is contained in:
Antoine Eiche 2020-04-19 14:48:01 +02:00
parent 493afb5f9a
commit b5263680a4

View File

@ -1,6 +1,13 @@
hydra: hydra-pr:
only: only:
- merge_requests - merge_requests
image: nixos/nix image: nixos/nix
script: 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 - 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
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