Skip to content

Add linked pipelines to pipelines table

What does this MR do?

This MR adds linked pipelines (upstream/downstream) to the pipelines table component. This mimics the behavior used on the MR widget, which allows users to quickly navigate to an upstream or downstream pipeline. This change can be found when viewing the pipelines table or the pipelines tab on an MR (if your pipeline triggers another pipeline or has been triggered).

How to test (please test 😸)

Note: You need an active runner on your GDK that can pick up jobs.

Create a project named trigger-downstream or preference. Within that project have a .gitlab-ci.yml config. That project needs a job to trigger another pipeline in a project with a .gitlab-ci.yml config. This can be tested inverse with a project that gets triggered to create the upstream relationship.

The trigger job should look like

trigger_job:
  stage: test
  trigger: root/project_name

Related to: #36118 (closed)

Screenshots or Screencasts (strongly suggested)

LOCAL GDK

Pipelines Table

Screen_Shot_2021-07-21_at_11.06.07_AM

Pipelines Tab MR

Screen_Shot_2021-07-21_at_11.06.45_AM

Commit pipelines table

Screen_Shot_2021-07-21_at_11.07.09_AM

PRODUCTION CSS TEST IN BROWSER

These screenshots are to display no broken layout, does not include linked pipelines

Pipelines Table

Screen_Shot_2021-07-21_at_11.03.37_AM

Pipelines Tab MR

Screen_Shot_2021-07-21_at_11.04.34_AM

Commit pipelines table

Screen_Shot_2021-07-21_at_11.05.02_AM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #36118 (closed)

Edited by Payton Burdette

Merge request reports