Commit graph

11 commits

Author SHA1 Message Date
Mayra Cabrera
7e9348f359 Enable/disable Auto DevOps at Group level
- Includes instance methods on Group model to detect when a group has
AutoDevOps explicitly/implicitly enabled/disabled.
- Includes migration to add a new column to namespaces table
- Add UI necessary modifications
- Add service and controller to update auto devops
related instances
- Updates project and groups auto devops badges

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52447
2019-03-12 10:15:33 +00:00
Mayra Cabrera
d9af3752fc Addresses UX and BE comments:
- Changes help text on clusters form to make it more explicit.
- Removes unnecessary warnings on auto devops form
- Simplifies cluster methods logic
2019-02-06 21:51:48 -06:00
Dylan Griffith
d236a6c2b2 Resolve "Enable Auto DevOps by default for self managed instances of GitLab" 2018-09-18 19:20:43 +00:00
Matija Čupić
3443f3eb12
Rename AutoDevopsHelper helper methods 2018-02-02 19:54:00 +01:00
Matija Čupić
a31539847f
Add specs for .auto_devops_warning_message 2018-02-01 23:29:11 +01:00
bikebilly
89d3fcd193 Remove Auto DevOps checkboxes - backend 2017-12-04 17:47:38 +01: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
Zeger-Jan van de Weg
69f7a12f03
Fix extra space in YAML array 2017-09-13 11:39:36 +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
edfb5d7b16 Add specs for AutoDevopsHelper 2017-09-06 21:29:38 +02:00