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

docs: tell user if they use rhsa with no cves sooner #829

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

johnbieren
Copy link
Collaborator

We already tell the user they can't use an RHSA with no cves in the create-advisory task. However, the new set-severity-task runs before the create-advisory task and will also fail if the user specifies RHSA with no cves (it will say it couldn't find a severity for any cve). This commit adds the same error message from create-advisory to set-advisory-severity so it is more clear to the user.

Describe your changes

Relevant Jira

Checklist before requesting a review

  • I have marked as draft or added do not merge label if there's a dependency PR
    • If you want reviews on your draft PR, you can add reviewers or add the release-service-maintainers handle if you are unsure who to tag
  • My commit message includes Signed-off-by: My name <email>
  • I have bumped the task/pipeline version string and updated changelog in the relevant README
  • I read CONTRIBUTING.MD and commit formatting

Copy link

openshift-ci bot commented Feb 27, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@johnbieren johnbieren marked this pull request as ready for review February 27, 2025 15:54
@johnbieren johnbieren requested a review from a team as a code owner February 27, 2025 15:54
@johnbieren
Copy link
Collaborator Author

/retest

We already tell the user they can't use an RHSA with no cves in the
create-advisory task. However, the new set-severity-task runs before the
create-advisory task and will also fail if the user specifies RHSA with
no cves (it will say it couldn't find a severity for any cve). This
commit adds the same error message from create-advisory to
set-advisory-severity so it is more clear to the user.

Signed-off-by: Johnny Bieren <[email protected]>
Copy link

openshift-ci bot commented Feb 27, 2025

New changes are detected. LGTM label has been removed.

@johnbieren
Copy link
Collaborator Author

/retest
failed to provision cluster

@johnbieren johnbieren merged commit 279bc30 into konflux-ci:development Feb 28, 2025
8 checks passed
@johnbieren johnbieren deleted the sevlogging branch February 28, 2025 03:03
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.

2 participants