* Drop the flakehub param to deprecated, use determinate, and log in to flakehub
* Expand the test suite to cover determinate on all our targets
---------
Co-authored-by: Luc Perkins <lucperkins@gmail.com>
* Rename IN_GITHUB_ACTIONS to IN_ACT
* If the trusted runner user is truthy, setup the runner as a trusted user.
The boolean option is always set.
* Set HAS_SYSTEMD in more cases
* Unquote trust-runner-user in the action.yml
* Don't bother with the docker shim under act
* fmt
* Regenerate
* fixup
* 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
* 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
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.
* 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