ess-dmsc / essdaq

Standalone daq based on the ESS software stack
BSD 2-Clause "Simplified" License
1 stars 2 forks source link

Jenkins job #16

Open martukas opened 5 years ago

martukas commented 5 years ago

This might not be easy, since there is a lot of sudo stuff going on and there are a lot of components. I think we should have a bit of discussion before we proceed.

I propose that this job should be manually, not automatically triggered. We will have contribution guidelines that will suggest doing this before merging and that should be adequate enough.

Obviously we can only test this on containers, so good for Ubuntu and Centos, but not for macOS.

This will entail the following

mortenjc commented 5 years ago

We now have the first version of doing this in Docker containers. The sudo problem is solved by simply adding the user to the sudoers file in the container. For git we add the github key to the known hosts file in .ssh/ As far as I know the only interactive issue is when installing wireshark which asks if non root users should be allowed to capture packets. Maybe we can omit wireshark from the install? There is stil no actual validation so we should work on this. What constitutes validation of the install? Here are some suggestions kafka can be started and stopped efu is built successfully and tests succeeds efu can be started and stopped daquiri is built successfully

not sure we can start Daquiri or Grafana in the Docker container