Skip to content

Commit 1b4d41d

Browse files
authored
chore: Use GitHub actions runners instead of Ubicloud (#5)
1 parent 5ca512a commit 1b4d41d

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

.github/workflows/cd.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ concurrency:
2929
jobs:
3030
build-and-push-artifacts:
3131
name: Build and push artifacts for Python ${{ matrix.python_version }}
32-
runs-on: ubicloud-standard-2
32+
runs-on: ubuntu-latest
3333
# Only run for base repo, not forks
3434
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request'
3535
strategy:
@@ -120,7 +120,7 @@ jobs:
120120

121121
build-and-push-artifacts-status:
122122
name: All artifacts pushed
123-
runs-on: ubicloud-standard-2
123+
runs-on: ubuntu-latest
124124
needs: build-and-push-artifacts
125125
# Only run if the build job ran (i.e., not for forks)
126126
if: always() && (github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request')
@@ -143,7 +143,7 @@ jobs:
143143
144144
publish-python-package:
145145
name: Publish Python package
146-
runs-on: ubicloud-standard-2
146+
runs-on: ubuntu-latest
147147
# Only run for base repo, not forks
148148
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request'
149149
outputs:
@@ -282,7 +282,7 @@ jobs:
282282

283283
publish-to-pypi:
284284
name: Publish to PyPI
285-
runs-on: ubicloud-standard-2
285+
runs-on: ubuntu-latest
286286
needs: publish-python-package
287287
# Only run for base repo when a new tag is created
288288
if: (github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request') && startsWith(github.ref, 'refs/tags/')
@@ -306,7 +306,7 @@ jobs:
306306

307307
deploy-review-app:
308308
name: Deploy review app
309-
runs-on: ubicloud-standard-2
309+
runs-on: ubuntu-latest
310310
needs: build-and-push-artifacts-status
311311
# Only run for base repo PRs, not forks
312312
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
@@ -351,7 +351,7 @@ jobs:
351351
352352
jupyter-for-local:
353353
name: Jupyter for local
354-
runs-on: ubicloud-standard-2
354+
runs-on: ubuntu-latest
355355
needs: build-and-push-artifacts-status
356356
# Only run for base repo, not forks
357357
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request'
@@ -409,7 +409,7 @@ jobs:
409409
410410
build-toolkit-cluster-cache:
411411
name: Build toolkit cluster cache
412-
runs-on: ubicloud-standard-2
412+
runs-on: ubuntu-latest
413413
needs: build-and-push-artifacts-status
414414
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
415415
env:
@@ -450,7 +450,7 @@ jobs:
450450
451451
release-staging:
452452
name: Release staging
453-
runs-on: ubicloud-standard-2
453+
runs-on: ubuntu-latest
454454
needs: build-toolkit-cluster-cache
455455
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
456456
steps:
@@ -491,7 +491,7 @@ jobs:
491491

492492
release-production:
493493
name: Release production
494-
runs-on: ubicloud-standard-2
494+
runs-on: ubuntu-latest
495495
needs: build-toolkit-cluster-cache
496496
if: startsWith(github.ref, 'refs/tags/')
497497
steps:

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
jobs:
2323
spell-check:
2424
name: Spell Check
25-
runs-on: ubicloud-standard-2
25+
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
2828
with:
@@ -60,7 +60,7 @@ jobs:
6060

6161
format:
6262
name: Format
63-
runs-on: ubicloud-standard-2
63+
runs-on: ubuntu-latest
6464
steps:
6565
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
6666
with:
@@ -102,7 +102,7 @@ jobs:
102102
license-check:
103103
name: License Check
104104
# This only checks production dependencies inclusive of the dev deps that are actually prod deps (see pyproject.toml).
105-
runs-on: ubicloud-standard-2
105+
runs-on: ubuntu-latest
106106
steps:
107107
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
108108
with:
@@ -158,7 +158,7 @@ jobs:
158158
159159
mypy:
160160
name: Typecheck - ${{ matrix.python-version }}
161-
runs-on: ubicloud-standard-2
161+
runs-on: ubuntu-latest
162162
strategy:
163163
fail-fast: false
164164
matrix:
@@ -216,7 +216,7 @@ jobs:
216216
217217
gitleaks:
218218
name: Gitleaks check
219-
runs-on: ubicloud-standard-2
219+
runs-on: ubuntu-latest
220220
steps:
221221
- name: Checkout code
222222
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
@@ -232,7 +232,7 @@ jobs:
232232

233233
semgrep:
234234
name: Static Analysis
235-
runs-on: ubicloud-standard-2
235+
runs-on: ubuntu-latest
236236
timeout-minutes: 3
237237

238238
env:
@@ -257,7 +257,7 @@ jobs:
257257

258258
qlty:
259259
name: Qlty Check
260-
runs-on: ubicloud-standard-2
260+
runs-on: ubuntu-latest
261261
timeout-minutes: 3
262262

263263
steps:
@@ -277,7 +277,7 @@ jobs:
277277

278278
tests-unit:
279279
name: Test - Python ${{ matrix.python-version }}
280-
runs-on: ubicloud-standard-2
280+
runs-on: ubuntu-latest
281281
strategy:
282282
fail-fast: false
283283
matrix:
@@ -393,7 +393,7 @@ jobs:
393393
poetry run coverage report --data-file=coverage/.coverage.${PYTHON_VERSION} --format=markdown >> $GITHUB_STEP_SUMMARY
394394
audit-prod:
395395
name: Audit - Production
396-
runs-on: ubicloud-standard-2
396+
runs-on: ubuntu-latest
397397
timeout-minutes: 3
398398
steps:
399399
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
@@ -434,7 +434,7 @@ jobs:
434434

435435
audit-all:
436436
name: Audit - All
437-
runs-on: ubicloud-standard-2
437+
runs-on: ubuntu-latest
438438
timeout-minutes: 3
439439
steps:
440440
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4

.github/workflows/clean-up-review-app-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
close-app-config-pr:
99
name: Close corresponding PR in app-config repo
10-
runs-on: ubicloud-standard-2
10+
runs-on: ubuntu-latest
1111
# Only run for internal PRs (not from forks)
1212
if: github.event.pull_request.head.repo.full_name == github.repository
1313
steps:

0 commit comments

Comments
 (0)