Commit graph

554 commits

Author SHA1 Message Date
Zhaofeng Li
e5c30066c2 Revert ".github: Run workflows on push event only"
Sadly it breaks CI in fork-originated PRs if the author doesn't enable
Actions on the fork itself.

This reverts commit ce1aa41ff4.
2024-11-08 11:27:40 -07:00
Rudi Floren
00fd486d49 resolve TempDir paths before passing them to the flake bin
On MacOS /tmp is a symlink to /private/tmp.
TempDir creates a dir and returns the path as /tmp.
nix is unhappy with symlink dirs when calling nix flake metadata --json

To fix this we canonicalize the path first, resolving any symlinks on the way.

Fixes #190.
2024-11-08 08:57:28 -07:00
Zhaofeng Li
03f1a18a6f
Merge pull request #245 from zhaofengli/renovate/docker-setup-qemu-action-3.x
Update docker/setup-qemu-action action to v3
2024-11-07 20:47:23 -07:00
renovate[bot]
926ae650fb
Update docker/setup-qemu-action action to v3 2024-11-08 03:17:33 +00:00
Zhaofeng Li
ec21d8514b
Merge pull request #243 from zhaofengli/renovate/actions-checkout-4.x
Update actions/checkout action to v4
2024-11-07 20:15:40 -07:00
Zhaofeng Li
123028ce09
Merge pull request #244 from zhaofengli/renovate/cachix-cachix-action-15.x
Update cachix/cachix-action action to v15
2024-11-07 20:15:30 -07:00
Zhaofeng Li
e9ee03aeeb
Merge pull request #240 from zhaofengli/renovate/determinatesystems-nix-installer-action-15.x
Update DeterminateSystems/nix-installer-action action to v15
2024-11-07 18:12:36 -07:00
renovate[bot]
bfc3cc8271
Update cachix/cachix-action action to v15 2024-11-08 01:08:05 +00:00
renovate[bot]
b82ee861dd
Update actions/checkout action to v4 2024-11-08 01:08:00 +00:00
Zhaofeng Li
0e0b682d42
Merge pull request #242 from zhaofengli/aarch64-darwin
.github/build: Update macOS runner, add aarch64-darwin
2024-11-07 18:06:46 -07:00
renovate[bot]
c78d024f3a
Update DeterminateSystems/nix-installer-action action to v15 2024-11-08 00:42:22 +00:00
Zhaofeng Li
9469ed3591
Merge pull request #237 from zhaofengli/renovate/configure
chore: Configure Renovate
2024-11-07 17:40:56 -07:00
Zhaofeng Li
b02d2d6ba7
Merge pull request #238 from zhaofengli/srcignore
Exclude more paths from colmena.src to reduce rebuilds
2024-11-07 17:39:17 -07:00
Zhaofeng Li
998f92d869 .github/build: Update macOS runner, add aarch64-darwin
The new hosted GitHub runners are Apple Silicon-based only, and we
build x86_64-darwin packages via Rosetta 2.
2024-11-07 17:19:59 -07:00
Zhaofeng Li
ce1aa41ff4 .github: Run workflows on push event only 2024-11-07 17:08:49 -07:00
Zhaofeng Li
a70411fd1d Exclude more paths from colmena.src to reduce rebuilds 2024-11-07 16:42:45 -07:00
Zhaofeng Li
596b6d883e .editorconfig: Enforce .json indentation 2024-11-07 16:24:44 -07:00
Zhaofeng Li
4cfa0b6092 renovate.json: Group non-major updates together 2024-11-07 16:24:44 -07:00
Zhaofeng Li
ac23318700 renovate.json: Enable Nix & lock file maintenance 2024-11-07 16:24:44 -07:00
renovate[bot]
6db6b30b01 Add renovate.json 2024-11-07 16:24:44 -07:00
Zhaofeng Li
2c95c1766a
Merge pull request #228 from zhaofengli/direct-flake-eval
Add direct flake evaluation support
2024-11-07 16:03:30 -07:00
Zhaofeng Li
a4604f3371 manual/flakes: Document direct flake evaluation 2024-11-07 15:51:20 -07:00
Zhaofeng Li
33c41abd44 Remove garnix config 2024-11-07 15:24:37 -07:00
Zhaofeng Li
f593c24aa2 .github/nix-matrix-job: Maximize build space 2024-11-07 15:24:37 -07:00
Zhaofeng Li
e17c521c15 Run integration tests on GitHub Actions 2024-11-07 15:24:37 -07:00
Zhaofeng Li
0ef98d060c integration-tests/flakes: Fix error message matching 2024-11-07 15:24:37 -07:00
Zhaofeng Li
45ca75bcea integration-tests/flakes: Switch to direct flake evaluation (experimental) 2024-11-07 15:24:37 -07:00
Zhaofeng Li
0a836dc251 integration-tests/tools: Re-enable switch-to-configuration 2024-11-07 15:24:37 -07:00
Zhaofeng Li
dc80345dee Add direct flake evaluation support 2024-11-07 15:24:37 -07:00
Zhaofeng Li
1f669d4c78 Bump schema version to v0.20241006 2024-11-07 15:24:37 -07:00
Zhaofeng Li
2708c9359f Revert "[FIXME] integration-tests: Temproarily pin to Nix 2.18"
This reverts commit 141fe82f44.
2024-11-07 15:24:37 -07:00
Zhaofeng Li
1f7b8ab80f package.nix: Exclude .github from cleaned source 2024-11-07 15:24:37 -07:00
Zhaofeng Li
8a8f47a1b1 flake.nix: Apply nix-eval-jobs overlay on output package set 2024-11-07 15:24:37 -07:00
Zhaofeng Li
524cd45299 flake.lock: Update 2024-11-07 15:24:37 -07:00
Zhaofeng Li
70462312f2 .editorconfig: Ignore Rust
Too rigid :/ Let's just let rustfmt handle it.
2024-11-07 15:24:37 -07:00
Zhaofeng Li
ec25d799ed .gitignore: Ignore .vscode 2024-11-07 15:24:37 -07:00
Zhaofeng Li
b0a62f234f
Merge pull request #224 from peterablehmann/main
Fix describe_node_list remaining nodes special case
2024-10-06 19:14:38 -06:00
Zhaofeng Li
0fca61acc2
Merge pull request #222 from benaryorg/mddoc
lib.mdDoc has been deprecated since 24.05
2024-10-05 20:11:13 -06:00
Zhaofeng Li
43be9effab flake.nix: Patch nix-eval-jobs for NIX_PATH 2024-10-05 19:57:58 -06:00
Zhaofeng Li
141fe82f44 [FIXME] integration-tests: Temproarily pin to Nix 2.18 2024-10-05 19:57:58 -06:00
Zhaofeng Li
87eb6c2f4c integration-tests/tools: Increase deployer memory to 6 GiB
OOMs with nix-eval-jobs
2024-10-05 19:57:58 -06:00
Peter Lehmann
569c914f95
Fix describe_node_list remaining nodes special case
Colmena truncates left over node names when it reaches a certain char limit.
This in it self is a sensible behaivior, but it should only do so if there is more then one node name remaining.
2024-09-02 22:45:43 +02:00
Zhaofeng Li
aeccdba3b4 flake: Update stable to NixOS 24.05 2024-09-01 13:06:00 -04:00
Zhaofeng Li
8f9986a748 flake: Update nixpkgs unstable 2024-09-01 13:06:00 -04:00
benaryorg
7bb23baf40
lib.mdDoc has been deprecated since 24.05
`lib.mdDoc` emits this trace when called since 24.05:

