/ci-java-push-ecr

Continuous integration of a java application that deploys a docker image to ECR

Primary LanguageJava

Sample Java-Tomcat helloworld app

AyeAye

Sample Java/Tomcat app running in Docker container on Elastic Beanstalk

Run Status Coverage Badge

A simple Java Hello World application with unit tests and coverage reports.

This repo demonstrates the following features:

  • Set up serverless CI, i.e. on Shippable-provided infrastructure
  • Perform CI tests
  • Perform Maven build to generate .war package
  • Perform docker build to create Tomcat server with .war package
  • Push docker image to Amazon ECR

Run CI for this repo on Shippable

  • Fork this repo into your source code account (e.g. GitHub)
  • Create an account (or login) on Shippable with your SCM account
  • Create an integration on Shippable for authenticating CI to AWS
  • Update the CI configuration in shippable.yml file with your integration names (see comments in file)

CI console screenshot

CI Console Log