gitlab-org--gitlab-foss/spec
Robert Speicher bc806831e8 Merge branch 'fix-ci-charts-error-500' into 'master'
Fix Error 500 in CI charts by gracefully handling commits with no durations

## What does this MR do?

In the CI charts, this MR reports the duration of a commit to 0 if it is `nil`.

## Are there points in the code the reviewer needs to double check?

Should we omit this commit from the chart or set it to some other value?

## Why was this MR needed?

We were getting an Error 500 here: https://gitlab.com/gitlab-org/gitlab-ce/graphs/master/ci

## What are the relevant issue numbers?

#17730 


See merge request !4245
2016-05-23 16:55:59 +00:00
..
config Enable the Rubocop DeprecatedClassMethods cop 2016-05-08 15:33:34 -06:00
controllers Merge branch 'issue_9013' into 'master' 2016-05-20 21:04:55 +00:00
factories Create a todo on failing MR build 2016-05-17 10:17:45 +01:00
features Added due date tests 2016-05-23 08:40:04 +01:00
finders Make upcoming milestone work across projects 2016-05-16 10:25:24 +01:00
fixtures Merge branch 'adambutler/gitlab-ce-feature/support-diff-of-issue-title-rename' 2016-05-20 16:23:04 -05:00
helpers Create DiffFilter and change SystemNoteService#change_title to use Gitlab::Diff::InlineDiff 2016-05-18 11:15:10 -05:00
initializers Add tests for setting trusted_proxies 2016-05-04 15:49:39 -07:00
javascripts Dropdown implementation 2016-05-20 15:58:36 -05:00
lib Fix Error 500 in CI charts by gracefully handling commits with no durations 2016-05-22 23:52:50 -07:00
mailers Syntax-highlight diffs in push emails 2016-05-17 13:23:17 +01:00
models Merge branch 'rm-source-branch' into 'master' 2016-05-20 21:41:02 +00:00
requests Fix some specs which would have broken in 2017 to not break anymore by using a dynamic year value. 2016-05-22 19:50:49 -06:00
routing Merge branch 'health-check-route' 2016-05-12 16:39:03 -05:00
services Fix the CI login to Container Registry (the gitlab-ci-token user) 2016-05-23 00:34:51 +02:00
support Merge branch 'adambutler/gitlab-ce-feature/support-diff-of-issue-title-rename' 2016-05-20 16:23:04 -05:00
tasks/gitlab Added backup of container registry 2016-05-16 17:25:38 -05:00
views
workers Fix creation of Ci::Commit object which can lead to pending, failed in some scenarios 2016-05-19 15:51:41 -05:00
factories_spec.rb
rails_helper.rb
spec_helper.rb Update rspec-rails from 3.3.3 to 3.4.2. 2016-05-01 13:44:50 -06:00
teaspoon_env.rb