The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Migrate CI runners from Depot back to GitHub-hosted runners (#18347)
Charles Bochetd48c58640c64
diff --git a/.github/workflows/cd-deploy-main.yaml b/.github/workflows/cd-deploy-main.yamlindex 2a21d1fd7b1..7fe62465b14 100644--- a/.github/workflows/cd-deploy-main.yaml+++ b/.github/workflows/cd-deploy-main.yaml@@ -11,7 +11,7 @@ on:jobs:deploy-main:timeout-minutes: 3- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststeps:- name: Repository Dispatchuses: peter-evans/repository-dispatch@v2diff --git a/.github/workflows/cd-deploy-tag.yaml b/.github/workflows/cd-deploy-tag.yamlindex 3af8ff7afd4..3c1608b38c5 100644--- a/.github/workflows/cd-deploy-tag.yaml+++ b/.github/workflows/cd-deploy-tag.yaml@@ -11,7 +11,7 @@ on:jobs:deploy-tag:timeout-minutes: 3- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststeps:- name: Repository Dispatchuses: peter-evans/repository-dispatch@v2diff --git a/.github/workflows/changed-files.yaml b/.github/workflows/changed-files.yamlindex 2f2e742fa50..3178ccc025a 100644--- a/.github/workflows/changed-files.yaml+++ b/.github/workflows/changed-files.yaml@@ -16,7 +16,7 @@ permissions:jobs:changed-files:timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestoutputs:any_changed: ${{ steps.changed-files.outputs.any_changed }}steps:diff --git a/.github/workflows/ci-breaking-changes.yaml b/.github/workflows/ci-breaking-changes.yamlindex c5435f90adb..222b30de6be 100644--- a/.github/workflows/ci-breaking-changes.yaml+++ b/.github/workflows/ci-breaking-changes.yaml@@ -32,7 +32,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 45- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestservices:postgres:image: twentycrm/twenty-postgres-spilodiff --git a/.github/workflows/ci-create-app.yaml b/.github/workflows/ci-create-app.yamlindex 753bf7e2be1..aa04fba6fdb 100644--- a/.github/workflows/ci-create-app.yaml+++ b/.github/workflows/ci-create-app.yaml@@ -25,7 +25,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststrategy:matrix:task: [lint, typecheck, test]@@ -50,7 +50,7 @@ jobs:ci-create-app-status-check:if: always() && !cancelled()timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestneeds: [changed-files-check, create-app-test]steps:- name: Fail job if any needs faileddiff --git a/.github/workflows/ci-docs.yaml b/.github/workflows/ci-docs.yamlindex 4945f6aa9eb..f3c5351afd4 100644--- a/.github/workflows/ci-docs.yaml+++ b/.github/workflows/ci-docs.yaml@@ -27,7 +27,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 10- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststeps:- name: Cancel Previous Runsuses: styfle/[email protected]diff --git a/.github/workflows/ci-emails.yaml b/.github/workflows/ci-emails.yamlindex faf41fcf3f9..8412a09efab 100644--- a/.github/workflows/ci-emails.yaml+++ b/.github/workflows/ci-emails.yaml@@ -25,7 +25,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 10- runs-on: depot-ubuntu-24.04-8+ runs-on: ubuntu-latest-8-coressteps:- name: Fetch custom Github Actions and base branch historyuses: actions/checkout@v4@@ -56,7 +56,7 @@ jobs:ci-emails-status-check:if: always() && !cancelled()timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestneeds: [changed-files-check, emails-test]steps:- name: Fail job if any needs faileddiff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yamlindex 27768b0b8b2..46773c96961 100644--- a/.github/workflows/ci-front.yaml+++ b/.github/workflows/ci-front.yaml@@ -14,8 +14,8 @@ concurrency:env:# restore-cache action adds 'v4-' prefix and '-<branch>-<sha>' suffix to the key- STORYBOOK_BUILD_CACHE_KEY_FOR_RESTORE_ACTION: storybook-build-depot-ubuntu-24.04-8-runner- STORYBOOK_BUILD_CACHE_KEY_FOR_SAVE_ACTION: v4-storybook-build-depot-ubuntu-24.04-8-runner-${{ github.ref_name }}-${{ github.sha }}+ STORYBOOK_BUILD_CACHE_KEY_FOR_RESTORE_ACTION: storybook-build-ubuntu-latest-8-cores-runner+ STORYBOOK_BUILD_CACHE_KEY_FOR_SAVE_ACTION: v4-storybook-build-ubuntu-latest-8-cores-runner-${{ github.ref_name }}-${{ github.sha }}jobs:changed-files-check:@@ -42,7 +42,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: depot-ubuntu-24.04-8+ runs-on: ubuntu-latest-8-coresenv:REACT_APP_SERVER_BASE_URL: http://localhost:3000steps:@@ -68,7 +68,7 @@ jobs:key: ${{ env.STORYBOOK_BUILD_CACHE_KEY_FOR_SAVE_ACTION }}front-sb-test:timeout-minutes: 30- runs-on: depot-ubuntu-24.04-8+ runs-on: ubuntu-latest-8-coresneeds: front-sb-buildstrategy:fail-fast: false@@ -115,7 +115,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+ # runs-on: ubuntu-latest# needs: front-sb-test# env:# PATH_TO_COVERAGE: packages/twenty-front/coverage/storybook@@ -143,7 +143,7 @@ jobs:timeout-minutes: 30if: falseneeds: front-sb-build- runs-on: depot-ubuntu-24.04-8+ runs-on: ubuntu-latest-8-coresenv:REACT_APP_SERVER_BASE_URL: http://127.0.0.1:3000CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}@@ -169,7 +169,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestenv:NODE_OPTIONS: '--max-old-space-size=4096'TASK_CACHE_KEY: front-task-${{ matrix.task }}@@ -211,7 +211,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: depot-ubuntu-24.04-8+ runs-on: ubuntu-latest-8-coresenv:NODE_OPTIONS: "--max-old-space-size=10240"steps:@@ -236,7 +236,7 @@ jobs:# path: packages/twenty-front/build# retention-days: 1e2e-test:- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestneeds: [changed-files-check-e2e, front-build]if: |always() &&@@ -349,7 +349,7 @@ jobs:ci-front-status-check:if: always() && !cancelled()timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestneeds:[changed-files-check,@@ -366,7 +366,7 @@ jobs:ci-e2e-status-check:if: always() && !cancelled()timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestneeds: [changed-files-check-e2e, e2e-test]steps:- name: Fail job if any needs faileddiff --git a/.github/workflows/ci-release-create.yaml b/.github/workflows/ci-release-create.yamlindex 18f928cfe4b..2e1ff43dc0f 100644--- a/.github/workflows/ci-release-create.yaml+++ b/.github/workflows/ci-release-create.yaml@@ -25,7 +25,7 @@ defaults:jobs:create_pr:timeout-minutes: 10- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststeps:- name: Checkoutuses: actions/checkout@v4diff --git a/.github/workflows/ci-release-merge.yaml b/.github/workflows/ci-release-merge.yamlindex 6429f56edf1..a398fc96a9d 100644--- a/.github/workflows/ci-release-merge.yaml+++ b/.github/workflows/ci-release-merge.yaml@@ -15,7 +15,7 @@ defaults:jobs:tag_and_release:timeout-minutes: 10- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestif: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release')steps:- name: Check PR Authordiff --git a/.github/workflows/ci-sdk.yaml b/.github/workflows/ci-sdk.yamlindex 7a6a1cfbd77..99896c92a6a 100644--- a/.github/workflows/ci-sdk.yaml+++ b/.github/workflows/ci-sdk.yaml@@ -23,7 +23,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststrategy:matrix:task: [lint, typecheck, test:unit, storybook:build, storybook:test, test:integration]@@ -50,7 +50,7 @@ jobs:tasks: ${{ matrix.task }}sdk-e2e-test:timeout-minutes: 30- runs-on: depot-ubuntu-24.04-8+ runs-on: ubuntu-latest-8-coresneeds: [changed-files-check, sdk-test]if: needs.changed-files-check.outputs.any_changed == 'true'services:@@ -94,7 +94,7 @@ jobs:ci-sdk-status-check:if: always() && !cancelled()timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestneeds: [changed-files-check, sdk-test, sdk-e2e-test]steps:- name: Fail job if any needs faileddiff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yamlindex 7d65b2f3028..6e90aab1f89 100644--- a/.github/workflows/ci-server.yaml+++ b/.github/workflows/ci-server.yaml@@ -31,7 +31,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: depot-ubuntu-24.04-8+ runs-on: ubuntu-latest-8-coresservices:postgres:image: twentycrm/twenty-postgres-spilo@@ -143,7 +143,7 @@ jobs:key: ${{ steps.restore-server-setup-cache.outputs.cache-primary-key }}server-test:timeout-minutes: 30- runs-on: depot-ubuntu-24.04-8+ runs-on: ubuntu-latest-8-coresneeds: server-setupsteps:- name: Fetch custom Github Actions and base branch history@@ -164,7 +164,7 @@ jobs:server-integration-test:timeout-minutes: 30- runs-on: depot-ubuntu-24.04-8+ runs-on: ubuntu-latest-8-coresneeds: server-setupstrategy:fail-fast: false@@ -250,7 +250,7 @@ jobs:ci-server-status-check:if: always() && !cancelled()timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestneeds: [changed-files-check, server-setup, server-test, server-integration-test]steps:- name: Fail job if any needs faileddiff --git a/.github/workflows/ci-shared.yaml b/.github/workflows/ci-shared.yamlindex e147fbf6e56..af95a305e6c 100644--- a/.github/workflows/ci-shared.yaml+++ b/.github/workflows/ci-shared.yaml@@ -22,7 +22,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestenv:NODE_OPTIONS: '--max-old-space-size=4096'strategy:@@ -47,7 +47,7 @@ jobs:ci-shared-status-check:if: always() && !cancelled()timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestneeds: [changed-files-check, shared-test]steps:- name: Fail job if any needs faileddiff --git a/.github/workflows/ci-test-docker-compose.yaml b/.github/workflows/ci-test-docker-compose.yamlindex 9aef159e6b5..419d440beea 100644--- a/.github/workflows/ci-test-docker-compose.yaml+++ b/.github/workflows/ci-test-docker-compose.yaml@@ -23,7 +23,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststeps:- name: Checkoutuses: actions/checkout@v4@@ -92,7 +92,7 @@ jobs:ci-test-docker-compose-status-check:if: always() && !cancelled()timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestneeds: [changed-files-check, test]steps:- name: Fail job if any needs faileddiff --git a/.github/workflows/ci-utils.yaml b/.github/workflows/ci-utils.yamlindex 0803e3a2836..70b7312d42b 100644--- a/.github/workflows/ci-utils.yaml+++ b/.github/workflows/ci-utils.yaml@@ -22,7 +22,7 @@ concurrency:jobs:danger-js:timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestif: github.event.action != 'closed'steps:- uses: actions/checkout@v4@@ -35,7 +35,7 @@ jobs:congratulate:timeout-minutes: 3- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestif: github.event.action == 'closed' && github.event.pull_request.merged == truesteps:- uses: actions/checkout@v4diff --git a/.github/workflows/ci-website.yaml b/.github/workflows/ci-website.yamlindex 77213ba7d48..4ca2a20bb18 100644--- a/.github/workflows/ci-website.yaml+++ b/.github/workflows/ci-website.yaml@@ -23,7 +23,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 10- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestservices:postgres:image: twentycrm/twenty-postgres-spilo@@ -65,7 +65,7 @@ jobs:ci-website-status-check:if: always() && !cancelled()timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestneeds: [changed-files-check, website-build]steps:- name: Fail job if any needs faileddiff --git a/.github/workflows/ci-zapier.yaml b/.github/workflows/ci-zapier.yamlindex 2d15062b6de..314c8b57078 100644--- a/.github/workflows/ci-zapier.yaml+++ b/.github/workflows/ci-zapier.yaml@@ -28,7 +28,7 @@ jobs:needs: changed-files-checkif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: depot-ubuntu-24.04-8+ runs-on: ubuntu-latest-8-coresservices:postgres:image: twentycrm/twenty-postgres-spilo@@ -95,7 +95,7 @@ jobs:needs: server-setupif: needs.changed-files-check.outputs.any_changed == 'true'timeout-minutes: 30- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststrategy:matrix:task: [lint, typecheck, validate]@@ -120,7 +120,7 @@ jobs:ci-zapier-status-check:if: always() && !cancelled()timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latestneeds: [changed-files-check, zapier-test]steps:- name: Fail job if any needs faileddiff --git a/.github/workflows/claude.yml b/.github/workflows/claude.ymlindex 86b22571ded..bb121763c8b 100644--- a/.github/workflows/claude.yml+++ b/.github/workflows/claude.yml@@ -23,7 +23,7 @@ jobs:(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude') && github.event.comment.user.type != 'Bot') ||(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude') && github.event.review.user.type != 'Bot') ||(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latesttimeout-minutes: 60permissions:contents: write@@ -96,7 +96,7 @@ jobs:claude-cross-repo:if: github.event_name == 'repository_dispatch'- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-latesttimeout-minutes: 60permissions:contents: writediff --git a/.github/workflows/docs-i18n-pull.yaml b/.github/workflows/docs-i18n-pull.yamlindex 2f49188fe85..a071290ddf9 100644--- a/.github/workflows/docs-i18n-pull.yaml+++ b/.github/workflows/docs-i18n-pull.yaml@@ -34,7 +34,7 @@ concurrency:jobs:pull_docs_translations:name: Pull docs translations- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststeps:- name: Checkoutuses: actions/checkout@v4diff --git a/.github/workflows/docs-i18n-push.yaml b/.github/workflows/docs-i18n-push.yamlindex 1a40e44f2a5..7a645338cbf 100644--- a/.github/workflows/docs-i18n-push.yaml+++ b/.github/workflows/docs-i18n-push.yaml@@ -21,7 +21,7 @@ concurrency:jobs:push_docs:name: Push documentation to Crowdin- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststeps:- name: Checkoutuses: actions/checkout@v4diff --git a/.github/workflows/i18n-pull.yaml b/.github/workflows/i18n-pull.yamlindex c8e687e5076..27e023af005 100644--- a/.github/workflows/i18n-pull.yaml+++ b/.github/workflows/i18n-pull.yaml@@ -32,7 +32,7 @@ concurrency:jobs:pull_translations:name: Pull translations- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststeps:- name: Checkoutuses: actions/checkout@v4diff --git a/.github/workflows/i18n-push.yaml b/.github/workflows/i18n-push.yamlindex d91184c4f7c..7b30d98bbe4 100644--- a/.github/workflows/i18n-push.yaml+++ b/.github/workflows/i18n-push.yaml@@ -17,7 +17,7 @@ concurrency:jobs:extract_translations:name: Extract and upload translations- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststeps:- name: Checkoutuses: actions/checkout@v4diff --git a/.github/workflows/preview-env-dispatch.yaml b/.github/workflows/preview-env-dispatch.yamlindex a190b1a4f9f..8e2a6d406cc 100644--- a/.github/workflows/preview-env-dispatch.yaml+++ b/.github/workflows/preview-env-dispatch.yaml@@ -33,7 +33,7 @@ jobs:))timeout-minutes: 5- runs-on: depot-ubuntu-24.04+ runs-on: ubuntu-lateststeps:- name: Trigger preview environment workflowuses: peter-evans/repository-dispatch@v2