I am starting to set up continuous integration for our project and would like to know if anyone has been able to run codesys (running IDE on command line with no UI) instance inside a VM and/or Docker container ?
it would be ideal to be able to build a repeatable build/runtime windows environment in this way but would like to know if anyone has managed to do it successfully or if only option is to install codesys on a physical machine. At least on issue seems to be how to access license container/dongle in a virtual environment. ( I know we can run for short period without license but needed still for svn add on)
Any information, tips or hints gratefully received.
Kind Regards
Varley
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
CODESYS can easily be installed in a VM (windows or linux based)
I do not have any experience with CODESYS in a Docker but it should be doable!?
Anyway, for hints/tips I can point you to https://forge.codesys.com/tol/wiki/Home/.
Forge is continously evolving so please keep an eye out for info on this subject.
gr
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The main decision is linux with wine and less functions [1] or windows with less docker experience [2], f.e. from my knowledge you can't run a different windows version in docker [2]. [3] could also be interesting example. I couldn't try the solution, but I think its a good start.
Hi Jusito. Any advance in the CI/CD with CODESYS running in Dockers? I'm quite interested in learning more about your setup because I need to create a similar approach for a software in the loop verification platform where we would like run test cases against a CODESYS virtual PLC in an automated way for non-regression purposes. Right now my first idea was to define the test cases in Simulink + some models (test harness) exchanging information with the CODESYS runtime running in some virtual machine / docker. The preference of Simulink is because we use this environment as the verification / validation platform with other PLCs that doesn't run CODESYS.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am starting to set up continuous integration for our project and would like to know if anyone has been able to run codesys (running IDE on command line with no UI) instance inside a VM and/or Docker container ?
it would be ideal to be able to build a repeatable build/runtime windows environment in this way but would like to know if anyone has managed to do it successfully or if only option is to install codesys on a physical machine. At least on issue seems to be how to access license container/dongle in a virtual environment. ( I know we can run for short period without license but needed still for svn add on)
Any information, tips or hints gratefully received.
Kind Regards
Varley
Hi,
CODESYS can easily be installed in a VM (windows or linux based)
I do not have any experience with CODESYS in a Docker but it should be doable!?
Anyway, for hints/tips I can point you to https://forge.codesys.com/tol/wiki/Home/.
Forge is continously evolving so please keep an eye out for info on this subject.
gr
The main decision is linux with wine and less functions [1] or windows with less docker experience [2], f.e. from my knowledge you can't run a different windows version in docker [2]. [3] could also be interesting example. I couldn't try the solution, but I think its a good start.
greetings
Jusito
[1] https://forge.codesys.com/tol/codesys-4 ... home/Home/
[2] https://hub.docker.com/_/microsoft-windows
[3] https://hub.docker.com/r/hilschernetpi/ ... esys-basis m
Related
Talk.ru: 1
Talk.ru: 2
Talk.ru: 3
Hi Jusito. Any advance in the CI/CD with CODESYS running in Dockers? I'm quite interested in learning more about your setup because I need to create a similar approach for a software in the loop verification platform where we would like run test cases against a CODESYS virtual PLC in an automated way for non-regression purposes. Right now my first idea was to define the test cases in Simulink + some models (test harness) exchanging information with the CODESYS runtime running in some virtual machine / docker. The preference of Simulink is because we use this environment as the verification / validation platform with other PLCs that doesn't run CODESYS.