Separate pipelines for separate hosts.
Rationale: if one build fails, the other one will still continue running. Especially since we already have some (and will presumably add more) proprietary software to nixda which may require manual intervention using nix-prefetch-url, this seems like a good idea. An alternative would be to just specifiy `--keep-going`, but this seems likely to lead to unreadable output. However, I'm not sure what exactly happens when we try to run builds for both hosts at once on the same nix store — it may be that this isn't the best idea, but I guess we can just make the pipelines sequential instead if necessary.
This commit is contained in:
parent
faee8da700
commit
6d32cc6f08
1 changed files with 9 additions and 2 deletions
|
@ -1,9 +1,16 @@
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
build:
|
build-nixda:
|
||||||
tags:
|
tags:
|
||||||
- nix
|
- nix
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- nix-build -A deploy.all
|
- nix-build -A deploy.nixda
|
||||||
|
|
||||||
|
build-hainich:
|
||||||
|
tags:
|
||||||
|
- nix
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- nix-build -A deploy.nixda
|
||||||
|
|
Loading…
Reference in a new issue