Skip to content

Link to environment detail page for deployment approvals

Manuel Grabowski requested to merge mg-env-approval-cta-20230719 into master

What does this MR do and why?

Implements #418119 (closed).

The CTA on the "approval required" page was linking to the environments overview page, which could lead to confusion. This MR links the CTA button to the specific environment instead, resulting in a more streamlined process.

Screenshots or screen recordings

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

Before After
before after

How to set up and validate locally

  1. Create new project
  2. Add this CI config:
    production:
      script:
        - 'echo "Deploying to ${CI_ENVIRONMENT_NAME}"'
      environment:
        name: ${CI_JOB_NAME}
  3. Run pipeline
  4. Go to CI/CD settings, set production environment to protected
  5. Run pipeline again
  6. Observe changed text on approval required page

MR acceptance checklist

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

Merge request reports

Loading