Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 957 Bytes

readme.md

File metadata and controls

65 lines (44 loc) · 957 Bytes

Continuous Delivery Workshop

This project is a niave application used to demonstrate how to set up a continuous delivery pipe line.

Requirements

  • Java 8
  • Maven (3.1 or higher)

Build Commands

Execute the full build

mvn clean install

Execute jasmine tests

mvn jasmine:test

Active work on jasmine tests

mvn jasmine:bdd

Execute unit tests

mvn clean test

Execute integration tests

mvn failsafe:integration-test

Execute acceptance tests

checkout the https://github.com/r-cochran/cdd-workshop-acceptance-tests project and follow it's instructions

Launch application

mvn package && java -jar target/cdd-workshop-app-0.1.0.jar

On a spefic port use

java -jar target/cdd-workshop-app-0.1.0.jar --server.port=8090 

To turn on the feature flag edit the application.properties file or add this argument on start up

-DflagOn=true

Health Check

curl localhost:8080/health