Commit graph

118 commits

Author SHA1 Message Date
Ana Hobden bbcd1efad1 Add check for dist folder 2023-10-23 11:50:08 -07:00
Ana Hobden ba1bee1704
Merge pull request #46 from colemickens/retries
Retry (w/ back-off) downloading the installer binary
2023-10-19 06:42:24 -07:00
Cole Mickens c906fbe810
regenerate dist after rebasing 2023-10-19 11:45:11 +02:00
Cole Mickens 5c1457fc8d
retries: interate on stream handling, remove downcast 2023-10-19 11:44:42 +02:00
Cole Mickens 58853de798
main.ts: use fetch-retry, add retry/backoff to fetching installer 2023-10-19 11:44:41 +02:00
Cole Mickens e0fea1fb58
package.json: replace node-fetch with fetch-retry w/ native node fetch 2023-10-19 11:44:41 +02:00
Ana Hobden df82330768
Merge pull request #44 from colemickens/fixup-nix-url-check
main.ts: fixup logic to ensure only one installer url override is set
2023-10-18 10:24:39 -07:00
Cole Mickens 1cd89e7945
.github: allow trigger ci manually (#45) 2023-10-18 11:14:39 -04:00
Cole Mickens b1240359dd
main.ts: fixup logic to ensure only one installer url override is set 2023-10-18 16:31:36 +02:00
Graham Christensen bc7b192574
Update the action to use node20 (#41)
* Update nixpkgs to unstable, and nodejs to latest

* Upgrade the action to use node20
2023-10-12 11:19:09 -04:00
Graham Christensen 07ebb8d274
Support private flakes on FlakeHub (#38)
Use the GitHub Actions-issued JWT to authenticate with FlakeHub.
The repository will be granted its due permissions on FlakeHub,
and be able to pull the user's private flakes.
2023-10-04 17:35:16 -04:00
Graham Christensen d654f7b93a
Post run diagnostics (#39) 2023-10-04 15:31:05 -04:00
Ana Hobden 3ebd1aebb4
Merge pull request #34 from DeterminateSystems/hoverbear/ds-893-make-installer-action-use-typescript
Typescript rewrite
2023-07-17 11:13:55 -07:00
Ana Hobden 15d47b15b5 Use released installer, not main 2023-07-17 11:00:58 -07:00
Ana Hobden c683402ad5 Tweak messaging when nix-installer makes GITHUB_PATH not action writable 2023-07-17 10:56:49 -07:00
Ana Hobden 5103a0df22 test against main 2023-07-14 12:29:59 -07:00
Ana Hobden d29c939172 Better messaging when we set GITHUB_PATH 2023-07-14 09:07:56 -07:00
Ana Hobden bdec4311cf Fixup wording, test again against fixed pr 2023-07-14 08:57:09 -07:00
Ana Hobden a5bdb5e70c Tweak the warning 2023-07-14 08:27:14 -07:00
Ana Hobden 15d6a6a814 More handling around old nix-installer versions 2023-07-14 08:03:38 -07:00
Ana Hobden b6d507aa32 Handle main branch 2023-07-14 07:58:53 -07:00
Ana Hobden 09be496fdd Add guardrail against old nix-installer versions that set GITHUB_PATH 2023-07-14 07:58:00 -07:00
Ana Hobden 017103f261 Use fixed nix-installer branch 2023-07-13 13:18:57 -07:00
Ana Hobden d7dba96ff9 Run npm build... 2023-07-13 11:33:33 -07:00
Ana Hobden 47de24d14a Set path on happy install path 2023-07-13 11:29:35 -07:00
Ana Hobden 3d54c0c487 More review feedback 2023-07-13 11:10:08 -07:00
Ana Hobden ea2f18de2f Review feedback 2023-07-13 11:03:55 -07:00
Ana Hobden 2b06132852 Fixup descriptions 2023-07-13 10:23:02 -07:00
Ana Hobden 20c8a30d1b Merge branch 'main' into hoverbear/ds-893-make-installer-action-use-typescript 2023-07-13 10:12:33 -07:00
Ana Hobden 5eda0a4d27 Use less esoteric formatting settings 2023-07-13 10:11:00 -07:00
Ana Hobden 37c0d0291e
Merge pull request #35 from DeterminateSystems/fix-custom-planner
Fix specifying a custom planner
2023-07-13 10:07:27 -07:00
Ana Hobden 42bc6b2199 Remove steam-deck test 2023-07-13 09:58:04 -07:00
Ana Hobden 6479c3bcee Specify steam-deck 2023-07-13 09:26:06 -07:00
Ana Hobden 546f09255a Add output 2023-07-13 09:18:31 -07:00
Ana Hobden 27df44f1c8 Add custom planner test 2023-07-13 08:40:43 -07:00
Ana Hobden 13153f8246 Fix specifying a custom planner 2023-07-13 08:38:42 -07:00
Ana Hobden 195f007ef0 Add logging directives 2023-07-12 13:17:46 -07:00
Ana Hobden 8910100981 Refine trimming a bit 2023-07-12 11:21:13 -07:00
Ana Hobden 35759c8458 Trim logging and encode stdout/stderr 2023-07-12 11:09:28 -07:00
Ana Hobden 3bae1cc12f Tidy up logging 2023-07-12 10:52:09 -07:00
Ana Hobden 339fb7942a Info log 2023-07-12 10:28:15 -07:00
Ana Hobden 8e89511534 Add extra_conf, reinstall 2023-07-12 10:24:35 -07:00
Ana Hobden 74554e45ae Merge branch 'main' into hoverbear/ds-893-make-installer-action-use-typescript 2023-07-11 10:40:02 -07:00
Ana Hobden 79baecff38 Typescript rewrite 2023-07-11 10:36:41 -07:00
Ana Hobden 22b6142a17
Merge pull request #32 from DeterminateSystems/fix-build-user-prefix-and-base-logic
--nix-build-user-base and --nix-build-user-prefix logic no longer confused
2023-07-06 11:13:46 -07:00
Ana Hobden 5f22ee1377 --nix-build-user-base and --nix-build-user-prefix logic no longer confused 2023-07-06 10:39:45 -07:00
Ana Hobden 3df486a535
Add act support (#30)
* Add act support

* Unwhoops

* Better format bash

* Relocate some code

* Mac doesn't want to get fancy with mktemp

* Change branch

* Change to a pr instead of branch

* Use the pr all over

* Use main

* Don't cat the conf

* Improve act support

* Bash eval fix

* use single quotes instead

* Fix mac planner name

* Fix quotes again
2023-07-01 22:59:30 +02:00
Graham Christensen 677cbc8aa1
Merge pull request #27 from DeterminateSystems/bump-readme
Update README.md to say v4
2023-06-06 13:05:06 -04:00
Graham Christensen ca688cebfe
Update README.md to say v4 2023-06-06 10:25:36 -04:00
Ana Hobden 65d7c888b2
Merge pull request #26 from DeterminateSystems/different-url-for-ci
Add a ?ci=github to GHA requests
2023-06-05 10:53:09 -07:00