Luc Perkins
49afb020c1
Build only when label is applied
2024-05-18 17:24:45 -03:00
Luc Perkins
66317827ea
Some final cleanup
2024-05-18 17:21:03 -03:00
Luc Perkins
03d4aa5f66
Fix naming issue
2024-05-18 17:07:04 -03:00
Luc Perkins
3708b7cec6
Fix download artifact declaration
2024-05-18 16:52:47 -03:00
Luc Perkins
e02976750d
Remove unused env var
2024-05-18 16:47:37 -03:00
Luc Perkins
6eaa23c963
Rework integration test
2024-05-18 16:41:44 -03:00
Luc Perkins
867cfad681
Fix broken dev shell build
2024-05-18 16:23:35 -03:00
Luc Perkins
01e147381b
Streamline build logic
2024-05-18 16:21:53 -03:00
Luc Perkins
cce0d218c8
Use matrix strategy
2024-05-17 17:36:46 -03:00
Luc Perkins
e85ce91771
Extract closure in prior step
2024-05-17 17:28:37 -03:00
Luc Perkins
6f4ce1d570
Install Nix prior to test
2024-05-17 17:17:18 -03:00
Luc Perkins
1407ae42a2
Make sure build job runs first
2024-05-17 17:14:50 -03:00
Luc Perkins
5b98d04c9e
Test build of mnc using source-binary
2024-05-17 17:14:03 -03:00
Luc Perkins
7474dbd627
Use GITHUB_OUTPUT instead of GITHUB_STATE
2024-05-17 17:04:12 -03:00
Luc Perkins
7fc2455f30
Use GITHUB_STATE mechanism for state
2024-05-17 17:03:09 -03:00
Luc Perkins
bb7e2fbfa3
Make nix.conf writable
2024-05-17 17:01:32 -03:00
Luc Perkins
986b5798dd
More setup steps
2024-05-17 16:59:39 -03:00
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