Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active December 5, 2016 16:42
Show Gist options
  • Save AdamBien/cd3e5478bda09f01de2d85e9e2a07dcb to your computer and use it in GitHub Desktop.
Save AdamBien/cd3e5478bda09f01de2d85e9e2a07dcb to your computer and use it in GitHub Desktop.
33rdAirhacksQ&A.md
@sentyaev
Copy link

sentyaev commented Nov 30, 2016

Adam, thanks for answering my question in last video. I have another one.
It's about Docker and deployment.

  1. For now in my CI when I push changes to let's say 'master' branch it build, test, create docker image and upload this new image into container registry and each time I have new version of container. That's works great.
    In my production environment I have reversproxy and behind this I have two instances of application 'prod' and 'staging'.
  2. I go to production server, shutdown 'staging', and run new 'staging'.
  3. I run tests against staging and if it's fine I switch 'prod' and 'staging' in reversproxy config. Also it works fine.

My issue is this #2 and #3 steps I do manually. I have a scripts, so I 'ssh' to server and run this scripts.
Is there a simple/proper way of doing this? Probably some tools you can point to?

@heppa
Copy link

heppa commented Dec 1, 2016

Hi Adam, again many thanks for your valuable input to the community... I would like to know, what you think about Project lombok (https://projectlombok.org/) as I know, you are not a fan of bloat. For me, it turns out to be very useful (especially for the Builder pattern) once you master the idea of several potentially dependant annotation processors. Would you use lombok or prefer having the whole code needed for e.g. Builder written out manually or generated by IDE plugins?

@yacota
Copy link

yacota commented Dec 5, 2016

We are currently evaluating different container technologies ... at the begining Docker seemed to be the most appropiate choice but now(after learning a bit) Rkt seems to be better choice for us.
Could you please briefly describe why you've choosen Docker instead of Rkt(others?).

Thanks

@AdamBien
Copy link
Author

AdamBien commented Dec 5, 2016

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