There is a new task in the Makefile that does following:
clones the spark operator repo
checkouts the latest released version of it
use the latest operator as the dependency and build the operator + the container image
prepares and starts openshift
runs very basic tests against that operator that was built by previous steps like if the operator can be deployed, if it reacts on onAdd, onDelete and onModified events, and also if it exposes the metrics
It's good enough as a fist shot. Although, there is a very high chance that the failure in this e2e test will go unnoticed, because in case of the failure, the travis is marked as green.
There is a new task in the Makefile that does following:
onAdd
,onDelete
andonModified
events, and also if it exposes the metricsIt's good enough as a fist shot. Although, there is a very high chance that the failure in this e2e test will go unnoticed, because in case of the failure, the travis is marked as green.
Further extension would be either travis checks (this requires enabling "GitHub Apps" - https://blog.travis-ci.com/2018-05-07-announcing-support-for-github-checks-api-on-travis-ci-com)
or adding a simple comment on existing PR, using curl and GH token