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

Jenkins job #16

Open
martukas opened this issue Mar 7, 2019 · 1 comment
Open

Jenkins job #16

martukas opened this issue Mar 7, 2019 · 1 comment
Assignees

Comments

@martukas
Copy link
Collaborator

martukas commented Mar 7, 2019

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

  • factor out conan installation from main script
  • make sure all other parts can be run non-interactively
  • how do we make sure everything that needs sudo gets it?
  • what criteria constitute success and how do we check? Do we test that system packages installed successfully? Do we run any of the pipelines? Check that kafka works?
@mortenjc
Copy link
Contributor

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

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

No branches or pull requests

5 participants