Skip to content

(bugfix): operator-sdk bundle validate returns exit code 0 despite test failures#6274

Merged
everettraven merged 1 commit into
operator-framework:masterfrom
everettraven:bugfix/gh6247
Feb 1, 2023
Merged

(bugfix): operator-sdk bundle validate returns exit code 0 despite test failures#6274
everettraven merged 1 commit into
operator-framework:masterfrom
everettraven:bugfix/gh6247

Conversation

@everettraven

Copy link
Copy Markdown
Contributor

Description of the change:
Updates the operator-sdk bundle validate command to properly issue a non-zero exit code if there are validation test failures.

Motivation for the change:

Checklist

If the pull request includes user-facing changes, extra documentation is required:

that would cause a 0 exit code even if there were validation failures

fixes operator-framework#6247

Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
@openshift-ci openshift-ci Bot requested review from anik120 and jberkhahn January 31, 2023 19:52
@everettraven everettraven temporarily deployed to deploy January 31, 2023 19:52 — with GitHub Actions Inactive
@everettraven everettraven temporarily deployed to deploy January 31, 2023 19:52 — with GitHub Actions Inactive
@everettraven everettraven temporarily deployed to deploy January 31, 2023 19:52 — with GitHub Actions Inactive
@everettraven everettraven temporarily deployed to deploy January 31, 2023 19:52 — with GitHub Actions Inactive
@everettraven everettraven temporarily deployed to deploy January 31, 2023 19:52 — with GitHub Actions Inactive
@everettraven everettraven temporarily deployed to deploy January 31, 2023 19:52 — with GitHub Actions Inactive
@everettraven everettraven temporarily deployed to deploy January 31, 2023 19:52 — with GitHub Actions Inactive
@oceanc80

oceanc80 commented Feb 1, 2023

Copy link
Copy Markdown
Collaborator

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Feb 1, 2023
@everettraven everettraven merged commit c59a33a into operator-framework:master Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bundle validate - unexpected return code after test failure

3 participants