Skip to content

Commit

Permalink
chore: revert back to default runners for GitHub Actions (#15950)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuziontech authored Jun 7, 2023
1 parent 4992bba commit 81d8c21
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-backend-update-test-timing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
django:
name: Run Django tests and save test durations
runs-on: ubuntu-latest-backend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,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: ubuntu-latest-backend
runs-on: ubuntu-latest
timeout-minutes: 5
if: github.repository == 'PostHog/posthog'
name: Determine need to run backend checks
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
timeout-minutes: 10

name: Python code quality checks
runs-on: ubuntu-latest-backend
runs-on: ubuntu-latest

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

name: Validate Django migrations
runs-on: ubuntu-latest-backend
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -231,7 +231,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 }})
runs-on: ubuntu-latest-backend
runs-on: ubuntu-latest

strategy:
fail-fast: false
Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:
if: github.repository == 'PostHog/posthog' && needs.changes.outputs.backend == 'true'

name: Django tests – Cloud
runs-on: ubuntu-latest-backend
runs-on: ubuntu-latest
steps:
- name: Fetch posthog-cloud
run: |
Expand Down Expand Up @@ -410,7 +410,7 @@ jobs:
name: Async migrations tests
needs: changes
if: needs.changes.outputs.backend == 'true'
runs-on: ubuntu-latest-backend
runs-on: ubuntu-latest
steps:
- name: 'Checkout repo'
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

jobs:
changes:
runs-on: ubuntu-latest-e2e
runs-on: ubuntu-latest
timeout-minutes: 5
if: github.repository == 'PostHog/posthog'
name: Determine need to run E2E checks
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
cypress_prep:
needs: changes
name: Cypress preparation
runs-on: ubuntu-latest-e2e
runs-on: ubuntu-latest
timeout-minutes: 30
outputs:
specs: ${{ steps.set-specs.outputs.specs }}
Expand All @@ -78,7 +78,7 @@ jobs:

cypress:
name: Cypress E2E tests (${{ strategy.job-index }})
runs-on: ubuntu-latest-e2e
runs-on: ubuntu-latest
timeout-minutes: 30
needs: [cypress_prep, changes]
permissions:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:
jobs:
frontend-code-quality:
name: Code quality checks
runs-on: ubuntu-latest-frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
run: pnpm schema:build:json && git diff --exit-code

jest:
runs-on: ubuntu-latest-frontend
runs-on: ubuntu-latest
name: Jest test (${{ matrix.chunk }})

strategy:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-plugin-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ concurrency:
jobs:
code-quality:
name: Code quality
runs-on: ubuntu-latest-pluginserver
runs-on: ubuntu-latest
defaults:
run:
working-directory: 'plugin-server'
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:

tests:
name: Tests (${{matrix.shard}})
runs-on: ubuntu-latest-pluginserver
runs-on: ubuntu-latest

strategy:
fail-fast: false
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:

functional-tests:
name: Functional tests (POE_EMBRACE_JOIN_FOR_TEAMS=${{matrix.POE_EMBRACE_JOIN_FOR_TEAMS}})
runs-on: ubuntu-latest-pluginserver
runs-on: ubuntu-latest

strategy:
fail-fast: false
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
# comparable results, but rather to give a rough idea of how
# ingestion performance changes over time.

runs-on: ubuntu-latest-pluginserver
runs-on: ubuntu-latest

env:
DEBUG: 'true'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/storybook-chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

visual-regression:
name: Visual regression tests
runs-on: ubuntu-latest-frontend
runs-on: ubuntu-latest
timeout-minutes: 30
container:
image: mcr.microsoft.com/playwright:v1.29.2
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:

visual-regression-summary:
name: Summarize visual regression tests
runs-on: ubuntu-latest-frontend
runs-on: ubuntu-latest
timeout-minutes: 5
needs: visual-regression
if: always() # Run even if visual-regression fails for one (or more) of the browsers
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storybook-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
storybook-deployment:
runs-on: ubuntu-latest-frontend
runs-on: ubuntu-latest
if: github.repository == 'PostHog/posthog'
steps:
- name: Check out PostHog/posthog repo
Expand Down

0 comments on commit 81d8c21

Please sign in to comment.