dd010101 / vyos-jenkins

Instructions on how to build your own vyos package mirror for stable branches (1.3 equuleus/1.4 sagitta) with Jenkins (for ISO build)
53 stars 15 forks source link

Using script to populate jenkins #6

Closed GurliGebis closed 1 month ago

GurliGebis commented 1 month ago

Just an idea that popped into my head, when I noticed the jenkins script folder. Would it be possible to use a script to load all the packages into jenkins?

dd010101 commented 1 month ago

Yes, that's my ultimate goal, I started with something small just to get familiar with it. I plan to make script that will seed Jenkins jobs and queue first build, this should expedite the setup process by a lot - I don't plan to script everything, since the small things don't take too long to do by hand, just the jobs since there are many of them and it's tedious.

GurliGebis commented 1 month ago

I hope to try and get time to follow the setup described here some time next week. I plan (if nothing gets in the way), to write scripts that does the steps, instead of doing them manually - if possible, that might be useful (nothing promised yet)

dd010101 commented 1 month ago

It would be great to have script for most of steps but that's not something I planning to do, so if you would make some progress that would be nice.

GurliGebis commented 1 month ago

I will see what I can do, once I get to it 🙂

dd010101 commented 1 month ago

See readme Multibranch Pipelines (by script) and seed-jobs.sh script to see how to populate Jenkins jobs and launch first build automatically. This should help you with the Jenkins part, let me know if you make some progress on the scripting of other steps.