Public API for the dynamically populated group environments page

Overview

As a Release Manager, I want to be able to see related Production project environments at the group level, so I can view status of my end user applications.

This feature also can be used for the UI/UX part.

Context

Users are interested in Sharing production environments across projects, for example, they have several microservices that are built in different projects are compiled in a pipeline and deployed to a single URL. There is no way to see that all these microservice project are populating a single end-user application.

Intended users

User experience goal

The user should be able to view see related Production project environments at the group in a new section under the Operations menu.

Availability & Testing

Proposal

Technical Spec

  • We add group-level API to fetch environments in the subsequent projects.
    • The path is api/v4/groups/:group_id/environments
    • sub-groups is supported.
    • Filtering parameters:
    • Sorting parameters:
      • sort ... asc or desc. The fetched environments are sorted by updated_at. Default is desc.
  • Documentation
Edited by Shinya Maeda