Commit graph

21 commits

Author SHA1 Message Date
Zhaofeng Li
d597bdf4b3 integration-tests: Migrate to nix.settings
We no longer test against 22.05 so this can be updated.
2022-12-01 01:57:56 -07:00
Zhaofeng Li
8b87f0de02 integration-tests: Start migration to modular test framework
Still need to migrate most logic in tools.nix to modules.
2022-12-01 01:57:56 -07:00
Zhaofeng Li
0ee3bb2e62 Update inotify-tools alias
No longer exists in unstable since https://github.com/NixOS/nixpkgs/pull/192681.
2022-09-28 18:47:42 -06:00
Zhaofeng Li
4cdb21be0b integration-tests/flakes: Eliminate slow nixpkgs copy 2022-08-17 01:09:43 -06:00
Zhaofeng Li
bde5f4878e Bump flake deps
Stable is now at 22.05 as 21.11 is becoming EOL.
2022-07-01 16:31:13 -07:00
Zhaofeng Li
dd3f4b252c host/local: Upload keys with sudo as well 2022-06-10 11:29:25 -07:00
Zhaofeng Li
c1dc482c21 integration-tests: Add timeouts to SSH invocations
They occasionally become stuck, similar to NixOS/nixpkgs#171488.
2022-05-13 19:14:58 -07:00
Zhaofeng Li
4de46cd339 flake.lock: Update 2022-04-03 17:16:01 -07:00
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
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
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
372de58dff integration-tests: Make it easier to override pkgs and colmena 2021-12-07 23:13:31 -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
ba16f50722 integration-tests: Cleanup, add parallelism test 2021-12-04 01:03:26 -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