Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,329
    • Merge requests 1,329
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #211339
Closed
Open
Issue created Mar 16, 2020 by Etienne Baqué@ebaqueMaintainer

Forward deployment - warn users on "Retry"

Problem to solve

As of Gitlab 12.9, when a deployment job fails because a newer deployment was deployed first, the following error message shows up for the failed job. The user is not further warned when clicking the retry button.

Screenshot
Screenshot_from_2020-03-16_11-31-51

Intended users

  • Rachel (Release Manager)
  • Sasha (Software Developer)
  • Devon (DevOps Engineer)

Proposal

  • Add an alert modal when the Retry button is clicked
  • Modal contents:
### Are you sure you want to retry this job?

You're about to retry a job that failed because it attempted to deploy code that is older than the latest deployment. Retrying this job could result in overwriting the environment with the older source code. [More information](#)

Are you sure you want to proceed?

[Cancel](tertiary button) [Retry job](Primary button, danger)
  • After completing the modal by using the Retry job button, the page will refresh, the modal will have disappeared, and the job's status will have changed to running.

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Links / references

Edited Nov 03, 2020 by Dimitrie Hoekstra
Assignee
Assign to
Time tracking