diff options
author | Antoine Eiche <lewo@abesis.fr> | 2020-11-30 08:56:57 +0100 |
---|---|---|
committer | Antoine Eiche <lewo@abesis.fr> | 2020-11-30 08:56:57 +0100 |
commit | bee80564d8b7e8ad793755de17df0b0548e3d01b (patch) | |
tree | 7092ff9d310657293e77d3a5cda7899fa8169868 /.gitlab-ci.yml | |
parent | 4ce3e1bf4e457594e60b67feba7f1bd0231a2695 (diff) |
ci: simplify the hydra-cli call
The version 0.0.3 of hydra-cli prints the jobset details on error.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 89a9df8..b74daa0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,11 +3,11 @@ hydra-pr: - 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) + - 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 || (echo Go to https://hydra.nix-community.org/jobset/simple-nixos-mailserver/master/latest-eval for details; exit 1) + - nix run -f channel:nixos-unstable hydra-cli -c hydra-cli -H https://hydra.nix-community.org jobset-wait simple-nixos-mailserver master |