Skip to content

Move cluster agent frontend to Core

Tiger Watson requested to merge move-agent-frontend-to-core into master

What does this MR do and why?

Part of making Cluster Agents available in Core (&6290 (closed)).

These changes will not yet be visible in Core, as there is still a helper method preventing the link to it being rendered:

  # app/helpers/clusters_helper.rb
  def display_cluster_agents?(_clusterable)
    false
  end

  # ee/app/helpers/ee/clusters_helper.rb
  override :display_cluster_agents?
  def display_cluster_agents?(clusterable)
    clusterable.is_a?(Project) && clusterable.feature_available?(:cluster_agents)
  end

We leave this unchanged until everything has been moved, at which point it will serve as a simple way to enable the feature.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

#340355 (closed)

Edited by Tiger Watson

Merge request reports