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

feat: support --submitter-name option for bundle GUI submitter command #416

Merged
merged 3 commits into from
Aug 1, 2024

Conversation

crowecawcaw
Copy link
Contributor

@crowecawcaw crowecawcaw commented Jul 22, 2024

What was the problem/requirement? (What/Why)

One great way of integrating Deadline Cloud into a DCC is adding a button that invokes the GUI bundle submitter. To improve the UX, we can allow the submitter name (currently always "JobBundle" for bundle GUI submissions) to be customized. The submitter name is used for some alerts (e.g. an alert title "JobBundle job submission") and for bundle directory names in the job history folder.

What was the solution? (How)

Add a new --submitter-name option.

What is the impact of this change?

A process that submits a job using the GUI bundle submitter appears more like a "real submitter" in the UI and job history folder.

How was this change tested?

Unit tests. Also manual tests:

  • export a bundle without a custom submitter name. Verified the job bundle directory included "JobBundle" (previous behavior)
  • export a bundle with a custom submitter name. Verified the job bundle directory included the custom name
  • submit a bundle without a custom submitter name
  • submit a bundle with a custom submitter name

Was this change documented?

Documented in the CLI help automatically.

Is this a breaking change?

No

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@crowecawcaw crowecawcaw requested a review from a team as a code owner July 22, 2024 22:01
Signed-off-by: Stephen Crowe <crowest@amazon.com>
leongdl
leongdl previously approved these changes Jul 25, 2024
Signed-off-by: Stephen Crowe <crowest@amazon.com>
Copy link
Contributor

@epmog epmog left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks Stephen

Copy link

sonarqubecloud bot commented Aug 1, 2024

@crowecawcaw crowecawcaw merged commit 569af3b into aws-deadline:mainline Aug 1, 2024
18 checks passed
rena-cheng pushed a commit to rena-cheng/deadline-cloud that referenced this pull request Aug 26, 2024
aws-deadline#416)

* feat: support --submitter-name option for bundle submitter commands

Signed-off-by: Stephen Crowe <crowest@amazon.com>
Signed-off-by: Cloud User <rocky@ip-172-31-31-216.ec2.internal>
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