Optimize CI runner cost (#14628)

This commit is contained in:
Charles Bochet
2025-09-20 12:14:29 +02:00
committed by GitHub
parent ff3467c18e
commit a21daa2670
6 changed files with 8 additions and 11 deletions
+1 -4
View File
@@ -6,9 +6,6 @@ on:
branches:
- main
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
@@ -37,7 +34,7 @@ jobs:
needs: changed-files-check
if: needs.changed-files-check.outputs.any_changed == 'true'
timeout-minutes: 45
runs-on: depot-ubuntu-24.04-8
runs-on: shipfox-8vcpu-ubuntu-2404
services:
postgres:
image: twentycrm/twenty-postgres-spilo
+1 -1
View File
@@ -52,7 +52,7 @@ jobs:
ci-emails-status-check:
if: always() && !cancelled()
timeout-minutes: 5
runs-on: depot-ubuntu-24.04-8
runs-on: ubuntu-latest
needs: [changed-files-check, emails-test]
steps:
- name: Fail job if any needs failed
+3 -3
View File
@@ -93,7 +93,7 @@ jobs:
path: packages/twenty-front/coverage/storybook/coverage-shard-${{matrix.shard}}.json
merge-reports-and-check-coverage:
timeout-minutes: 30
runs-on: depot-ubuntu-24.04-8
runs-on: ubuntu-latest
needs: front-sb-test
env:
PATH_TO_COVERAGE: packages/twenty-front/coverage/storybook
@@ -146,7 +146,7 @@ jobs:
needs: changed-files-check
if: needs.changed-files-check.outputs.any_changed == 'true'
timeout-minutes: 30
runs-on: depot-ubuntu-24.04-8
runs-on: ubuntu-latest
env:
TASK_CACHE_KEY: front-task-${{ matrix.task }}
strategy:
@@ -185,7 +185,7 @@ jobs:
ci-front-status-check:
if: always() && !cancelled()
timeout-minutes: 5
runs-on: depot-ubuntu-24.04-8
runs-on: ubuntu-latest
needs:
[
changed-files-check,
+1 -1
View File
@@ -249,7 +249,7 @@ jobs:
ci-server-status-check:
if: always() && !cancelled()
timeout-minutes: 5
runs-on: depot-ubuntu-24.04-8
runs-on: ubuntu-latest
needs: [changed-files-check, server-setup, server-test, server-integration-test]
steps:
- name: Fail job if any needs failed