Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add ability to set a slug for a deployment schedule #2920

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

desertaxle
Copy link
Member

This PR adds the ability to create a unique slug for a deployment schedule. This slug allows the users to create meaningful identifiers for schedules. This is useful with the recent addition of parameter overrides since two schedules could run at the same frequency with different parameters. The slug will also be used as the created by display value for auto-scheduled runs.

Here's what it looks like in action:

deployment.schedule.slug.demo.mov

@desertaxle desertaxle marked this pull request as ready for review February 6, 2025 15:45
@desertaxle desertaxle requested a review from a team as a code owner February 6, 2025 15:45
@desertaxle
Copy link
Member Author

I'm going to add some validation to the slug field to ensure it doesn't have spaces and whatnot.

Copy link
Collaborator

@pleek91 pleek91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@cicdw cicdw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving from UX perspective!

@desertaxle
Copy link
Member Author

@pleek91 I added validation in feb048d. Probably worth another look to make sure I didn't do anything foolish.

@desertaxle desertaxle requested a review from pleek91 February 6, 2025 16:59
@pleek91
Copy link
Collaborator

pleek91 commented Feb 6, 2025

@desertaxle LGTM

@desertaxle desertaxle merged commit 10476ae into main Feb 6, 2025
2 checks passed
@desertaxle desertaxle deleted the schedule-slug-updates branch February 6, 2025 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants