Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unecessary validate: true from belongs_to :projectremove-unnecessary-validate-project | Dylan Griffith | 2018-02-20 | 1 | -2/+2 |
| | | | | This does not seem to serve any clear purpose and causes other issues (see https://gitlab.com/gitlab-org/gitlab-ce/issues/43196#note_59275652) | ||||
* | Look for rugged with static analysislint-rugged | Jacob Vosmaer | 2018-01-25 | 1 | -8/+1 |
| | |||||
* | replace `is_ancestor?` with `ancestor?` | Maxim Rydkin | 2017-08-29 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'upstream/master' into ↵28717-additional-metrics-review-branch | Pawel Chojnacki | 2017-06-22 | 1 | -11/+11 |
|\ | | | | | | | 28717-additional-metrics-review-branch | ||||
| * | Enable Style/DotPosition Rubocop :cop: | Grzegorz Bizon | 2017-06-21 | 1 | -11/+11 |
| | | |||||
* | | Move Prometheus service to project model | Pawel Chojnacki | 2017-06-16 | 1 | -6/+6 |
| | | |||||
* | | Merge remote-tracking branch 'upstream/master' into ↵ | Pawel Chojnacki | 2017-06-16 | 1 | -1/+1 |
|\ \ | |/ | | | | | 28717-additional-metrics-review-branch | ||||
| * | Added Cop to blacklist polymorphic associations | Yorick Peterse | 2017-06-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | One should really use a separate table instead of using polymorphic associations. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11168 for more information. | ||||
* | | Merge remote-tracking branch 'upstream/master' into ↵ | Pawel Chojnacki | 2017-06-07 | 1 | -0/+5 |
|\ \ | |/ | | | | | | | | | | | | | 28717-additional-metrics-review-branch # Conflicts: # app/models/project_services/prometheus_service.rb # app/views/projects/services/_form.html.haml | ||||
| * | Test etag caching router and incorporate review | Z.J. van de Weg | 2017-05-24 | 1 | -0/+5 |
| | | |||||
* | | Use explicit instance of prometheus service and add access methods to it | Pawel Chojnacki | 2017-06-07 | 1 | -6/+7 |
| | | |||||
* | | Add per deployment additional metrics | Pawel Chojnacki | 2017-05-25 | 1 | -0/+10 |
|/ | |||||
* | Keep presentation logic in one place and remove unecessary arguments. | Pawel Chojnacki | 2017-05-11 | 1 | -2/+1 |
| | | | | + fix tests | ||||
* | Custom queries for prometheus | Pawel Chojnacki | 2017-05-11 | 1 | -6/+2 |
| | | | | | | | | | | | | - Tests for prometheus queries - fix rubocop warnings - Remove unused method. Add more queries to deployment queries. - Wrap BaseQuery in module hierarchy Renname Prometheus class to PrometheusClient | ||||
* | Merge request widget redesign | Fatih Acet | 2017-05-09 | 1 | -0/+15 |
| | |||||
* | Take branch access into account when stopping environment | Grzegorz Bizon | 2017-04-06 | 1 | -2/+2 |
| | |||||
* | Fix stoppable? | Kamil Trzcinski | 2017-02-07 | 1 | -1/+1 |
| | |||||
* | Only create refs for new deploymentszj-use-iid-deployment-refs | Z.J. van de Weg | 2016-10-20 | 1 | -1/+1 |
| | | | | | | This patch makes sure GitLab does not save the refs to the filesystem each time the deployment is updated. This will save some IO although I expect the impact to be minimal. | ||||
* | Use deployment IID when saving refs | Z.J. van de Weg | 2016-10-20 | 1 | -1/+1 |
| | |||||
* | Improve after code review | Kamil Trzcinski | 2016-10-17 | 1 | -1/+2 |
| | |||||
* | Add on_stop column [ci skip] | Kamil Trzcinski | 2016-10-17 | 1 | -2/+0 |
| | |||||
* | Refactor code to use available and stopped statuses and refactor views to ↵ | Kamil Trzcinski | 2016-10-17 | 1 | -8/+7 |
| | | | | use separate renders | ||||
* | Merge remote-tracking branch 'origin/master' into 22191-delete-dynamic-envs-mr | Kamil Trzcinski | 2016-10-17 | 1 | -1/+12 |
|\ | |||||
| * | Minor style improvement | Z.J. van de Weg | 2016-10-14 | 1 | -0/+4 |
| | | |||||
| * | 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. | ||||
* | | Initial support for closing environments | Kamil Trzcinski | 2016-10-06 | 1 | -0/+13 |
|/ | |||||
* | 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 |