summaryrefslogtreecommitdiff
path: root/app/models/environment.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added Prometheus Service and Prometheus graphsKamil Trzciński2017-03-071-0/+8
|
* Use safe navigation operator to make rubocop happywinniehell2017-02-131-1/+1
|
* Merge branch 'route-map' into 'master' Robert Speicher2017-02-071-5/+22
|\ | | | | | | | | Add 'View on [env]' link to blobs and individual files in diffs See merge request !8867
| * Address feedbackDouwe Maan2017-02-061-1/+7
| |
| * Improve performance of finding last deployed environmentDouwe Maan2017-02-061-13/+7
| |
| * Fix XSS issue by not using URI.joinDouwe Maan2017-02-061-2/+1
| |
| * Add 'View on [env]' link to blobs and individual files in diffsDouwe Maan2017-02-061-0/+18
| |
* | Update changesKamil Trzcinski2017-02-061-4/+4
| |
* | Merge remote-tracking branch 'origin/master' into 24147-delete-env-buttonKamil Trzcinski2017-02-061-5/+13
|\ \ | |/
| * Avoid repeated dashes in $CI_ENVIRONMENT_SLUGNick Thomas2017-01-231-5/+13
| |
* | Merge remote-tracking branch 'origin/master' into 24147-delete-env-buttonKamil Trzcinski2017-01-241-8/+81
|\ \ | |/
| * Treat environments matching `production/*` as Production24139-production-wildcard-for-cycle-analyticsToon Claes2017-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For Cycle Analytics, the environment `production` is treated as a special case, and used to update the `first_deployed_to_production_at` metric. With the Review Apps changes, slash syntax is used to group related environments in the list. This is mostly used for `review/<branch>` environments, but it's possible for people to have multiple production environments, and someone might then want to group them like `production/eu`, `production/us`, or even just make it look prettier with `production/www.example.com`. In any of these cases, the first deploy to one of these `production/*` environments now is treated as a Production deploy.
| * Add terminals to the Kubernetes deployment serviceNick Thomas2016-12-191-0/+8
| |
| * Add $CI_ENVIRONMENT_NAME and $CI_ENVIRONMENT_SLUGNick Thomas2016-12-151-0/+7
| |
| * Add an environment slugNick Thomas2016-12-151-0/+50
| |
| * Use :maximum instead of :within for length validators with a 0..N range25209-improve-length-validatorsRémy Coutable2016-12-061-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Introduce deploy command that allows to start deployment from one ↵chatops-deploy-commandKamil Trzcinski2016-11-211-2/+2
| | | | | | | | environment to second one
| * Add deploy chat command [ci skip]Kamil Trzcinski2016-11-211-1/+9
| |
| * Add specs for environments recently updated on branchGrzegorz Bizon2016-11-161-1/+1
| |
| * Refactor methods for environments in project modelGrzegorz Bizon2016-11-161-1/+1
| |
| * Select recently updated environments for auto-closeGrzegorz Bizon2016-11-151-0/+4
| |
| * Add feature tests for environments auto-closeGrzegorz Bizon2016-11-151-0/+1
| |
* | Allow to stop any environmentKamil Trzcinski2016-11-101-4/+9
|/
* Use deployment IID when saving refsZ.J. van de Weg2016-10-201-2/+2
|
* Add `stop!` to `environment`Kamil Trzcinski2016-10-181-0/+6
|
* Fix environments specsKamil Trzcinski2016-10-171-0/+3
|
* Improve after code reviewKamil Trzcinski2016-10-171-4/+5
|
* Refactor code to use available and stopped statuses and refactor views to ↵Kamil Trzcinski2016-10-171-10/+10
| | | | use separate renders
* Merge remote-tracking branch 'origin/master' into 22191-delete-dynamic-envs-mrKamil Trzcinski2016-10-171-0/+15
|\
| * Minor style improvementZ.J. van de Weg2016-10-141-1/+7
| |
| * Refactor ci_status on MergeRequestControllerZ.J. van de Weg2016-10-141-2/+3
| |
| * Show what time ago a MR was deployedZ.J. van de Weg2016-10-141-0/+8
| |
* | Initial support for closing environmentsKamil Trzcinski2016-10-061-0/+18
|/
* deployment refs in own folder, new method for creating refszj-save-environment-deployment-refsZ.J. van de Weg2016-10-041-1/+1
|
* Save a fetchable ref per deployementZ.J. van de Weg2016-10-041-0/+4
|
* Implement review comments from @yorickpeterseTimothy Andrew2016-09-201-0/+4
| | | | | | | | | | | | | | 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
* Add support for dynamic environmentsKamil Trzcinski2016-09-191-0/+12
| | | | Environments that can have a URL with predefined CI variables.
* Method names changed to #includes_commit?zj-deployment-status-on-mrZ.J. van de Weg2016-08-121-2/+2
|
* Incorporate feedbackZ.J. van de Weg2016-08-111-3/+3
|
* Show deployment status on a MR viewZ.J. van de Weg2016-08-111-0/+6
|
* Incorporate feedbackZ.J. van de Weg2016-07-291-1/+9
|
* Add an URL field to EnvironmentsZ.J. van de Weg2016-07-291-0/+4
| | | | | This MR adds a string (thus max 255 chars) field to the enviroments table to expose it later in other features.
* Use validate and required for environment and projectKamil Trzcinski2016-06-151-1/+1
|
* Improve validationsKamil Trzcinski2016-06-151-3/+1
|
* Improve design after reviewKamil Trzcinski2016-06-141-3/+2
|
* Add specs for models and servicesKamil Trzcinski2016-06-141-0/+4
|
* Validate environment name with regexKamil Trzcinski2016-06-141-1/+5
|
* Added initial version of deploymentsKamil Trzcinski2016-06-101-0/+11