From cb3b12feaa05b2e90ef783e00a2723cbb19b0a4b Mon Sep 17 00:00:00 2001 From: Mac Siri Date: Mon, 6 Feb 2023 15:15:26 -0500 Subject: [PATCH] Expand CI nodes (#19073) --- .github/workflows/ci-cd.yml | 18 ++++++++---------- codecov.yml | 5 +++++ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index e7c9168c5..244f93268 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -11,7 +11,7 @@ on: jobs: RSpec: runs-on: ubuntu-latest - timeout-minutes: 20 + timeout-minutes: 10 env: COVERAGE: true RAILS_ENV: test @@ -37,8 +37,8 @@ jobs: strategy: fail-fast: false matrix: - ci_node_total: [6] - ci_node_index: [0, 1, 2, 3, 4, 5] + ci_node_total: [9] + ci_node_index: [0, 1, 2, 3, 4, 5, 6, 7, 8] steps: - uses: actions/checkout@v3 @@ -61,7 +61,6 @@ jobs: run: bin/knapsack_pro_rspec - uses: codecov/codecov-action@v3 with: - fail_ci_if_error: true flags: ruby - name: Upload test results to BuildPulse for flaky test detection if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. @@ -75,7 +74,7 @@ jobs: Jest: runs-on: ubuntu-latest - timeout-minutes: 20 + timeout-minutes: 10 env: RAILS_ENV: test NODE_ENV: test @@ -105,13 +104,12 @@ jobs: secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} - uses: codecov/codecov-action@v3 with: - fail_ci_if_error: true flags: javascript - run: yarn build-storybook Build-test: runs-on: ubuntu-latest - timeout-minutes: 20 + timeout-minutes: 10 env: RAILS_ENV: test DATABASE_URL: postgres://postgres:postgres@localhost:5432/Forem_prod_test @@ -158,7 +156,7 @@ jobs: Cypress: runs-on: ubuntu-latest - timeout-minutes: 20 + timeout-minutes: 10 env: RAILS_ENV: test DATABASE_URL_TEST: postgres://postgres:postgres@localhost:5432/Forem_test @@ -180,8 +178,8 @@ jobs: strategy: fail-fast: false matrix: - ci_node_total: [6] - ci_node_index: [0, 1, 2, 3, 4, 5, non-seed] + ci_node_total: [9] + ci_node_index: [0, 1, 2, 3, 4, 5, 6, 7, 8, non-seed] steps: - uses: actions/checkout@v3 diff --git a/codecov.yml b/codecov.yml index af8758e64..4a8b5c038 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,8 @@ +codecov: + notify: + after_n_builds: 10 +comment: + after_n_builds: 10 ignore: - "vendor" - "bin"