Commit Graph

17 Commits

Author SHA1 Message Date
Matija Čupić 3443f3eb12
Rename AutoDevopsHelper helper methods 2018-02-02 19:54:00 +01:00
Matija Čupić c120b7a1fe
Fix AutoDevOpsHelper helper methods 2018-02-02 01:21:56 +01:00
Matija Čupić a31539847f
Add specs for .auto_devops_warning_message 2018-02-01 23:29:11 +01:00
Fabio Busatto 9eed610f9a Resolve "Link to Clusters in Auto DevOps instead of Kubernetes service" 2018-01-25 09:27:10 +00:00
bikebilly 89d3fcd193 Remove Auto DevOps checkboxes - backend 2017-12-04 17:47:38 +01:00
Grzegorz Bizon feece77132 Merge branch '38668-revert-copied-kubernetesservice-logic' into 'master'
Copy `KubernetesService` logic in `Clusters::Platforms::Kubernetes` to make it interchangeable. And implement a selector.

See merge request gitlab-org/gitlab-ce!15515
2017-11-30 11:01:14 +00:00
Matija Čupić a4a389a0a7 BE for automatic pipeline when enabling Auto DevOps
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38962
2017-11-28 12:42:08 -06:00
Shinya Maeda 53da3d976f Replce kubernetes_service and deployment_service to deployment_platform 2017-11-28 20:47:59 +09:00
Kamil Trzcinski 95eba3aa8a Improve after code-review 2017-09-19 19:43:23 +02:00
bokebilly 3017697701 Add warning message if domain or cluster are not configured 2017-09-19 15:32:31 +02:00
Zeger-Jan van de Weg eeeea489fb
AutoDevOps banner hidden on explicit CI config
Extends the helper method to no show the banner as soon as the project
has a `.gitlab-ci.yml` file on the default branch.

Fixes gitlab-org/gitlab-ce#37652
2017-09-13 11:36:04 +02:00
Zeger-Jan van de Weg b1d5186d0a
Allow all AutoDevOps banners to be disabled
Given the default in the development and production environment is
false, the negation of enabling is used in the flag to signal you'd turn
it off. It reads a bit awkward, but makes us have a migration less.

Fixes gitlab-org/gitlab-ce#37653
2017-09-12 14:22:56 +02:00
Kamil Trzcinski 83c1bb688c Add has_auto_devops_implicitly_disabled 2017-09-07 15:08:51 +02:00
Filipa Lacerda d02f36d63c Fixes rubocop offenses 2017-09-07 12:23:05 +01:00
Kamil Trzcinski fd428a2c1f Fix AutoDevopsHelper settings 2017-09-05 17:04:24 +02:00
Kamil Trzcinski 440e93114e Fix spelling of AutoDevopsHelper 2017-09-05 15:39:19 +02:00
Kamil Trzcinski 2f74400314 Properly decide when to show Auto DevOps banner
- Only if user can manage project,
- When Auto DevOps is not enabled,
- When project configuration is set to implicit
2017-09-05 13:35:31 +02:00