Skip to content

Migrate "pipelines_artifacts" to GlDisclosure

What does this MR do and why?

Migrates /app/assets/javascripts/pipelines/components/pipelines_list/pipelines_artifacts.vuefrom GlDropdown` to GlDisclosureDropdown

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
image Screenshot_2023-07-12_at_11.18.45_AM

videos

Before After
Screen_Recording_2023-07-12_at_11.30.15_AM Screen_Recording_2023-07-12_at_11.21.57_AM

How to set up and validate locally

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

  1. find or set up a project with a .gitlab-ci.yml configuration that generates artifacts

  2. OR add this snippet of .gitlab-ci.yml to a project to generate an artifact:

make_artifact:
  script: ["echo 'test' > file.txt"]
  artifacts:
    expose_as: 'artifact 1'
    paths: ['file.txt']
  1. create a branch and open an MR for it in the project
  2. run a pipeline for the branch/MR to generate the artifact file
  3. navigate to the MR (overview tab)
  4. the artifact dropdown should show up in the pipeline widget

MR acceptance checklist

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

Related to #413460 (closed)

Edited by Frédéric Caplette

Merge request reports

Loading