Commit graph

9 commits

Author SHA1 Message Date
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