Commit graph

26 commits

Author SHA1 Message Date
Cole Mickens
19c5492b89
wip: drop: debug info 2023-12-08 09:45:24 -05: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
Cole Helbling
81f14d0ea0
Create PULL_REQUEST_TEMPLATE.md 2023-03-02 10:42:36 -08: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