Commit graph

29 commits

Author SHA1 Message Date
Grzegorz Bizon
d9d69d7ba7 Add specs for environments recently updated on branch 2016-11-16 11:26:36 +01:00
Grzegorz Bizon
e49229aa04 Refactor methods for environments in project model 2016-11-16 10:54:20 +01:00
Grzegorz Bizon
c7350f0c62 Select recently updated environments for auto-close 2016-11-15 14:48:14 +01:00
Grzegorz Bizon
a88b2d3b01 Add feature tests for environments auto-close 2016-11-15 08:46:41 +01:00
Z.J. van de Weg
c1212beaa4 Use deployment IID when saving refs 2016-10-20 14:17:22 +02:00
Kamil Trzcinski
0aa232704c Add stop! to environment 2016-10-18 12:02:50 +02:00
Kamil Trzcinski
e988072207 Fix environments specs 2016-10-17 21:06:10 +02:00
Kamil Trzcinski
9b790f1cf9 Improve after code review 2016-10-17 16:13:19 +02:00
Kamil Trzcinski
6cdbb27ec3 Refactor code to use available and stopped statuses and refactor views to use separate renders 2016-10-17 12:45:31 +02:00
Kamil Trzcinski
40528a1326 Merge remote-tracking branch 'origin/master' into 22191-delete-dynamic-envs-mr 2016-10-17 11:24:51 +02:00
Z.J. van de Weg
35e2315a66 Minor style improvement 2016-10-14 11:07:50 +02:00
Z.J. van de Weg
fa58068b28 Refactor ci_status on MergeRequestController 2016-10-14 11:07:01 +02:00
Z.J. van de Weg
6a4f710083 Show what time ago a MR was deployed 2016-10-14 11:07:00 +02:00
Kamil Trzcinski
3f85c3ef16 Initial support for closing environments 2016-10-06 13:16:34 +02:00
Z.J. van de Weg
901c994b7a deployment refs in own folder, new method for creating refs 2016-10-04 09:54:31 +02:00
Z.J. van de Weg
7d46bd6128 Save a fetchable ref per deployement 2016-10-04 09:54:31 +02:00
Timothy Andrew
8957293d9b Implement review comments from @yorickpeterse
1. Change multiple updates to a single `update_all`

2. Use cascading deletes

3. Extract an average function for the database median.

4. Move database median to `lib/gitlab/database`

5. Use `delete_all` instead of `destroy_all`

6. Minor refactoring
2016-09-20 16:05:25 +05:30
Kamil Trzcinski
a4638dddf2 Add support for dynamic environments
Environments that can have a URL with predefined CI variables.
2016-09-19 10:05:35 +02:00
Z.J. van de Weg
07fc2f852a Method names changed to #includes_commit? 2016-08-12 10:43:04 +02:00
Z.J. van de Weg
b497b0ce3f Incorporate feedback 2016-08-11 21:29:57 +02:00
Z.J. van de Weg
49f72e705f Show deployment status on a MR view 2016-08-11 21:29:57 +02:00
Z.J. van de Weg
76e9b68439 Incorporate feedback 2016-07-29 13:54:45 +02:00
Z.J. van de Weg
be9aa7f194 Add an URL field to Environments
This MR adds a string (thus max 255 chars) field to the enviroments
table to expose it later in other features.
2016-07-29 13:54:45 +02:00
Kamil Trzcinski
6ace6d940a Use validate and required for environment and project 2016-06-15 15:09:50 +02:00
Kamil Trzcinski
2541e50d7c Improve validations 2016-06-15 12:03:49 +02:00
Kamil Trzcinski
14a02a6a95 Improve design after review 2016-06-14 18:34:48 +02:00
Kamil Trzcinski
3ade826065 Add specs for models and services 2016-06-14 13:51:12 +02:00
Kamil Trzcinski
e8f09f02bf Validate environment name with regex 2016-06-14 13:04:21 +02:00
Kamil Trzcinski
907c0e6796 Added initial version of deployments 2016-06-10 23:36:54 +02:00