Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: App deployment should be done via image, not file copy #15

Open
deors opened this issue Apr 16, 2016 · 2 comments
Open

Enhancement: App deployment should be done via image, not file copy #15

deors opened this issue Apr 16, 2016 · 2 comments

Comments

@deors
Copy link

deors commented Apr 16, 2016

Currently the Pet Clinic reference pipeline relies on existing environments and deployment based on file copy to webapps directory in Tomcat. While this model works, it would be much nicer (and also more extensible to other runtime platforms) if we adopt an image-based process:

  1. The app is compiled and packaged.
  2. A new image is created, based on Tomcat image (or WildFly or Liberty or whatever the runtime is), with our app package deployed.
  3. The image is stored (Nexus, private registry, Docker Hub - TBD)
  4. Deployment consists on spawning a new container based on the just built image.
    This, if done jointly with issue Enhancement: Pet Clinic reference pipeline should create/dispose CI environment #7, would be a more representative and robust pipeline to be exemplar to other projects.
@deors deors changed the title Enhancement: App dpeloyment should be done via image, not file copy Enhancement: App deployment should be done via image, not file copy Apr 16, 2016
@nickdgriffin
Copy link
Contributor

Yes, I agree. The main problem is around #3 in your list really - ideally it'd be stored within the Core, however the version of Nexus we have doesn't take Docker images (although the homepage would lead you to believe it could). We do have a PR for a Docker Registry however I think it should probably end up as a platform extension.

@kramos
Copy link
Contributor

kramos commented Feb 20, 2017

As @RobertNorthard said, this is opened up now ADOP has a Docker registry (Accenture/adop-docker-compose#123)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants