You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+30
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,23 @@ OPTIONS:
79
79
-v, --version Print the version and exit.
80
80
```
81
81
82
+
#### ENV variables
83
+
Options can be set via ENV variables
84
+
```
85
+
Build ID RSPECQ_BUILD
86
+
Worker ID RSPECQ_WORKER
87
+
Redis HOST RSPECQ_REDIS
88
+
Timings RSPECQ_UPDATE_TIMINGS
89
+
File split threshold RSPECQ_FILE_SPLIT_THRESHOLD
90
+
Report RSPECQ_REPORT
91
+
Report Timeout RSPECQ_REPORT_TIMEOUT
92
+
Max requests RSPECQ_MAX_REQUEUES
93
+
Queue wait timeout RSPECQ_QUEUE_WAIT_TIMEOUT
94
+
Redis URL RSPECQ_REDIS_URL
95
+
Redis options (JSON) RSPECQ_REDIS_OPTS
96
+
Fail fast RSPECQ_FAIL_FAST
97
+
98
+
```
82
99
### Sentry integration
83
100
84
101
RSpecQ can optionally emit build events to a
@@ -194,6 +211,19 @@ on every run (if the `--update-timings` option was used). Also, RSpecQ has a
194
211
"slow file threshold" which, currently has to be set manually (but this can be
195
212
improved in the future).
196
213
214
+
### CircleCI integration
215
+
As CircleCI does not allow to spin up shared Redis instance, Redis server should be configured outside CircleCI environment.
216
+
Redis connection credentials could be set as CircleCI project environment variable `RSPECQ_REDIS_URL`
217
+
218
+
Secure redis connection is supported via `rediss://` schema, additional TLS options can be specified via `RSPECQ_REDIS_OPTS` env variable in JSON format.
219
+
For example `{ "ssl_params": { "ca_file": "spec/support/lib/ca_heroku.crt", "verify_hostname": false } }`
0 commit comments