Skip to content

Commit

Permalink
Fix network tuning
Browse files Browse the repository at this point in the history
Fix missing sudo error introduced in 8eded5c.

Resolves: #6
  • Loading branch information
iainelder committed May 31, 2024
1 parent 8eded5c commit cc88418
Show file tree
Hide file tree
Showing 72 changed files with 288 additions and 216 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/1password-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install 1Password CLI
shell: su norm --command "bash --login {0}"
run: programs/1password-cli/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/1password.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install 1Password
shell: su norm --command "bash --login {0}"
run: programs/1password/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/_program.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install ${program_name}
shell: su norm --command "bash --login {0}"
run: ${program_script}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/act.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install Act
shell: su norm --command "bash --login {0}"
run: programs/act/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/angle-grinder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install Angle-Grinder
shell: su norm --command "bash --login {0}"
run: programs/angle-grinder/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/anki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install Anki
shell: su norm --command "bash --login {0}"
run: programs/anki/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/aws-nuke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install aws-nuke
shell: su norm --command "bash --login {0}"
run: programs/aws-nuke/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/aws-vault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install aws-vault
shell: su norm --command "bash --login {0}"
run: programs/aws-vault/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/awscli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install awscli
shell: su norm --command "bash --login {0}"
run: programs/awscli/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/awsls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install awsls
shell: su norm --command "bash --login {0}"
run: programs/awsls/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/awsvpnclient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install AWS Client VPN for Linux
shell: su norm --command "bash --login {0}"
run: programs/awsvpnclient/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/bashmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install Bashmarks
shell: su norm --command "bash --login {0}"
run: programs/bashmarks/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/borgbackup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install BorgBackup
shell: su norm --command "bash --login {0}"
run: programs/borgbackup/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/clustergit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install clustergit
shell: su norm --command "bash --login {0}"
run: programs/clustergit/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/codebuild-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install AWS CodeBuild agent
shell: su norm --command "bash --login {0}"
run: programs/codebuild-agent/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/cropgui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install Cropgui
shell: su norm --command "bash --login {0}"
run: programs/cropgui/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/cw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install cw
shell: su norm --command "bash --login {0}"
run: programs/cw/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/diff-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install diff-pdf
shell: su norm --command "bash --login {0}"
run: programs/diff-pdf/install.bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/direnv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

steps:

- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -39,6 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Must come after "Prepare Docker" because it needs sudo.
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1

- name: Install direnv
shell: su norm --command "bash --login {0}"
run: programs/direnv/install.bash
Expand Down
Loading

0 comments on commit cc88418

Please sign in to comment.