Skip to content

Conversation

@bartoszmajsak
Copy link
Contributor

Short description of what this resolves:

As operatorhub repository has been split into two locations this affected the ansible-based test harness we use for the release process. This fix corrects the location from where we download it.

This can be further improved when redhat-openshift-ecosystem/operator-test-playbooks#244 is accepted and merged.

Changes proposed in this pull request:

  • updated test script downloading ansible testing harness from new repository
  • new Make target bundle-test which will execute tests in --dry-run mode
  • GitHub Action for testing bundle using newly created target

Fixes #890

@bartoszmajsak bartoszmajsak added internal/test-infra Internal: related to project testing component/operator Component: Operator service labels Sep 16, 2021
@bartoszmajsak
Copy link
Contributor Author

Script has a workaround right now because ansible-based test harness exits with 0 regardless of actual test status. This leads to false positives in GH Action. See redhat-openshift-ecosystem/operator-test-playbooks#247

@bartoszmajsak bartoszmajsak force-pushed the operator_test_script_fix branch 13 times, most recently from 3e79da6 to 23c9943 Compare September 17, 2021 15:28
@bartoszmajsak bartoszmajsak force-pushed the operator_test_script_fix branch from 23c9943 to 6e291da Compare September 17, 2021 16:06
@bartoszmajsak bartoszmajsak force-pushed the operator_test_script_fix branch from 6e291da to b08c74a Compare September 17, 2021 16:08
Co-authored-by: Aslak Knutsen <[email protected]>
@bartoszmajsak bartoszmajsak merged commit b03f873 into master Sep 20, 2021
@bartoszmajsak bartoszmajsak deleted the operator_test_script_fix branch September 20, 2021 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/operator Component: Operator service internal/test-infra Internal: related to project testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update test.sh script for Operator Hub test suite

2 participants