Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ concurrency:
jobs:
build-and-push-artifacts:
name: Build and push artifacts for Python ${{ matrix.python_version }}
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
# Only run for base repo, not forks
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request'
strategy:
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:

build-and-push-artifacts-status:
name: All artifacts pushed
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
needs: build-and-push-artifacts
# Only run if the build job ran (i.e., not for forks)
if: always() && (github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request')
Expand All @@ -143,7 +143,7 @@ jobs:

publish-python-package:
name: Publish Python package
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
# Only run for base repo, not forks
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request'
outputs:
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:

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

deploy-review-app:
name: Deploy review app
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
needs: build-and-push-artifacts-status
# Only run for base repo PRs, not forks
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
Expand Down Expand Up @@ -351,7 +351,7 @@ jobs:

jupyter-for-local:
name: Jupyter for local
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
needs: build-and-push-artifacts-status
# Only run for base repo, not forks
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request'
Expand Down Expand Up @@ -409,7 +409,7 @@ jobs:

build-toolkit-cluster-cache:
name: Build toolkit cluster cache
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
needs: build-and-push-artifacts-status
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
env:
Expand Down Expand Up @@ -450,7 +450,7 @@ jobs:

release-staging:
name: Release staging
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
needs: build-toolkit-cluster-cache
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
steps:
Expand Down Expand Up @@ -491,7 +491,7 @@ jobs:

release-production:
name: Release production
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
needs: build-toolkit-cluster-cache
if: startsWith(github.ref, 'refs/tags/')
steps:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
jobs:
spell-check:
name: Spell Check
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
with:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:

format:
name: Format
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
with:
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
license-check:
name: License Check
# This only checks production dependencies inclusive of the dev deps that are actually prod deps (see pyproject.toml).
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
with:
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:

mypy:
name: Typecheck - ${{ matrix.python-version }}
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:

gitleaks:
name: Gitleaks check
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
Expand All @@ -232,7 +232,7 @@ jobs:

semgrep:
name: Static Analysis
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
timeout-minutes: 3

env:
Expand All @@ -257,7 +257,7 @@ jobs:

qlty:
name: Qlty Check
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
timeout-minutes: 3

steps:
Expand All @@ -277,7 +277,7 @@ jobs:

tests-unit:
name: Test - Python ${{ matrix.python-version }}
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -393,7 +393,7 @@ jobs:
poetry run coverage report --data-file=coverage/.coverage.${PYTHON_VERSION} --format=markdown >> $GITHUB_STEP_SUMMARY
audit-prod:
name: Audit - Production
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
Expand Down Expand Up @@ -434,7 +434,7 @@ jobs:

audit-all:
name: Audit - All
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clean-up-review-app-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
close-app-config-pr:
name: Close corresponding PR in app-config repo
runs-on: ubicloud-standard-2
runs-on: ubuntu-latest
# Only run for internal PRs (not from forks)
if: github.event.pull_request.head.repo.full_name == github.repository
steps:
Expand Down