Commit graph

38 commits

Author SHA1 Message Date
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
Ana Hobden
e1f2e54ff9
Merge pull request #5 from zhaofengli/trust-runner-user
Make the runner user trusted by default
2023-02-02 11:35:00 -08:00
Zhaofeng Li
224c33d638 .github: Verify that extra-conf is honored 2023-02-02 11:59:49 -07:00
Zhaofeng Li
8589344a03 .github: Verify trusted-users is set in nix.conf 2023-02-02 11:59:16 -07:00
Ana Hobden
cfd70f567b Use github token from context not secret 2023-02-01 10:51:24 -08:00
Ana Hobden
2ec668c456 More thorough testing 2023-01-13 12:18:14 -08:00
Ana Hobden
f0508f0de8 Add reinstall option 2023-01-13 12:09:36 -08:00
Ana Hobden
1ea0b9a637 Boil down CI workflow 2023-01-13 10:13:23 -08:00
Ana Hobden
2e10ab0fc9 Remove old dependencies 2023-01-13 10:09:35 -08:00
Ana Hobden
0055602fae Add ci test 2023-01-13 10:08:19 -08:00