Skip to content

Deploy freeze: show human-readable Cron messages

Problem to solve

#24295 (closed) introduces Deployment Freezes on a project level. This issue is a follow up of the MVC, and intends to allow users see human-readable messages in Cron in the GitLab UI.

Intended users

Further details

Proposal

As a user, I want to see Human-readable cron syntax descriptions for deployment freezes on GitLab's UI, so that I can easily understand the information about a freeze.

Viewing a Deploy Freeze

  • On settings > ci/cd > deployment freeze, when a deployment freeze is set and displayed on the table view, the start and end values should be displayed in a human-friendly way to users. For example:
  • Start at 00:05 on Monday
  • On hover, display a tooltip: Cron syntax: 5 0 * * 1

Creating/Editing a Deploy Freeze

  • When the user is adding/editing a deploy freeze, while typing in the cron value in the start or end input fields, a helper message is displayed with the human-readable CRON syntax. For example:
  • User enter a value 5 0 * * 1, the input help text should display At 00:05 on Monday.

UX Prototypes

SEE PROTOTYPES ON THE DESIGN TAB

Permissions and Security

Documentation

Yes, this will require a new documentation on the new deployment freeze page.

Availability & Testing

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

Technical and non-technical users will be able to understand a deployment freeze set in Cron via human-readable messages on GitLab's UI.

What is the type of buyer?

Is this a cross-stage feature?

No

Links / references

Edited by Jake Burden