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

Add TicketId to the Email #754

Merged
merged 4 commits into from
Apr 17, 2024
Merged

Add TicketId to the Email #754

merged 4 commits into from
Apr 17, 2024

Conversation

krishvoor
Copy link
Member

Type of change

Note: Fill x in []

  • bug
  • enhancement
  • documentation
  • dependencies

Description

Add TicketId information to email's sent

For security reasons, all pull requests need to be approved first before running any automated CI

@krishvoor
Copy link
Member Author

@athiruma ptal

@athiruma athiruma self-requested a review April 17, 2024 04:18
Signed-off-by: Krishna Harsha Voora <[email protected]>
@athiruma athiruma added enhancement New feature or request ok-to-test PR ok to test labels Apr 17, 2024
@athiruma athiruma requested a review from ebattat April 17, 2024 06:00
Copy link
Collaborator

@athiruma athiruma left a comment

Choose a reason for hiding this comment

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

Need minor changes

'InstanceType': resource.get('InstanceType')}
if ticket_tags: # Add TicketId tags if available
instance_details['TicketId'] = ticket_tags
long_running_instances_by_user.setdefault(user.lower(), {}).setdefault(region_name, []).append(instance_details)
Copy link
Collaborator

Choose a reason for hiding this comment

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

move one tab to this one as well. All should be under the if not skip and user: block

Copy link
Collaborator

@athiruma athiruma left a comment

Choose a reason for hiding this comment

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

/lgtm

@krishvoor krishvoor requested review from athiruma and ebattat April 17, 2024 07:17
Copy link
Collaborator

@ebattat ebattat left a comment

Choose a reason for hiding this comment

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

/LGTM

@ebattat ebattat merged commit a56b03d into redhat-performance:main Apr 17, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ok-to-test PR ok to test
Projects
Development

Successfully merging this pull request may close these issues.

3 participants