Commit graph

16 commits

Author SHA1 Message Date
6d32cc6f08 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.
2021-03-11 00:36:19 +01:00
hexchen
16f05ceadf
ci: remove instantiate stage
instantiating takes a lot of time now (lots of dependencies), and the
gain of not starting a build if the instantiation fails is minimal.
2021-02-22 09:41:15 +00:00
hexchen
851052014a complete restructure of haccfiles
here be winkekatzen
2021-01-10 23:53:41 +00:00
hexchen
6875f2957d ci: add build from main, split stages properly 2020-12-10 08:48:13 +00:00
hexchen
6945c7ac35 ci: switch back to nix-build
Signed-off-by: hexchen <hexchen@lilwit.ch>
2020-11-29 17:20:03 +00:00
hexchen
8134560701 ci: remove cache
Signed-off-by: hexchen <hexchen@lilwit.ch>
2020-11-29 17:10:42 +00:00
hexchen
3e81ca097d ci: fix tags
Signed-off-by: hexchen <hexchen@lilwit.ch>
2020-11-29 15:53:31 +00:00
hexchen
fd03b5dc9f ci: switch to nix builder
Signed-off-by: hexchen <hexchen@lilwit.ch>
2020-11-29 15:51:32 +00:00
hexchen
084345f101 ci: disable full builds
we can't fully build due to proprietary sources. because of this, we can
only instantiate the derivation.
2020-11-29 14:47:12 +00:00
hexchen
1c82f94bce ci: switch to nix build
nix-build just fills up the log beyond the limit that gitlab imposes on
CI builds.
2020-11-29 13:50:03 +00:00
hexchen
8cb692c4fd ci: caching of the nix store 2020-11-29 04:34:41 +00:00
hexchen
514526cab8 ci: faceplant 2020-11-29 04:24:27 +00:00
hexchen
dde5ed13dd ci: specify git attribute 2020-11-29 04:22:50 +00:00
hexchen
260108a586 ci: add nix-instantiate as first step
we don't have to build the whole closure for every system if we already
fail to instantiate it.
2020-11-29 04:00:44 +00:00
hexchen
af65447ae8 ci: fix git missing 2020-11-29 03:21:42 +00:00
hexchen
36e265bef9 ci: init gitlab ci 2020-11-29 03:16:22 +00:00