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
Optimize acceptance testing jobs on OpenShift CI #976
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov Report
@@ Coverage Diff @@
## master #976 +/- ##
=======================================
Coverage 54.72% 54.72%
=======================================
Files 23 23
Lines 1239 1239
=======================================
Hits 678 678
Misses 473 473
Partials 88 88 Continue to review full report at Codecov.
|
d7e1f11
to
5d85509
Compare
Signed-off-by: Pavel Macík <pavel.macik@gmail.com>
5d85509
to
1ae7ad6
Compare
/retest |
3 similar comments
/retest |
/retest |
/retest |
Motivation
Currenly, the acceptance testing jobs running with OpenShift CI build a custom test image in which they are executed. The acceptance tests are running in the local mode which means that couple of tools such as Go, operator-sdk and others are needed to build the operator binary locally.
Since #973 has been merged it is now possible and required to run acceptance tests on OpenShift with SBO installed in the cluster the test image only needs to be able to run the acceptance tests in the remote mode which requires only small number of tools like Python and make.
Additionally, having a
root
image Dockerfile in a repository is making it hard to change since the way how OpenShift CI jobs work.ISSUE: https://issues.redhat.com/browse/APPSVC-884
Changes
This PR:
root
image definition directly into the CI's job configuration (via [rhd-sbo] Install SBO from a catalog source instead of running local instance of SBO for acceptance tests openshift/release#14755)Testing
For further more details refer the CONTRIBUTING.md