Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.32 KB

README.md

File metadata and controls

22 lines (14 loc) · 1.32 KB

springboot-sample-app

Build Status License

Synopsis

This repository provides a sample Spring Boot application with the necessary OCP templates and Jenkinsfile for building and promoting it through OpenShift.

Includes:

  • src/ folder includes the minimal Spring Boot app
  • infra/ocp-templates are the templates for creating the OCP objects
    • build-config-template.json is the template for the BuildConfig
    • ups-maven-s2i-routed-template.json is the template for the DeploymentConfig, ImageStream, Route, and Service
  • Jenkinsfile is the pipeline script for building the application in OpenShift and promoting it through different projects
  • ocp-setup.sh creates the required projects for the pipeline, creates a service account for Jenkins to use, and gives that service account the appropriate permissions across the OCP cluster

Copyright

Released under the Apache License 2.0. See the LICENSE file.