On 11/25/2014 11:36 AM, Keith Wesolowski via smartos-discuss wrote:
That's the interesting part of the job, for sure. The uninteresting
part is replacing the horrible bits in Jenkins that we use to build
this thing with something that looks like what we use to build
everything else. See
/wesolows/public/build-smartos - the way Jenkins invokes this pile
/wesolows/public/jenkins-tmpl - the way Jenkins invokes normal MG jobs
Then look at
https://github.com/joyent/mountain-gorilla/blob/master/tools/jenkins-build
and figure out how to get MG to build SmartOS properly. Once you've
done that, it should be simple to see how it all fits. With the change
to MG in place (and any needed for smartos-live etc. as well), and new
template images, we can switch over Jenkins.
The next step is to ditch these template images entirely and create them
on the fly. That will require some kernel work in lofi, or some better
tools for creating fake geometry and fake partition tables on loopback
files.
All necessary changes to smartos-live and mountain-gorilla have now
landed [1].
With some additional QA on Joyent's end, you should be able to switch
over to Jenkins now.
The MG target is "smartos" and if it detects that it is building a
release branch it will automatically create appropriate release
snaplinks as well.
Many thanks to Keith, Robert, and Trent for their help.
-Nahum
[1]
https://github.com/joyent/smartos-live/pull/367
https://github.com/joyent/smartos-live/pull/368
https://github.com/joyent/mountain-gorilla/pull/2
https://github.com/joyent/mountain-gorilla/pull/3
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com