Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
/ cifi3 Public archive

Manage/automate/customize your deployments based on specific CI/CD needs.

Notifications You must be signed in to change notification settings

anandchakru-archives/cifi3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cifi3

Note: Frozen - reference only

Wires up a client app with jenkins and github without exposing jenkins to github webhooks. Manage/automate/customize your deployments based on specific CI/CD needs.

Run

  • Ensure there is a database cifi3, if not, create it using mysql> create database cifi3;

  • mvn spring-boot:run -Dspring.profiles.active=local -Dlogback-debug=true -Dport=8080

  • If InspectIt for APM: -javaagent:C:\Apps\inspectIT\agent\inspectit-agent.jar -Dinspectit.repository=localhost:9070 -Dinspectit.agent.name=Sample

Test

  • In eclipse, right-click on com.anandchakru.app.repo.AppRestRepoTest Run As -> JUnit Test

  • Optional: Run Configurations -> Arguements -> Add -Dspring.profiles.active=test under VM arguements -> Run

  • To generate report: mvn clean surefire-report:report site -DgenerateReports=false

Usage

  • java -jar cifi.jar --cifi.hostname=<hostname> --spring.profiles.active=prod,master
  • java -jar cifi.jar --cifi.hostname=<hostname> --spring.profiles.active=prod,slave --cifi.master.server=192.168.1.18 --cifi.master.port=8080 --cifi.master.protocol=http

Refs:

  1. https://docs.spring.io/spring-data/rest/docs/current/reference/html/

About

Manage/automate/customize your deployments based on specific CI/CD needs.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages