Commit graph

283 commits

Author SHA1 Message Date
Cole Helbling 02061a5850 wip: use Nix's sqlite db "directly"
this might not be a safe assumption, but we're gonna try
2024-05-14 15:13:50 -07:00
Cole Helbling 008b537385 Don't skip -source when diffing store 2024-05-14 14:33:53 -07:00
Cole Helbling 938f17dd2d Bring back store diffing 2024-05-14 14:33:53 -07:00
Cole Helbling 507095f7ea Merge remote-tracking branch 'origin/main' into log-and-cat-after-workflow-finished 2024-05-14 10:43:37 -07:00
Cole Helbling a5ade67dac
Merge pull request #62 from DeterminateSystems/lookup-project-by-token
Make flakehub-flake-name truly optional
2024-05-09 14:44:36 -07:00
Cole Helbling 3d9bcd16a4 Make flakehub-flake-name truly optional 2024-05-09 14:29:14 -07:00
Cole Helbling 8b1b1c9302 fixup 2024-05-07 11:18:56 -07:00
Cole Helbling a0a35d7ff8 Merge remote-tracking branch 'origin/main' into log-and-cat-after-workflow-finished 2024-05-07 11:17:11 -07:00
Cole Helbling a9f32f83dd more debug logging, truncate the log file when we init logging 2024-05-07 11:11:39 -07:00
Eelco Dolstra 00e22a61b6
Merge pull request #61 from DeterminateSystems/grahamc-patch-1
Ignore post-build-hook errors
2024-05-06 18:28:50 +02:00
Graham Christensen 389a63ce68
Ignore post-build-hook errors 2024-05-06 12:00:24 -04:00
Cole Helbling 3bc019d996 wip: no, but do flakehub after shutting down the web server 2024-04-24 15:17:35 -07:00
Cole Helbling f06ed35360 wip: wait for flakehub pushes before shutting down? 2024-04-24 14:23:22 -07:00
Graham Christensen 00fe42c282
Merge pull request #58 from DeterminateSystems/dependabot/cargo/rustls-0.21.11
Bump rustls from 0.21.10 to 0.21.11
2024-04-24 11:38:57 -04:00
Cole Helbling 1c83c37f4e wip: more tracing, sleep at first 2024-04-24 07:51:51 -07:00
Cole Helbling c481c9beb6 wip: more debugging 2024-04-24 07:30:32 -07:00
Cole Helbling 9947f4c5ed wip: add more debug lines 2024-04-23 15:35:10 -07:00
Cole Helbling e82dde9ac7 wip: debug logging to see why this still crosses devices 2024-04-23 14:11:02 -07:00
Cole Helbling 5552d61f5e fixup: create temporary netrc file right next to real one 2024-04-23 12:48:30 -07:00
Cole Helbling 3a61953dc1 wip: move logging init back into main cli only 2024-04-23 08:59:51 -07:00
Cole Helbling 1f543d7e7a Revert "wip: drop the file and keep the early-init logging"
This reverts commit 3b1a1e3c12.
2024-04-23 08:59:42 -07:00
Cole Helbling 5cb3d69802 Revert "wip: intentionally bust post-build-hook"
This reverts commit 1e258373b5.
2024-04-23 08:59:00 -07:00
Cole Helbling 1e258373b5 wip: intentionally bust post-build-hook 2024-04-23 08:41:58 -07:00
Cole Helbling 3b1a1e3c12 wip: drop the file and keep the early-init logging 2024-04-23 08:29:03 -07:00
Cole Helbling b983b25405 wip: thin CI so it runs faster 2024-04-23 08:10:38 -07:00
Cole Helbling 589099e43a wip: see if there's some logging we're missing 2024-04-23 07:55:32 -07:00
dependabot[bot] d61face7fe
Bump rustls from 0.21.10 to 0.21.11
Bumps [rustls](https://github.com/rustls/rustls) from 0.21.10 to 0.21.11.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.10...v/0.21.11)

---
updated-dependencies:
- dependency-name: rustls
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 19:57:36 +00:00
Cole Helbling a12e8e1700
Merge pull request #57 from DeterminateSystems/cole/fh-268-magic-nix-cache-401s-when-build-takes-too-long
Refresh GitHub Actions JWT in the background
2024-04-19 10:44:09 -07:00
Cole Helbling 0434d467d3 Refresh GitHub Actions JWT in the background
GitHub Actions JWTs are only valid for 5 minutes after being issued.

FlakeHub uses these JWTs for authentication, which means that after
those 5 minutes have passed and the token is expired, FlakeHub (and
by extension FlakeHub Cache) will no longer allow requests using this
token.

However, GitHub gives us a way to repeatedly request new tokens, so we
utilize that and refresh the token every 2 minutes (less than half of
the lifetime of the token).
2024-04-19 08:32:45 -07:00
Graham Christensen a59a765f73
Merge pull request #54 from DeterminateSystems/fixup-tags-prs
Fix releasing tags and prs
2024-04-12 10:08:44 -04:00
Eelco Dolstra fd6db08ef0
Merge pull request #52 from DeterminateSystems/build-hook-in-store
Move the post-build hook script to the Nix store
2024-04-12 10:37:39 +02:00
Graham Christensen 930038182b Fix releasing tags and prs 2024-04-11 22:27:58 -04:00
Luc Perkins 415818d147
Merge pull request #48 from DeterminateSystems/fix-dev-shells
Fix dev shell upload to cache
2024-04-11 23:23:35 -03:00
Graham Christensen b64bf3f4e5
Merge pull request #53 from DeterminateSystems/correlation
Use detsys_correlation if it is set
2024-04-11 22:11:18 -04:00
Graham Christensen 2d747212b0 Use detsys_correlation if it is set 2024-04-11 20:15:52 -04:00
Eelco Dolstra 4d66c1f308 Move the post-build hook script to the Nix store
In self-hosted GHA runners on NixOS, the runner has a different /tmp
than the Nix daemon, so the daemon would get "file not found" trying
to execute the post-build hook. As a workaround, move the script to
the Nix store so we can be sure that the daemon can access it.
2024-04-11 18:10:56 +02:00
Graham Christensen 1cff8aeb19
Merge pull request #49 from DeterminateSystems/dependabot/cargo/h2-0.3.26
Bump h2 from 0.3.24 to 0.3.26
2024-04-10 14:00:46 -04:00
Graham Christensen b176ae218a
Merge pull request #51 from DeterminateSystems/dependabot/cargo/whoami-1.5.1
Bump whoami from 1.4.1 to 1.5.1
2024-04-10 14:00:30 -04:00
Graham Christensen bc6dc0cf6c
Merge pull request #50 from DeterminateSystems/dependabot/cargo/mio-0.8.11
Bump mio from 0.8.8 to 0.8.11
2024-04-10 13:26:03 -04:00
dependabot[bot] a27ea631cf
Bump whoami from 1.4.1 to 1.5.1
Bumps [whoami](https://github.com/ardaku/whoami) from 1.4.1 to 1.5.1.
- [Changelog](https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md)
- [Commits](https://github.com/ardaku/whoami/compare/v1.4.1...v1.5.1)

---
updated-dependencies:
- dependency-name: whoami
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-10 15:59:51 +00:00
dependabot[bot] 252d4d424b
Bump mio from 0.8.8 to 0.8.11
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.8 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.8...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-10 15:59:41 +00:00
dependabot[bot] 030213d93c
Bump h2 from 0.3.24 to 0.3.26
Bumps [h2](https://github.com/hyperium/h2) from 0.3.24 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.24...v0.3.26)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-10 15:59:33 +00:00
Luc Perkins 974048fcd6
Fix Clippy issues 2024-03-29 17:19:44 -03:00
Luc Perkins 65d2adf419
Remove shells array from matrix 2024-03-29 16:27:34 -03:00
Luc Perkins 898456dffe
Fix dev shell upload to cache 2024-03-29 16:26:26 -03:00
Eelco Dolstra 45bb610359
Merge pull request #47 from DeterminateSystems/cache-dev-shells
Cache dev shell in FlakeHub Cache
2024-03-29 16:01:23 +01:00
Luc Perkins ffddafa4f4
Cache dev shell in FlakeHub Cache 2024-03-28 11:30:13 -03:00
Eelco Dolstra 1a898bd613
Merge pull request #46 from DeterminateSystems/fix-post-build-hook
Fix post-build hook
2024-03-27 16:58:40 +01:00
Eelco Dolstra 150468c70d Fix post-build hook
"exec" needs to come after the environment variables.
2024-03-27 16:32:14 +01:00
Graham Christensen 7bd6ea0e84
Merge pull request #45 from DeterminateSystems/nits
Migrate nix-installer-action@mnc to main
2024-03-13 09:51:46 -04:00