Skip to content

Commit 3544470

Browse files
authored
Remove self-hosted runners (#275)
1 parent 48f4f2b commit 3544470

File tree

7 files changed

+23
-23
lines changed

7 files changed

+23
-23
lines changed

.github/workflows/license_finder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ jobs:
77
license_finder:
88
if: github.repository_owner == 'viamrobotics'
99
name: Audit 3rd-Party Licenses
10-
runs-on: [self-hosted, x64]
10+
runs-on: ubuntu-latest
1111
container:
1212
image: ghcr.io/viamrobotics/canon:amd64
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Run license finder
1919
run: license_finder --prepare

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
release:
55
types: [published]
66
secrets:
7-
NPM_TOKEN:
8-
required: true
7+
NPM_TOKEN:
8+
required: true
99

1010
jobs:
1111
publish:
1212
if: github.repository_owner == 'viamrobotics'
13-
runs-on: [self-hosted, x64]
13+
runs-on: ubuntu-latest
1414
container:
1515
image: ghcr.io/viamrobotics/canon:amd64
1616

.github/workflows/publish_next.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ on:
99
jobs:
1010
publish_next:
1111
if: github.repository_owner == 'viamrobotics'
12-
runs-on: [self-hosted, x64]
12+
runs-on: ubuntu-latest
1313
container:
1414
image: ghcr.io/viamrobotics/canon:amd64
1515

1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
with:
2020
persist-credentials: false
2121

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
prepare:
88
if: github.repository_owner == 'viamrobotics' && startsWith(github.ref_name, 'rc-')
9-
runs-on: [self-hosted, x64]
9+
runs-on: ubuntu-latest
1010
container:
1111
image: ghcr.io/viamrobotics/canon:amd64
1212
outputs:
@@ -25,7 +25,7 @@ jobs:
2525
if: steps.is_organization_member.outputs.result == 'false'
2626

2727
- name: Checkout Code
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929

3030
- name: Build + Lint + Test
3131
run: |
@@ -64,19 +64,19 @@ jobs:
6464
- name: Open PR
6565
uses: repo-sync/pull-request@v2
6666
with:
67-
destination_branch: "main"
67+
destination_branch: 'main'
6868
pr_title: ${{ steps.which_version.outputs.version }}
6969
pr_body: This is an auto-generated PR to merge the rc branch back into main upon successful release.
7070

7171
build:
7272
needs: prepare
7373
if: github.repository_owner == 'viamrobotics' && startsWith(github.ref_name, 'rc-')
74-
runs-on: [self-hosted, x64]
74+
runs-on: ubuntu-latest
7575
container:
7676
image: ghcr.io/viamrobotics/canon:amd64
7777
steps:
7878
- name: Checkout Code
79-
uses: actions/checkout@v3
79+
uses: actions/checkout@v4
8080
with:
8181
ref: rc-${{ needs.prepare.outputs.version }}
8282

@@ -96,7 +96,7 @@ jobs:
9696
release:
9797
needs: [prepare, build]
9898
if: github.repository_owner == 'viamrobotics' && startsWith(github.ref_name, 'rc-')
99-
runs-on: [self-hosted, x64]
99+
runs-on: ubuntu-latest
100100
container:
101101
image: ghcr.io/viamrobotics/canon:amd64
102102

.github/workflows/release_candidate.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
jobs:
2121
prepare:
2222
if: github.repository_owner == 'viamrobotics'
23-
runs-on: [self-hosted, x64]
23+
runs-on: ubuntu-latest
2424
container:
2525
image: ghcr.io/viamrobotics/canon:amd64
2626
outputs:
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
organization: viamrobotics
3535
username: ${{ github.actor }}
36-
token: ${{ secrets.GITHUB_TOKEN }}
36+
token: ${{ secrets.GITHUB_TOKEN }}
3737

3838
- name: Cancelling - not an organization member
3939
uses: andymckay/[email protected]
@@ -49,7 +49,7 @@ jobs:
4949
&& sudo apt install gh -y
5050
5151
- name: Checkout Code
52-
uses: actions/checkout@v3
52+
uses: actions/checkout@v4
5353

5454
- name: Build + Lint + Test
5555
run: |
@@ -110,12 +110,12 @@ jobs:
110110
build:
111111
needs: prepare
112112
if: github.repository_owner == 'viamrobotics'
113-
runs-on: [self-hosted, x64]
113+
runs-on: ubuntu-latest
114114
container:
115115
image: ghcr.io/viamrobotics/canon:amd64
116116
steps:
117117
- name: Checkout Code
118-
uses: actions/checkout@v3
118+
uses: actions/checkout@v4
119119
with:
120120
ref: rc-${{ needs.prepare.outputs.version }}
121121

@@ -133,7 +133,7 @@ jobs:
133133
release:
134134
needs: [prepare, build]
135135
if: github.repository_owner == 'viamrobotics'
136-
runs-on: [self-hosted, x64]
136+
runs-on: ubuntu-latest
137137
container:
138138
image: ghcr.io/viamrobotics/canon:amd64
139139

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ on:
66
jobs:
77
build_lint_test:
88
if: github.repository_owner == 'viamrobotics'
9-
runs-on: [self-hosted, x64]
9+
runs-on: ubuntu-latest
1010
container:
1111
image: ghcr.io/viamrobotics/canon:amd64
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: Build, lint, and test
1717
run: |

.github/workflows/update_protos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ on:
99
jobs:
1010
update-protos:
1111
if: github.repository_owner == 'viamrobotics'
12-
runs-on: [self-hosted, x64]
12+
runs-on: ubuntu-latest
1313
container:
1414
image: ghcr.io/viamrobotics/canon:amd64
1515
steps:
1616
- name: Checkout Code
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
token: ${{ secrets.REPO_READ_TOKEN }}
2020

0 commit comments

Comments
 (0)