Commit Graph

29 Commits

Author SHA1 Message Date
Maxim Rydkin c295d3362b
move `lib/ci/model.rb` into `lib/gitlab/ci/model.rb` 2017-09-12 22:32:01 +03:00
Grzegorz Bizon 37881ebb75 Set a default CI/CD status when it is not known 2017-08-22 14:04:34 +02:00
Grzegorz Bizon 1066d8ba77 Use usual method to retrieve CI/CD stage statuses 2017-08-16 13:30:49 +02:00
Grzegorz Bizon 13a15e7009 Use update_column_in_batches helper in stages migration 2017-07-31 12:23:04 +02:00
Grzegorz Bizon 7d6538f2e2 Rename method responsible for updating stage status 2017-07-26 14:50:48 +02:00
Grzegorz Bizon f4e01b597c Move enum specific code from a concern to CI stage 2017-07-26 14:48:32 +02:00
Grzegorz Bizon 865de49b08 Update related stage status when job status is changed 2017-07-24 11:34:01 +02:00
Grzegorz Bizon bbdc35717c Implement method that updates a stage status 2017-07-20 13:30:48 +02:00
Grzegorz Bizon 470661e1a7 Change a method name which enumerates CI/CD statuses 2017-07-20 13:06:45 +02:00
Grzegorz Bizon 0605cdd759 Implement proper associations with a persisted stage 2017-07-20 13:05:26 +02:00
Grzegorz Bizon 22d8460b5d Add some validations to persisted stage model 2017-07-04 15:50:03 +02:00
Grzegorz Bizon a17c90b2a7 Use enumerated status in persisted stage class 2017-07-04 15:31:15 +02:00
Grzegorz Bizon fe0b2f81c7 Refine implementation of pipeline stage seeds 2017-06-02 12:16:11 +02:00
Grzegorz Bizon 78b2f65cb5 Rename `Ci::Stage` class to `Ci::LegacyStage` 2017-06-01 12:00:37 +02:00
Zeger-Jan van de Weg c17e6a6c68 Real time pipeline show action 2017-05-06 16:45:46 +00:00
Grzegorz Bizon 5ca2005e04 Fix Rubocop offense in CI/CD stage code 2017-03-08 12:35:17 +01:00
Grzegorz Bizon 14ad75a176 Fix `passed with warnings` stage status on MySQL 2017-03-08 10:58:41 +01:00
Grzegorz Bizon 86217866fd Fix warnings argument memoization in CI/CD stage 2017-01-19 18:49:14 +01:00
Grzegorz Bizon cff9c16be7 Pass memoizable warnings attribute to stage object 2017-01-18 11:07:12 +01:00
Grzegorz Bizon 8dbd1e7d00 Add concrete success warning status to stage factory 2017-01-11 13:53:17 +01:00
Kamil Trzcinski 2b0b53cddd
Add tests for stage API endpoint 2016-12-20 11:00:56 +01:00
Grzegorz Bizon 5f590a71fd Improve readability in methods for detailed status 2016-12-13 13:24:25 +01:00
Kamil Trzcinski 980009e6e8 Fix auto loading of constants for Ci Statuses 2016-12-12 12:59:01 +01:00
Kamil Trzcinski 8842f55201 Code review 2016-12-07 19:30:14 +01:00
Kamil Trzcinski 13cee6d7fc Fix test failures 2016-12-06 14:13:21 +01:00
Kamil Trzcinski 10499677e2 Added Stage tests 2016-12-06 14:13:21 +01:00
Kamil Trzcinski d47aef58cd Add Ci::Status::Stage 2016-12-06 14:13:21 +01:00
Kamil Trzcinski 2f972ad47b Preserve stage values and use StaticModel 2016-12-06 14:13:21 +01:00
Kamil Trzcinski d865aedafc Introduce `Ci::Stage`, right now this is artificial object that is build dynamically. 2016-12-06 14:13:21 +01:00