Skip to content

kalvarez2/spring-cloud-deployer-openshift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Cloud Deployer for OpenShift Build Status codecov

A Spring Cloud Deployer SPI implementation which extends Spring Cloud Deployer Kubernetes and adds functionality afforded by OpenShift as the deployment environment.

Please refer to the reference documentation on how to get started.

Running the integration tests

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. Pass the -Dopenshift.enabled=false system property when running the tests:

$ ./mvnw test -Dopenshift.enabled=false

Further Reading

Please see the following posts for more information:

About

A Spring Cloud Deployer SPI implementation for OpenShift 3

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 93.6%
  • Shell 4.1%
  • Batchfile 2.3%