Skip to content

Commit

Permalink
chore(ci): use depot 4 cpu runner (#21066)
Browse files Browse the repository at this point in the history
chore: use depot 4 cpu runner
  • Loading branch information
pauldambra authored Mar 21, 2024
1 parent 8082d7c commit 3f93d5f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-backend-depot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# Job to decide if we should run backend ci
# See https://github.com/dorny/paths-filter#conditional-execution for more details
changes:
runs-on: depot-ubuntu-latest
runs-on: depot-ubuntu-latest-4
timeout-minutes: 5
if: github.repository == 'PostHog/posthog'
name: Determine need to run backend checks
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
timeout-minutes: 30

name: Python code quality checks
runs-on: depot-ubuntu-latest
runs-on: depot-ubuntu-latest-4

steps:
# If this run wasn't initiated by the bot (meaning: snapshot update) and we've determined
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
timeout-minutes: 10

name: Validate Django migrations
runs-on: depot-ubuntu-latest
runs-on: depot-ubuntu-latest-4

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
timeout-minutes: 30

name: Django tests – ${{ matrix.segment }} (persons-on-events ${{ matrix.person-on-events && 'on' || 'off' }}), Py ${{ matrix.python-version }}, ${{ matrix.clickhouse-server-image }} (${{matrix.group}}/${{ matrix.concurrency }}) (depot)
runs-on: depot-ubuntu-latest
runs-on: depot-ubuntu-latest-4

strategy:
fail-fast: false
Expand Down Expand Up @@ -318,7 +318,7 @@ jobs:
matrix:
clickhouse-server-image: ['clickhouse/clickhouse-server:23.11.2.11-alpine']
if: needs.changes.outputs.backend == 'true'
runs-on: depot-ubuntu-latest
runs-on: depot-ubuntu-latest-4
steps:
- name: 'Checkout repo'
uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-e2e-depot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

jobs:
changes:
runs-on: depot-ubuntu-latest
runs-on: depot-ubuntu-latest-4
timeout-minutes: 5
if: github.repository == 'PostHog/posthog'
name: Determine need to run E2E checks
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
chunks:
needs: changes
name: Cypress preparation
runs-on: depot-ubuntu-latest
runs-on: depot-ubuntu-latest-4
timeout-minutes: 5
outputs:
chunks: ${{ steps.chunk.outputs.chunks }}
Expand All @@ -70,7 +70,7 @@ jobs:

container:
name: Build and cache container image
runs-on: depot-ubuntu-latest
runs-on: depot-ubuntu-latest-4
timeout-minutes: 60
needs: [changes]
permissions:
Expand All @@ -94,7 +94,7 @@ jobs:

cypress:
name: Cypress E2E tests (${{ strategy.job-index }}) (depot)
runs-on: depot-ubuntu-latest
runs-on: depot-ubuntu-latest-4
timeout-minutes: 60
needs: [chunks, changes, container]
permissions:
Expand Down

0 comments on commit 3f93d5f

Please sign in to comment.