Pawel Chojnacki
6e4d533421
Move Prometheus service to project model
2017-06-16 20:48:34 +02:00
Pawel Chojnacki
9f2c992ff1
Merge remote-tracking branch 'upstream/master' into 28717-additional-metrics-review-branch
2017-06-16 18:19:41 +02:00
Kamil Trzcinski
26820d1f5d
Do not show manual actions that cannot be run
2017-06-13 15:45:45 +02:00
Pawel Chojnacki
dbb3c28088
Merge remote-tracking branch 'upstream/master' into 28717-additional-metrics-review-branch
...
# Conflicts:
# app/models/project_services/prometheus_service.rb
# app/views/projects/services/_form.html.haml
2017-06-07 10:27:52 +02:00
Pawel Chojnacki
a7e1205219
Use explicit instance of prometheus service and add access methods to it
2017-06-07 02:38:52 +02:00
Z.J. van de Weg
696b039511
Explicitly test etag cache invalidation
...
When a new deployment is created, this will trigger the invalidation on
the etag cache on the environment. This flow is now explicitly tested.
2017-06-01 16:59:18 +02:00
Z.J. van de Weg
3be9820da6
Test etag caching router and incorporate review
2017-05-24 10:02:32 +02:00
Pawel Chojnacki
693602d957
Keep presentation logic in one place and remove unecessary arguments.
...
+ fix tests
2017-05-11 23:07:12 +02:00
Fatih Acet
0151325dac
Merge request widget redesign
2017-05-09 04:15:34 +00:00
Kamil Trzcinski
bc66944248
Fix stoppable?
2017-02-07 13:30:33 +01:00
Robert Speicher
fcb37542e7
Use :empty_project
where possible in model specs
2017-01-26 17:44:59 -05:00
Kamil Trzcinski
4a369185d7
Work on specs
2016-10-17 17:10:26 +02:00
Sean McGivern
776cea4c00
Handle case where deployment ref no longer exists
...
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.
2016-10-13 16:15:38 +01: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
03ea019465
CI build status not per environment
2016-08-11 21:29:58 +02:00
Z.J. van de Weg
b497b0ce3f
Incorporate feedback
2016-08-11 21:29:57 +02:00
Kamil Trzcinski
e00da96c88
Improve manual actions code and add model, service and feature tests
...
Manual actions are accessible from:
- Pipelines
- Builds
- Environments
- Deployments
2016-07-18 14:46:20 +02:00
Kamil Trzcinski
3ade826065
Add specs for models and services
2016-06-14 13:51:12 +02:00