-
Notifications
You must be signed in to change notification settings - Fork 8
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
Easier LibreCores CI Slave Setup #24
Comments
Which packages do we need? |
I guess for a first version, just a script would be sufficient. While I in general don't like the |
I think the "prerequisite" of having a project on Librecores is a bit too restrictive. For dev tests and such it probably would be better to do it in a way:
It is also very convenient for development as you can have LCCI master and LCCI slave on the same machine in separate Docker containers and test really any possible interaction scenario with ease. |
It also might prove beneficial to use Tor instead of https for master-slave connection: Pros:
Cons:
|
@imphil Actually that is what our command line tool is supposed to do. It currently requires the user to provide a yaml file that is supposed to be downloaded from LCCI. The command line tool itself is a python tool that then does the docker stuff in background. It is not a daemon but a wrapper around docker. The yaml file contains the credentials, plus it must be changed to point to the supposed tools installation path. I still need to write a README for it. |
Regarding communication it uses plain https to talk to LCCI, correct @oleg-nenashev (method 4)? |
@Houkime This is kind of a build in feature of jenkins. What it would need is the ability to change the remote URL which is currently not possible, but can be easily added. |
Overall Goal
For LibreCores CI, we want to give users the ability to easily hook their machines into the CI system to run CI on their own project.
Why?
Workflow: Set up a new slave node (rough first idea)
prerequisite: User "activates CI" for his project on librecores: essentially a web page on LibreCores (CI) where CI is enabled for a given project.
Now whenever a build trigger happens, the node builds & tests the code, and uploads the results (most likely no build artifacts for license reasons) to the Jenkins master.
Constraints
Related work:
The text was updated successfully, but these errors were encountered: