LoginSignup
23
7

More than 5 years have passed since last update.

CircleCI 2.0のタイムアウト設定を変更する

Last updated at Posted at 2018-03-01

CircleCI 2.0でRspecを動かしていたところ、タイムアウトしました。

CircleCIのログ
$ bundle exec rspec spec/

# Too long with no output (exceeded 10m0s)

デフォルトのタイムアウト設定10分を変更するには、configのrunno_output_timeout: 15mのように設定すれば良いようです。(15分の場合)

config.yml
- run:
    name: Rspec
    command: bundle exec rspec spec/
    no_output_timeout: 15m

時間は 15m 以外にも 10s(10秒)、 1.5h(1時間半)のように設定できます。

そもそも10分かかるRspecをどうにかしろというのは今後の課題ということで :bow:


Ref.
Configuration Reference - https://circleci.com/docs/2.0/configuration-reference/#run

23
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
23
7