Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: DeterminateSystems/nix-installer-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8
Choose a base ref
...
head repository: DeterminateSystems/nix-installer-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9
Choose a head ref
  • 2 commits
  • 15 files changed
  • 1 contributor

Commits on Dec 1, 2023

  1. Copy the full SHA
    84fe9e4 View commit details

Commits on Dec 4, 2023

  1. 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
    grahamc authored Dec 4, 2023
    Copy the full SHA
    cd46bde View commit details
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/* linguist-generated=true

8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,13 @@ jobs:
- run: test $(git status --porcelain=v1 2>/dev/null | wc -l) -eq 0
run-x86_64-linux:
name: Run x86_64 Linux
runs-on: ubuntu-22.04
strategy:
matrix:
runner:
- ubuntu-latest
- nscloud-ubuntu-22.04-amd64-4x16
- namespace-profile-default-arm64
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v3
- name: Install Nix
Loading