Commit graph

15 commits

Author SHA1 Message Date
Thong Kuah
a2cfc150ce Add # frozen_string_literal to spec/models
Adds `# frozen_string_literal: true` to spec/models ruby files
2019-04-01 14:37:54 +13:00
blackst0ne
236876f278 Update specs to exclude possible false positive pass 2018-12-18 10:21:30 +11:00
Grzegorz Bizon
519d1054bc Add custom validation message for chronic duration attribute 2018-12-05 13:09:43 +01:00
Tomasz Maczukin
a52e3edd1a
Specify default value for Project#build_timeout 2018-04-04 21:31:56 +02:00
Tomasz Maczukin
c2bc153314
Refactorize ChronicDurationAttribute concern 2018-03-28 14:00:04 +02:00
Tomasz Maczukin
c747d9bc0b
Add validation for chronic_duration_attr_writer 2018-03-28 13:58:35 +02:00
Tomasz Maczukin
d58d3098f1
Rename used_timeout to timeout 2018-03-28 13:58:16 +02:00
Tomasz Maczukin
f5e602ee0f
Rename maximum_job_timeout to maximum_timeout 2018-03-28 13:58:15 +02:00
Tomasz Maczukin
1e138767a6
Fix tests failures 2018-03-28 13:58:15 +02:00
Tomasz Maczukin
2ed1d5418b
Fix static analysis offences 2018-03-28 13:57:40 +02:00
Tomasz Maczukin
1dde609ca6
Move job timeout information to new ci_builds_metadata table 2018-03-28 13:57:40 +02:00
Tomasz Maczukin
7ef24a4771
Properly handle empty value for chronic duration attribute 2018-03-28 13:57:17 +02:00
Tomasz Maczukin
36753b78c0
Replace user_readable with human_readable 2018-03-28 13:56:55 +02:00
Tomasz Maczukin
78a4189ece
Show timeout information on job's page 2018-03-28 13:56:55 +02:00
Tomasz Maczukin
a4ea9a93db
Add ChroniDurationAttribute concern 2018-03-28 13:55:46 +02:00