Skip to content

Commit

Permalink
Ssh multiplexing breaks remote builders; revert
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Jul 10, 2024
1 parent bba2095 commit 485d5ec
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
with:
extra_nix_config: |
max-jobs = auto
builders-use-substitutes = true
builders = @/etc/nix/machines
max-substitution-jobs = 128
http-connections = 128
Expand All @@ -55,15 +54,6 @@ jobs:
cache: "cache"
token: '${{ secrets.ATTIC_AUTH_TOKEN }}'

- name: Ssh config
run: |
sudo mkdir /etc/ssh/sockets
sudo sh -c "cat >> /etc/ssh/ssh_config << EOF
ControlMaster auto
ControlPath /etc/ssh/sockets/%r@%h-%p
ControlPersist 10m
EOF"
- name: Configure remote builders
run: |
sudo sh -c "umask 377; echo '${{ secrets.BUILDER_SSH_KEY }}' >/etc/nix/id_builder_key"
Expand Down

0 comments on commit 485d5ec

Please sign in to comment.