Commit 60d7d44
committed
ci(nix): Move flake version+hash sync into release pipeline
Replaces the per-PR auto-fix workflow with in-release synchronization.
The release pipeline now installs Determinate Nix and the prepareCmd
runs `determinate-nixd fix hashes --auto-apply flake.nix` alongside
the version sed, so the release commit always has both correct
`version =` and correct `vendorHash`. Tags become self-consistent,
which is what's needed for cross-repo Flox manifests pinning to
`github:inference-gateway/cli/v<tag>`.
Reverts the nix-build.yml path filter additions for go.mod/go.sum.
Without the auto-fix workflow, those filters would just produce noisy
red CI on every Dependabot PR. nix-build now only runs when flake.nix
itself changes.
Removes nix-fix-hashes.yml. Dependabot PRs no longer auto-resolve
vendorHash on the PR branch — `main` may have stale vendorHash
between releases, but each release pipeline refreshes it. Trade-off:
`nix build github:inference-gateway/cli` (default branch) may fail
mid-cycle; pin to tags for reliability.
Release pipeline cost: ~30-60s for Determinate Nix install + a few
seconds for `fix hashes` (mostly cached after first release).1 parent 92b715d commit 60d7d44
4 files changed
Lines changed: 5 additions & 81 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
24 | | - | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
0 commit comments