Skip to content

mabehiro/spring-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Sample Application

This app is created to demonstrate various capabilities of Red Hat OpenShift Container Platform.

Initial code generated using https://start.spring.io/ .

Tekton Demo

Create cicd project

oc new-project spring-apps-cicd

Create and setup dev project

oc new-project spring-apps-dev

oc policy -n spring-apps-dev add-role-to-user edit \
  system:serviceaccount:spring-apps-cicd:pipeline
oc policy -n spring-apps-cicd add-role-to-group system:image-puller \
  system:serviceaccounts:spring-apps-dev

Create and setup staging project

oc new-project spring-apps-staging

oc policy -n spring-apps-staging add-role-to-user edit \
  system:serviceaccount:spring-apps-cicd:pipeline
oc policy -n spring-apps-cicd add-role-to-group system:image-puller \
  system:serviceaccounts:spring-apps-staging

Deploy pipeline manifests

oc project spring-apps-cicd

cd tekton/
oc apply -k .

Start the pipeline

./run-pipeline.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 61.0%
  • Shell 28.0%
  • Dockerfile 11.0%