Skip to content

Resolve "Environments View - Deploy button tied to wrong job"

What does this MR do and why?

Manual action buttons on the environment page currently point to manual actions other than the one that created the deployment.

This MR updates those buttons to point to manual actions for this environment instead, which is hopefully less confusing to users.

Screenshots or screen recordings

image

How to set up and validate locally

Example .gitlab-ci.yml file

  1. Setup a pipeline with multiple jobs, each with their own environment
  2. Make one of the jobs when: manual
  3. Notice on the environments page how only the environment with the manual job has an action button, it should be for that manual job

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 #356420

Edited by Allen Cook

Merge request reports

Loading