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

Fail early on e2e setup failure #214

Merged

Conversation

jmprusi
Copy link
Member

@jmprusi jmprusi commented May 16, 2023

Description

This PR makes the install.tpl.sh exit on error (return code of a command != 0) to ensure that we don't try to run the e2e tests if the environment setup failed in some steps (usually kubectl_wait).

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

This PR makes the install.tpl.sh to exit on error (return code of a
    command != 0) to ensure that we don't try to run the e2e tests if
the environment setup failed in some of the steps (usually
    kubectl_wait).

Signed-off-by: Joaquim Moreno Prusi <joaquim@redhat.com>
Copy link
Member

@joelanford joelanford left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 16, 2023
@joelanford
Copy link
Member

The e2e failure seems to be an unrelated flake. Created an issue (#215, which we should resolve ASAP). And force merging this one.

@joelanford joelanford merged commit 8661cc6 into operator-framework:main May 16, 2023
4 of 5 checks passed
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.

None yet

2 participants