Skip to content

Add ability to see project deployments at group-level (FE)

Jacques Erasmus requested to merge ee-je-add-group-deployments-page-fe into master

What does this MR do?

This adds the ability to see project-level deployments using a group-level cluster

Issue: https://gitlab.com/gitlab-org/gitlab-ee/issues/13392

CE Port: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31575

Preview

Screenshot_2019-08-23_at_10.09.19

Preview (empty state)

Screenshot_2019-08-19_at_15.25.43

Testing the feature:

Note: This feature is behind a feature flag

  1. Open a terminal in the project root
  2. bundle exec rails console
  3. Feature.enable(:view_group_cluster_deployments)
  4. The feature is now enabled and should show up on the group cluster page once you've added a Group-level cluster.

The table can be populated with mockData in this MR (BE/FE integration will be done in a follow-up MR).

app/assets/javascripts/clusters/clusters_bundle.js

import mockData from '../../../../ee/spec/frontend/clusters/components/mock_data';
// line: 165
environments: mockData,

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

TODO

Edited by 🤖 GitLab Bot 🤖

Merge request reports