Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle case where deployment ref no longer exists22655-deployments-don-t-always-have-keep-around-refs | Sean McGivern | 2016-10-13 | 1 | -1/+8 |
| | | | | | | | Keep-around refs for deployments were only introduced in 8.10, so any deployment created in 8.9 could have a SHA pointing to a commit that no longer exists in the repository. We can't do anything useful with those deployments, so make `#includes_commit?` always return false for those. | ||||
* | deployment refs in own folder, new method for creating refszj-save-environment-deployment-refs | Z.J. van de Weg | 2016-10-04 | 1 | -2/+2 |
| | |||||
* | Update method name | Zeger-Jan van de Weg | 2016-10-04 | 1 | -1/+1 |
| | |||||
* | Save a fetchable ref per deployement | Z.J. van de Weg | 2016-10-04 | 1 | -2/+8 |
| | |||||
* | Implement a second round of review comments from @DouweM. | Timothy Andrew | 2016-09-21 | 1 | -15/+22 |
| | | | | | | | | | | | | | | - Don't use `TableReferences` - using `.arel_table` is shorter! - Move some database-related code to `Gitlab::Database` - Remove the `MergeRequest#issues_closed` and `Issue#closed_by_merge_requests` associations. They were either shadowing or were too similar to existing methods. They are not being used anywhere, so it's better to remove them to reduce confusion. - Use Rails 3-style validations - Index for `MergeRequest::Metrics#first_deployed_to_production_at` - Only include `CycleAnalyticsHelpers::TestGeneration` for specs that need it. - Other minor refactorings. | ||||
* | Fix rubocop spec. | Timothy Andrew | 2016-09-20 | 1 | -1/+0 |
| | | | | And `scss_lint` | ||||
* | Implement (some) comments from @DouweM's review. | Timothy Andrew | 2016-09-20 | 1 | -13/+10 |
| | | | | | | - Move things common to `Issue` and `MergeRequest` into `Issuable` - Move more database-specific functions into `Gitlab::Database` - Indentation changes and other minor refactorings. | ||||
* | Implement review comments from @yorickpeterse | Timothy Andrew | 2016-09-20 | 1 | -0/+31 |
| | | | | | | | | | | | | | | 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 | ||||
* | Method names changed to #includes_commit?zj-deployment-status-on-mr | Z.J. van de Weg | 2016-08-12 | 1 | -2/+1 |
| | |||||
* | Incorporate feedback | Z.J. van de Weg | 2016-08-11 | 1 | -2/+2 |
| | |||||
* | Show deployment status on a MR view | Z.J. van de Weg | 2016-08-11 | 1 | -0/+7 |
| | |||||
* | Improve manual actions code and add model, service and feature tests | Kamil Trzcinski | 2016-07-18 | 1 | -1/+1 |
| | | | | | | | | Manual actions are accessible from: - Pipelines - Builds - Environments - Deployments | ||||
* | Rename playable_actions to manual_actions | Kamil Trzcinski | 2016-07-18 | 1 | -2/+2 |
| | |||||
* | Add implementation of manual actions | Kamil Trzcinski | 2016-07-18 | 1 | -0/+4 |
| | |||||
* | Support new diff notes on MRs with diff_refs | Douwe Maan | 2016-07-06 | 1 | -0/+6 |
| | |||||
* | Use validate and required for environment and project | Kamil Trzcinski | 2016-06-15 | 1 | -2/+2 |
| | |||||
* | Validate project and environment instead of only requiring | Kamil Trzcinski | 2016-06-15 | 1 | -2/+2 |
| | |||||
* | Improve validations | Kamil Trzcinski | 2016-06-15 | 1 | -4/+2 |
| | |||||
* | Improve design after review | Kamil Trzcinski | 2016-06-14 | 1 | -5/+5 |
| | |||||
* | Test environment controller specs | Kamil Trzcinski | 2016-06-14 | 1 | -0/+4 |
| | |||||
* | Add specs for models and services | Kamil Trzcinski | 2016-06-14 | 1 | -0/+2 |
| | |||||
* | Added initial version of deployments | Kamil Trzcinski | 2016-06-10 | 1 | -0/+25 |