This is a fork of simple-web-app, a simple web application that demonstrates the use of the OpenID Connect client code and configuration.
The repo's goal is to provide an en-to-end build pipeline, from commit to deployment.
##Instructions:
- Clone the git repo
- Code, commit and push.
- A new Travis-CI build will start on each push.
- A new docker image will be pushed to dockerhub on each successful build, under:
flare/simple-web-app:latest
- When ready, create a new release, and set its tag.
- A new Travis-CI build will start on each new tag.
- A new war file will be built and automatically added to the release.
- A new docker image will be created under:
flare/simple-web-app:$TAG_NAMEwhere$TAG_NAMEis the newly created tag. - The new docker image image will be deployed on AWS ECS. Current deployment is at:
http://ec2-35-160-100-199.us-west-2.compute.amazonaws.com/simple-web-app/
##To Do (partial list):
- Deploy each commit (EC2/ECS)
- Setup build notifications.
- Add tests (under
scripts:) - Do not create a docker image on Pull Requqests
- Move some commands from .travis.yml to a build script within the repo.
- Configure docker image to run via the tomcat user. Adjust deploymnet accordingly.