Commit graph

59 commits

Author SHA1 Message Date
Luc Perkins
8cc782962a
Add to tests 2024-05-17 11:41:26 -03:00
Luc Perkins
c1489fff7b
Remove more tests 2024-05-17 11:37:53 -03:00
Luc Perkins
4ed4c86fdc
Remove branch test 2024-05-17 11:35:28 -03:00
Luc Perkins
ccf4610648
Fix branch version 2024-05-17 11:33:26 -03:00
Luc Perkins
f97a8a062c
Fix PR version 2024-05-17 11:32:15 -03:00
Luc Perkins
766b8830f1
Provide new test matrix for source-* inputs 2024-05-17 11:28:50 -03:00
Luc Perkins
350241e13f
Fix expected version 2024-05-17 11:12:58 -03:00
Luc Perkins
164c9d00dc
Check expected Nix versions using script 2024-05-17 11:04:45 -03:00
Luc Perkins
74f4d10531
Fix name of workflow 2024-05-16 21:07:06 -03:00
Luc Perkins
86a97d5eb6
Add missing checkout action 2024-05-16 21:05:48 -03:00
Luc Perkins
86e8caa071
Fix path in uses declarations 2024-05-16 21:04:04 -03:00
Luc Perkins
151fdae2fc
Add more test cases 2024-05-16 21:02:46 -03:00
Luc Perkins
7fcb842097
Undo matrix logic 2024-05-16 20:53:46 -03:00
Luc Perkins
8d9c69de11
Update expected versions 2024-05-16 20:52:41 -03:00
Luc Perkins
6b0b02c6a2
Fix string interpolation (again) 2024-05-16 20:51:04 -03:00
Luc Perkins
6265732741
Fix string interpolation 2024-05-16 20:50:21 -03:00
Luc Perkins
0e85ec287f
Add expected Nix versions 2024-05-16 20:49:32 -03:00
Luc Perkins
5385bea1cb
Try with somewhat older versions 2024-05-16 20:42:24 -03:00
Luc Perkins
d49867b627
Apply matrix strategy 2024-05-16 20:41:04 -03:00
Luc Perkins
e8f36a90cd
Fix URL for executable 2024-05-16 20:38:07 -03:00
Luc Perkins
397a5c26a7
Update input description and add test workflow 2024-05-16 20:37:01 -03:00
Luc Perkins
ca7cf68c63
Add megajob called tests 2024-05-15 18:16:09 -03:00
Luc Perkins
94a9e4375c
Rename jobs 2024-05-15 17:56:08 -03:00
Luc Perkins
83c8f7dfdd
Fix formatting 2024-05-15 17:44:11 -03:00
Luc Perkins
37d6eb5161
Add CI run for aarch64-darwin 2024-05-15 17:39:35 -03:00
Luc Perkins
2c90bb97d0
Standardize on v4 of the checkout action 2024-05-02 14:10:17 -03:00
Luc Perkins
ff2ea37e97
Remove MNC from workflow 2024-05-02 13:58:19 -03:00
Luc Perkins
f957521643
Reinstate the MNC prior to reinstall 2024-05-02 13:54:44 -03:00
Luc Perkins
23ddac323e
Remove second reinstall setting 2024-05-02 13:49:26 -03:00
Luc Perkins
3785eaaa9b
Fix other instance of uninstall/reinstall 2024-05-02 13:48:27 -03:00
Luc Perkins
6b7860826e
Remove reinstall setting 2024-05-02 13:47:23 -03:00
Luc Perkins
7acbc80e00
Add names to CI steps 2024-05-02 10:56:42 -03:00
Luc Perkins
86cdba7a6e
Switch to git diff --exit-code 2024-04-22 13:17:32 -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
de22e16c47
DETERMINATE_NIX_KVM fixup, support Magic Nix Cache + FlakeHub Cache on Namespace runners (#72)
* Share /bin with nix for post-build-hooks

* test the magic nix cache

* wtf

* permissions

* Share /home and the network namespace too

* test the devshell

* Don't force-set kvm to 0 ... d'oh!

* dev shell support for aarch64-linux

* ?

* More testing /  debug

* Make it run anyway

* Bind /lib too so /bin/sh works ... sigh

* Disable gha-cache for tesing

* Kill the magic nix cache before reinstalling

* Don't set the extra environment variables extraniously

* Enable gha cache again
2024-03-11 19:53:25 -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
Ana Hobden
3177c7dd91 npm options wrong post 2023-10-23 11:57:00 -07:00
Ana Hobden
0e429bedc6 Nosave 2023-10-23 11:54:33 -07:00
Ana Hobden
4420be335b Show more in report 2023-10-23 11:53:07 -07:00
Ana Hobden
1ae92f01c0 Of course npm run all does not install, why would it. 2023-10-23 11:51:50 -07:00
Ana Hobden
bbcd1efad1 Add check for dist folder 2023-10-23 11:50:08 -07:00
Cole Mickens
1cd89e7945
.github: allow trigger ci manually (#45) 2023-10-18 11:14:39 -04:00
Ana Hobden
15d47b15b5 Use released installer, not main 2023-07-17 11:00:58 -07:00
Ana Hobden
5103a0df22 test against main 2023-07-14 12:29:59 -07:00
Ana Hobden
bdec4311cf Fixup wording, test again against fixed pr 2023-07-14 08:57:09 -07:00
Ana Hobden
b6d507aa32 Handle main branch 2023-07-14 07:58:53 -07:00
Ana Hobden
017103f261 Use fixed nix-installer branch 2023-07-13 13:18:57 -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
Ana Hobden
cd77c17f59 Maybe we can use hello 2023-05-25 08:54:25 -07:00
Ana Hobden
10f7447de7 Use ripgrep instead of fortune 2023-05-25 08:53:32 -07:00