⚠️This project is no longer maintained. Please use the Kubernetes deployer as there is no longer a reason to maintain an OpenShift specific deployer.
Please refer to the reference documentation on how to get started.
The integration tests require a running OpenShift 3 instance. Specify the connection details to your running OpenShift instance as System properties/environment variables before running the tests. E.g.
$ export KUBERNETES_NAMESPACE=test $ ./mvnw -Dopenshift.url=https://172.28.128.4:8443 \ -Dkubernetes.master=https://172.28.128.4:8443 \ -Dkubernetes.trust.certificates=true \ -Dkubernetes.auth.basic.username=admin \ -Dkubernetes.auth.basic.password=admin \ test
If you have a running OpenShift instance but do not want to execute the integration tests but rather just the unit tests.
-Dopenshift.enabled=false system property when running the tests:
$ ./mvnw test -Dopenshift.enabled=false
Please see the following posts for more information: