1

I develop java agent that is about to be deployed on all possible Application Servers on different Operation Systems with multiple java versions. I want to validate that my application will work properly on all possible permutations of the above. One way i see, is to create set of virtual machines, each will have one of possible permutations. I don't like this way, because it requires multiple VMs. I am currently checking usage of dockers. Are there any other options?

Thanks, Yuri

YuriR
  • 1,251
  • 3
  • 14
  • 26
  • How is creating multiple dockers so different from creating multiple VMs? What differences are you expecting to see in your Java application on different OSes? – Peter Lawrey Jan 10 '16 at 20:24
  • I can create dockers on my PC, integrate it as part of CI/CD and other developers can use it on their local PCs. Each docker image can have its own combination of OS\AS\Java. This approach still heavy, but at least more convenient than using several VMs. – YuriR Jan 10 '16 at 20:45
  • You can also create VMs on your PC, deploy them to a server and allow others to run them too. Perhaps they are easier to script up/instrument. I assume you need to have these VMs running for continuous integration, so you really need a server for these. – Peter Lawrey Jan 10 '16 at 20:51
  • I want to allow simultaneous running for several developers. In case it is on my\remote server it will allow only single user run. – YuriR Jan 10 '16 at 21:02
  • You have a server which can only run one VM at a time? Could you not have a bigger server, or smaller VMs? – Peter Lawrey Jan 10 '16 at 21:08
  • I could have it, but still, lets assume i have 9 permutations of OS\AS\Java (which is much more) and lets assume i have 3 developers, it makes me to have 27 VMs. Looks too much. I am looking for better approach. – YuriR Jan 10 '16 at 21:30
  • If you have a one continuous integration system and this one system runs all tests on an agent running on all 9 VMs, it shouldn't matter how many developers you have. The 9 VMs doesn't even have to be all on the same machine. – Peter Lawrey Jan 10 '16 at 22:36
  • Let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/100342/discussion-between-yurir-and-peter-lawrey). – YuriR Jan 11 '16 at 07:40

0 Answers0