Commit graph

572 commits

Author SHA1 Message Date
Raito Bezarius
78e9f57b10 chore(flake): clean it up and upgrade to latest inputs
We don't need the fork of nej.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-12-24 00:15:03 +01:00
f28359373f
feat(targets): complex targets sets expressions
allows intersection and complementary
2024-12-23 23:47:43 +01:00
71b1b660f2
Merge pull request 'feat: custom evaluation' (#1) from custom-activation into main
Reviewed-on: #1
2024-12-07 12:43:09 +01:00
92c5f5c33f
feat: generic registry and custom evaluation
This PR bring custom evaluation, but does not offer yet custom
activation.

Therefore, you can evaluate your systems and refer to each of them, but
you cannot ask Colmena to build them for you.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-07 12:42:58 +01:00
7fa3062cfb
feat: disable key management modules
Let the user opt-in… !

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-12-07 12:38:19 +01:00
Zhaofeng Li
e3ad421380
Merge pull request #251 from zhaofengli/renovate/all-minor-patch
fix(deps): update all non-major dependencies
2024-11-13 12:43:22 -07:00
renovate[bot]
f5ffb64491
fix(deps): update all non-major dependencies 2024-11-12 20:50:29 +00:00
Zhaofeng Li
a2193487bc
Merge pull request #249 from zhaofengli/renovate/all-minor-patch
chore(deps): update jamesives/github-pages-deploy-action action to v4.6.9
2024-11-10 07:43:47 -07:00
renovate[bot]
7ccfa7aae1
chore(deps): update jamesives/github-pages-deploy-action action to v4.6.9 2024-11-09 22:38:48 +00:00
Zhaofeng Li
c4d72269af
Merge pull request #248 from zhaofengli/remove-atty
progress: Detect tty with std::io::IsTerminal, remove atty
2024-11-08 12:17:18 -07:00
Zhaofeng Li
68219763dd
Merge pull request #233 from valkum/fix-symlink
resolve TempDir paths before passing them to the flake bin
2024-11-08 12:03:41 -07:00
Zhaofeng Li
e73c6921fd progress: Detect tty with std::io::IsTerminal, remove atty
Fixes https://github.com/advisories/GHSA-g98v-hv3f-hcfr.
2024-11-08 11:44:10 -07:00
Zhaofeng Li
936ed520eb Cargo.lock: Update 2024-11-08 11:44:10 -07:00
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
Zhaofeng Li
1a07996142
Merge pull request #247 from zhaofengli/readme-badge-branch
README.md: Fix badge branch
2024-11-08 11:22:57 -07:00
Zhaofeng Li
3d9d22bd7b
Merge pull request #239 from zhaofengli/renovate/all-minor-patch
Update all non-major dependencies
2024-11-08 09:08:34 -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
4dc8155712 Update code for validator 0.19.0 2024-11-08 08:26:29 -07:00
Zhaofeng Li
b46e9dbd4c README.md: Fix badge branch
[ci skip]
2024-11-07 21:00:48 -07:00
renovate[bot]
40429b7ed4
Update all non-major dependencies 2024-11-08 03:48:26 +00: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