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