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

DAOS-11144 ci: Blacklist JIRA ticket status #9721

Closed
wants to merge 1 commit into from

Conversation

phender
Copy link
Contributor

@phender phender commented Jul 15, 2022

In the Report Jira data to PR comment github action switch from using a
whitelist to a blacklist when verifying the Jira ticket status. Also
adding the SRE ticket prefix as a valid option.

Skip-build: true
Skip-test: true

Signed-off-by: Phil Henderson [email protected]

In the Report Jira data to PR comment github action switch from using a
whitelist to a blacklist when verifying the Jira ticket status.  Also
adding the SRE ticket prefix as a valid option.

Skip-build: true
Skip-test: true

Signed-off-by: Phil Henderson <[email protected]>
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

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

LGTM. No errors found by checkpatch.

@github-actions
Copy link

Bug-tracker data:
Ticket title is ' Jira Report / Report Jira data to PR comment fails with new “Awaiting backport“ ticket status'
Status is 'Open'
Errors are Ticket status value not as expected
https://daosio.atlassian.net/browse/DAOS-11144

@phender
Copy link
Contributor Author

phender commented Jul 15, 2022

Build #1 'Report Jira data to PR comment' should fail as https://daosio.atlassian.net/browse/DAOS-11144 status is currently set to 'Open'.

Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

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

LGTM. No errors found by checkpatch.

Copy link
Contributor

@ashleypittman ashleypittman left a comment

Choose a reason for hiding this comment

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

I've got #9671 which is some improvements to this but I was thinking to sit on it a week to include any other issues that cropped up. Possibly we should squash the two and land it?

@@ -24,13 +24,16 @@
# past.
VALID_COMPONENTS = ('build', 'ci', 'doc', 'gha', 'test')

# Expected ticket prefix.
VALID_TICKET_PREFIX = ('DAOS', 'CORCI', 'SRE')
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems reaonslable, I wasn't sure to include CART or SRE but most cart tickets were historic and most SRE issues seemed to be epics, not tickets.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

SRE (not to be confused with SRS) tickets will be/are replacing CORCI tickets. For the time being it didn't seem like a problem to support either.

# which are Open or Reopened should be set to In Progress when being worked on.
STATUS_VALUES_ALLOWED = ('In Review', 'In Progress')
STATUS_VALUES_NOT_ALLOWED = ('Open', 'Reopened', 'To Do', 'Resolved')
Copy link
Contributor

Choose a reason for hiding this comment

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

I saw we've got a new value, there are so many I'm not sure if a whitelist of blacklist is best but I assume you've looked at it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We discussed it in the gatekeeping channel and Jeff and Kelsey agreed to this blacklist. Feel free to merge in these changes into your ticket. That probably makes more sense rather than having two PRs.

Copy link
Contributor

Choose a reason for hiding this comment

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

I saw. I just hadn't personally gone through the process of looking at all the possible values here.

@phender
Copy link
Contributor Author

phender commented Jul 18, 2022

Included as part of #9671

@phender phender closed this Jul 18, 2022
@phender phender deleted the pahender/DAOS-11144 branch July 18, 2022 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants