Commit Graph

23 Commits

Author SHA1 Message Date
Luc Perkins
2c90bb97d0
Standardize on v4 of the checkout action 2024-05-02 14:10:17 -03:00
Graham Christensen
5d2215c1e1
Rebase on top of detsys-ts for abstracting over install.determinate.systems (#74)
* Rebase on top of detsys-ts for abstracting over install.determinate.systems

* Support the legacy nix-installer-xxx source prefs

* Document source-* opts

* Update deps

* cut duration so it doesn't take forever

* Move the complete step into a finally block

* Test a busted run

* come on ...

* update to the main detsys-ts

* Switch to the delegated execution model

* throw an error to check behavior

* Fixup lint errors

* Drop the forced error
2024-04-11 11:58:56 -04:00
Graham Christensen
cd46bde16a
Support GitHub Enterprise Server using ARC (#59)
* Test nix-installer-action on Namespace.so

It is special in that it doesn't have systemd, and it'd be great to
support Namespace.so. It is also a good test case for a variety
of self-hosted GHA runner use cases.

* Make correlation more confident

* Borrow docker as a process supervisor on Linux GHA runners without systemd

This change introduces a Docker container shim which spawns the Nix
daemon after bind mounting all the relevant paths into the container.

The image is actually completely empty, other than metadata about what
to run.

This is a cheap and cheerful way to get decent process supervision in
environments that don't bring systemd, but do have docker ... which
is most everywhere in the GHA ecosystem.

* Ignore generated files

* Run on arm64 why not

* Load a pre-built image, don't build

* Check the userInfo.username instead of an env var

* Stop double-printing output to the console

* can't rm and restart

* what

* Clean up the container at the end

* Emit the fetch line in the 'installing nix' section

* tweak output

* delete what
2023-12-04 14:17:47 -05:00
Graham Christensen
84fe9e450f
Support GitHub Enterprise Server in the github-token access token. (#58) 2023-12-01 10:23:32 -05:00
Graham Christensen
07b8bcba1b
KVM support out of the box, plus a refreshed README (#56)
* support kvm

* Refresh the readme

* Update README.md

Co-authored-by: Ana Hobden <operator@hoverbear.org>

* Update README.md

Co-authored-by: Luc Perkins <lucperkins@gmail.com>

* Update README.md

---------

Co-authored-by: Ana Hobden <operator@hoverbear.org>
Co-authored-by: Luc Perkins <lucperkins@gmail.com>
2023-11-21 19:06:06 +00: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
ca688cebfe
Update README.md to say v4 2023-06-06 10:25:36 -04:00
Alex Jackson
9c5d3b3cb7
Update README.md with latest v3 version
Updates readme to reflect latest `v3` release of the action.
2023-05-30 10:28:21 -05:00
Ana Hobden
77bddc5421 Include version bump in README 2023-03-20 11:50:11 -07:00
Ana Hobden
b29ae48286 Reflect v0.6.0 changes 2023-03-16 10:02:22 -07:00
Graham Christensen
b0ccf90bd7
Merge pull request #16 from Mic92/diagnostic-endpoint
add option to change diagnostic endpoint
2023-03-06 09:41:30 -05:00
Cole Helbling
610f32a473
README: use tagged release 2023-03-02 10:37:43 -08:00
Jörg Thalheim
9ac19b020d add option to change diagnostic endpoint 2023-03-01 09:08:39 +01:00
Luc Perkins
968165140b
Add missing nix-build-user-count setting 2023-02-28 15:25:46 +02:00
Cole Helbling
526892f864 README: fix table alignment (in text) 2023-02-24 11:29:12 -08:00
Cole Helbling
2f5a631700 Apply suggestions from code review 2023-02-24 11:05:50 -08:00
Luc Perkins
2fa855f5ce
Add initial config table to README 2023-02-17 10:45:59 -08:00
Ana Hobden
cfd70f567b Use github token from context not secret 2023-02-01 10:51:24 -08:00
Luc Perkins
ce724020f6
Add @main to uses statement for nix installer GHA 2023-01-17 12:01:54 -03:00
Ana Hobden
b2d55a56d7 Link back to nix-installer repo 2023-01-13 10:53:14 -08:00
Ana Hobden
b676eb620d Readme should not refer to main revision for action 2023-01-13 10:47:13 -08:00
Ana Hobden
c8e8c323ec Correct readme 2023-01-13 10:35:23 -08:00
Ana Hobden
0065bcf2b8 Add README.md 2023-01-13 10:23:55 -08:00