Skip to content

Example application for AWS Gitops workshop

Notifications You must be signed in to change notification settings

ahromis/aws-gitops-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS workshops GitOps sample application

This is an example Java application that uses Spring Boot 2, Maven and Docker. It is compiled using Codefresh.

Instructions

To compile (also runs unit tests)

mvn package

Create a multi-stage docker image

To compile and package using Docker multi-stage builds

docker build . -t my-spring-boot-sample

To run the webapp manually

docker run -p 8080:8080 my-spring-boot-sample

....and navigate your browser to http://localhost:8080/

The Dockerfile also has a healthcheck

To run integration tests

docker run -p 8080:8080 my-spring-boot-sample
mvn verify

To use this project in Codefresh

There is also a codefresh.yml for easy usage with the Codefresh CI/CD platform (Opening a PR).

More details can be found at https://aws-workshop.netlify.app/ Enjoy!

About

Example application for AWS Gitops workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published