Commit graph

23 commits

Author SHA1 Message Date
Zhaofeng Li
2b281286d0
eval.nix: Add "${name}-key.service" units for keys (#51)
Fixes #48.
2022-02-16 10:23:27 -08:00
Zhaofeng Li
e7d4792634 flake.nix: Let's just patch the nix-eval-jobs in nixpkgs
Anything that links against Nix feels so fragile *shrugs*
2022-02-04 23:28:15 -08:00
Zhaofeng Li
ca6ad0de38 integration-tests: Fix flakes test in Nix 2.6
Using a symlink to a Nix store path no longer works.
2022-02-04 20:58:17 -08:00
Zhaofeng Li
6d5b7d7e3e integration-tests: Only enable documentation build in apply test
Otherwise it takes too long :/
2022-01-27 18:48:25 -08:00
Zhaofeng Li
0a955d0a4c integration-tests: Also run apply test against stable nixpkgs 2022-01-27 18:48:25 -08:00
Zhaofeng Li
6bff965a39 integration-tests: Enable documentation build
It makes sense to keep the tests as close to real life (docs enabled)
as possible.

Ref: #50
2022-01-25 15:03:59 -08:00
Zhaofeng Li
57b3ccca85 integration-tests: Test streaming evaluator 2022-01-22 17:50:53 -08:00
Zhaofeng Li
faf84d5718 flake.nix: Use own nix-eval-jobs fork
Currently we depend on changes that are not yet in a released
version of nix-eval-jobs. This pin needs to go before the 0.3
release.
2022-01-22 17:50:53 -08:00
Zhaofeng Li
7e15450fd2 default.nix: Switch to flake-compat
`package.nix` is kept in sync with the expression in upstream Nixpkgs.
2022-01-21 00:45:12 -08:00
Zhaofeng Li
98897bf4de Support building on target nodes
This partially addresses #33, and allows Colmena to be used more
easily on bandwidth-constrained hosts and macOS.

With `deployment.buildOnTarget = true;` deployment works fine from
macOS without designated builders, except when IFD is involved.
2022-01-01 16:41:35 -08:00
Zhaofeng Li
d5c6f7cb0c integration-tests: No need to sort 2021-12-18 14:35:06 -08:00
Zhaofeng Li
83ebe45f20 integration-tests/apply: Test GC root creation 2021-12-07 23:13:31 -08:00
Zhaofeng Li
372de58dff integration-tests: Make it easier to override pkgs and colmena 2021-12-07 23:13:31 -08:00
Zhaofeng Li
7433661aed Add deployment.keys.<name>.name 2021-12-05 01:14:12 -08:00
Zhaofeng Li
321d847563 integration-tests: Add flakes test 2021-12-05 01:14:12 -08:00
Zhaofeng Li
f849a757d2 integration-tests: Allow configuring the presence of nodes
For example, there's no need to spin up any target nodes when we
just want to test `colmena apply-local` on the deployer node.
2021-12-05 01:14:12 -08:00
Zhaofeng Li
8e5f168e5d integration-tests: Fix default.nix 2021-12-04 12:57:12 -08:00
Zhaofeng Li
dc57b489ea progress: Restore tty-detection after refactoring 2021-12-04 01:03:26 -08:00
Zhaofeng Li
ba16f50722 integration-tests: Cleanup, add parallelism test 2021-12-04 01:03:26 -08:00
Zhaofeng Li
2bba64a002 nix: Fix deployment parallelization 2021-12-02 23:49:46 -08:00
Zhaofeng Li
5b2d8d75e7 integration-tests: Add default.nix 2021-12-02 12:48:13 -08:00
Zhaofeng Li
ad124544f5 integration-tests: More elaborate tests 2021-11-22 13:39:40 -08:00
Zhaofeng Li
430a91cbad Add integration tests 2021-11-22 01:53:08 -08:00