```quote
trace: warning: lib.mdDoc will be removed from nixpkgs in 24.11. Option descriptions are now in Markdown by default; you can remove any remaining uses of lib.mdDoc.
```

Given that this was introduced with 22.11 and made obsolete in 24.05 with all prior versions being EoL at this point it should be safe to revert that change.
In any case the only result will be that anything ≥22.11 and <24.05 will be rendered without markup which I guess isn't the best, but given those are EoL systems it's not the worst.

Either way it gets rid of a *lot* of noise for 24.05 users in the trace, and for 24.11 and up it will remove dead code.

This reverts commit 7602e548a7.

Signed-off-by: benaryorg <binary@benary.org>
2024-08-23 13:37:06 +00:00
Zhaofeng Li
cd65ef7a25
Merge pull request #199 from Janik-Haag/hive-module
make eval.nix more convnient to use for non-flake user
2024-03-25 11:05:53 -06:00
Janik H.
bb642e43f9
make eval.nix more convnient to use for non-flake user 2024-03-24 03:51:58 +01:00
Zhaofeng Li
7997ab7187
Merge pull request #197 from minhuw/main
Support adding extra ssh options on node configurations
2024-03-23 14:05:35 -06:00
minhuw
afa7439c58 Support adding extra ssh options on node configurations 2024-03-09 13:54:21 +08:00
Zhaofeng Li
c84ccd0a7a
Merge pull request #191 from pkel/main
Set exit code > 0 when colmena exec fails
2024-01-28 23:21:51 -07:00