Expand CI nodes (#19073)
This commit is contained in:
parent
2566654f5a
commit
cb3b12feaa
2 changed files with 13 additions and 10 deletions
18
.github/workflows/ci-cd.yml
vendored
18
.github/workflows/ci-cd.yml
vendored
|
|
@ -11,7 +11,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
RSpec:
|
RSpec:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 20
|
timeout-minutes: 10
|
||||||
env:
|
env:
|
||||||
COVERAGE: true
|
COVERAGE: true
|
||||||
RAILS_ENV: test
|
RAILS_ENV: test
|
||||||
|
|
@ -37,8 +37,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
ci_node_total: [6]
|
ci_node_total: [9]
|
||||||
ci_node_index: [0, 1, 2, 3, 4, 5]
|
ci_node_index: [0, 1, 2, 3, 4, 5, 6, 7, 8]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
@ -61,7 +61,6 @@ jobs:
|
||||||
run: bin/knapsack_pro_rspec
|
run: bin/knapsack_pro_rspec
|
||||||
- uses: codecov/codecov-action@v3
|
- uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
fail_ci_if_error: true
|
|
||||||
flags: ruby
|
flags: ruby
|
||||||
- name: Upload test results to BuildPulse for flaky test detection
|
- 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.
|
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled.
|
||||||
|
|
@ -75,7 +74,7 @@ jobs:
|
||||||
|
|
||||||
Jest:
|
Jest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 20
|
timeout-minutes: 10
|
||||||
env:
|
env:
|
||||||
RAILS_ENV: test
|
RAILS_ENV: test
|
||||||
NODE_ENV: test
|
NODE_ENV: test
|
||||||
|
|
@ -105,13 +104,12 @@ jobs:
|
||||||
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }}
|
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }}
|
||||||
- uses: codecov/codecov-action@v3
|
- uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
fail_ci_if_error: true
|
|
||||||
flags: javascript
|
flags: javascript
|
||||||
- run: yarn build-storybook
|
- run: yarn build-storybook
|
||||||
|
|
||||||
Build-test:
|
Build-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 20
|
timeout-minutes: 10
|
||||||
env:
|
env:
|
||||||
RAILS_ENV: test
|
RAILS_ENV: test
|
||||||
DATABASE_URL: postgres://postgres:postgres@localhost:5432/Forem_prod_test
|
DATABASE_URL: postgres://postgres:postgres@localhost:5432/Forem_prod_test
|
||||||
|
|
@ -158,7 +156,7 @@ jobs:
|
||||||
|
|
||||||
Cypress:
|
Cypress:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 20
|
timeout-minutes: 10
|
||||||
env:
|
env:
|
||||||
RAILS_ENV: test
|
RAILS_ENV: test
|
||||||
DATABASE_URL_TEST: postgres://postgres:postgres@localhost:5432/Forem_test
|
DATABASE_URL_TEST: postgres://postgres:postgres@localhost:5432/Forem_test
|
||||||
|
|
@ -180,8 +178,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
ci_node_total: [6]
|
ci_node_total: [9]
|
||||||
ci_node_index: [0, 1, 2, 3, 4, 5, non-seed]
|
ci_node_index: [0, 1, 2, 3, 4, 5, 6, 7, 8, non-seed]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
codecov:
|
||||||
|
notify:
|
||||||
|
after_n_builds: 10
|
||||||
|
comment:
|
||||||
|
after_n_builds: 10
|
||||||
ignore:
|
ignore:
|
||||||
- "vendor"
|
- "vendor"
|
||||||
- "bin"
|
- "bin"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue