Skip to content

Commit b9032dd

Browse files
authored
1 parent 46a1b3e commit b9032dd

File tree

6 files changed

+26
-9
lines changed

6 files changed

+26
-9
lines changed

_posts/2018-12-01-how-to-run-parallel-dynos-on-heroku-ci-to-complete-tests-faster.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ We can split Ruby tests written in RSpec, Minitest or other tests runners across
4343
}
4444
},
4545
"addons": [
46-
"heroku-postgresql"
46+
"heroku-postgresql:in-dyno",
47+
"heroku-redis:in-dyno"
4748
],
4849
"scripts": {
4950
"test": "bundle exec rake knapsack_pro:rspec"
@@ -90,7 +91,8 @@ Here is a config for your <i>app.json</i>
9091
}
9192
},
9293
"addons": [
93-
"heroku-postgresql"
94+
"heroku-postgresql:in-dyno",
95+
"heroku-redis:in-dyno"
9496
],
9597
"scripts": {
9698
"test": "$(npm bin)/knapsack-pro-cypress"

_posts/2019-05-25-how-to-run-tests-faster-on-heroku-ci-with-parallel-dynos.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ You can split Ruby tests written in RSpec, Minitest, Cucumber or other tests run
4343
}
4444
},
4545
"addons": [
46-
"heroku-postgresql"
46+
"heroku-postgresql:in-dyno",
47+
"heroku-redis:in-dyno"
4748
],
4849
"scripts": {
4950
"test": "bundle exec rake knapsack_pro:queue:rspec"
@@ -90,7 +91,8 @@ Here is a config for your <i>app.json</i>
9091
}
9192
},
9293
"addons": [
93-
"heroku-postgresql"
94+
"heroku-postgresql:in-dyno",
95+
"heroku-redis:in-dyno"
9496
],
9597
"scripts": {
9698
"test": "$(npm bin)/knapsack-pro-cypress"
@@ -121,7 +123,8 @@ Here is a config for your <i>app.json</i>
121123
}
122124
},
123125
"addons": [
124-
"heroku-postgresql"
126+
"heroku-postgresql:in-dyno",
127+
"heroku-redis:in-dyno"
125128
],
126129
"scripts": {
127130
"test": "$(npm bin)/knapsack-pro-jest"

docusaurus/docs/cypress/guide/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,10 @@ Define in `app.json`:
526526
"quantity": 2
527527
}
528528
},
529-
"addons": ["heroku-postgresql"],
529+
"addons": [
530+
"heroku-postgresql:in-dyno",
531+
"heroku-redis:in-dyno"
532+
],
530533
// highlight-start
531534
"scripts": {
532535
"test": "npx knapsack-pro-cypress --config trashAssetsBeforeRuns=false"

docusaurus/docs/jest/guide/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,10 @@ Define in `app.json`:
519519
"quantity": 2
520520
}
521521
},
522-
"addons": ["heroku-postgresql"],
522+
"addons": [
523+
"heroku-postgresql:in-dyno",
524+
"heroku-redis:in-dyno"
525+
],
523526
// highlight-start
524527
"scripts": {
525528
"test": "npx knapsack-pro-jest --runInBand"

docusaurus/docs/knapsack_pro-ruby/guide/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,10 @@ Define in `app.json`:
804804
"quantity": 2
805805
}
806806
},
807-
"addons": ["heroku-postgresql"],
807+
"addons": [
808+
"heroku-postgresql:in-dyno",
809+
"heroku-redis:in-dyno"
810+
],
808811
// highlight-start
809812
"scripts": {
810813
"test": "bundle exec rake knapsack_pro:queue:rspec"

docusaurus/docs/ruby/heroku.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ You can create a script as described in [Run multiple test suites with one scrip
2020
"quantity": 2
2121
}
2222
},
23-
"addons": ["heroku-postgresql"],
23+
"addons": [
24+
"heroku-postgresql:in-dyno",
25+
"heroku-redis:in-dyno"
26+
],
2427
"scripts": {
2528
"test": "bin/knapsack_pro_run_tests"
2629
},

0 commit comments

Comments
 (0)