Luc Perkins
d677f3a332
Add integration test workflow
2024-05-17 16:52:30 -03:00
Luc Perkins
3a1558438f
Merge pull request #66 from DeterminateSystems/remove-spawn
...
Don't run server in tokio::spawn
2024-05-17 14:58:46 -04:00
Luc Perkins
1bb6c86f5d
Remove unused import
2024-05-17 15:49:20 -03:00
Luc Perkins
d1c5d5203b
Don't run server in tokio::spawn
2024-05-17 15:41:45 -03:00
Luc Perkins
2e05bd5fff
Merge pull request #65 from DeterminateSystems/file-based-notification
2024-05-17 14:01:15 -04:00
Luc Perkins
5da333f97b
Add missing pkg-config dependency to dev shell
2024-05-17 14:32:40 -03:00
Luc Perkins
736bd0c019
Delete notification file if server fails to start up
2024-05-17 14:22:01 -03:00
Luc Perkins
d67f330397
Spawn daemon in separate process
2024-05-17 14:07:12 -03:00
Luc Perkins
c0b7181ddc
Allow for both startup options to be None
2024-05-17 13:32:43 -03:00
Luc Perkins
cfe5cb78c5
Add file-based notification mechanism
2024-05-17 13:22:58 -03:00
Luc Perkins
8f6369dd2a
Merge pull request #64 from DeterminateSystems/determine-env
...
Determine running environment
2024-05-16 17:07:48 -04:00
Luc Perkins
763508d326
Use matrix for build.yaml
2024-05-16 15:52:18 -03:00
Luc Perkins
ab6bb9c47a
Restore info statement in GHA
2024-05-16 15:05:45 -03:00
Luc Perkins
1eb6003444
Derive Copy for Environment
2024-05-16 15:05:11 -03:00
Luc Perkins
c1c6574b30
Check only for GITLAB_CI variable
2024-05-16 15:04:40 -03:00
Luc Perkins
1ee5b1eec8
Provide more ergonomic env var checking
...
Co-authored-by: Cole Helbling <cole.helbling@determinate.systems>
2024-05-16 15:04:04 -03:00
Luc Perkins
06fb14658c
Reformat use statement
...
Co-authored-by: Cole Helbling <cole.helbling@determinate.systems>
2024-05-16 15:02:28 -03:00
Luc Perkins
a6e08a2a14
Remove info statement when not in GHA
2024-05-16 14:54:44 -03:00
Luc Perkins
8ad3089e93
Remove unnecessary determine func
2024-05-16 14:50:28 -03:00
Luc Perkins
41327e96b5
Address Clippy issues
2024-05-16 14:46:17 -03:00
Luc Perkins
136a3d43d6
Periodically fetch JWT only in GHA
2024-05-16 14:29:20 -03:00
Luc Perkins
90180e31ef
Add logic for determining environment
2024-05-16 13:53:46 -03: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
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
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
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