Publish results of OpenEmbedded builds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro CI |
Fix Released
|
High
|
Fathi Boudra |
Bug Description
I have few OpenEmbedded based builds on Jenkins and few new ones will be added in next months. They use standard way of publishing results and with last ones I got files sent.
But there is no way of accessing those results.
I would need structure like that:
/openembedded/
/openembedded/
/openembedded/
/openembedded/
First two are rootfs builds, third one will be populated with sources used by all OE builds (to comply with licenses requirements) and also may be used as mirror for builds. Last one contains build results which will be used by incremental builds.
Sources will take few GB, sstate cache will be 20+ gigabytes. Why keeping all those gigabytes? Few reasons:
1. Sources also contain git/svn/etc checkouts so we do not have to pull them from upstream. Shorter build time, more friendly to outside world.
2. By providing sources we comply to licenses.
3. Sstate cache will cut incremental builds to just build new items. In best situation most of build would be fetching sstate files and unpacking them instead of building.
Each Jenkins job will have 3 publish steps:
1. /openembedded/
2. /openembedded/
3. /openembedded/
Steps 2/3 would have lot of already uploaded data so rsync would be better then scp.
Related branches
- Georgy Redkozubov: Approve
-
Diff: 82 lines (+40/-0)2 files modifiedscripts/publish_to_snapshots.py (+10/-0)
tests/test_publish_to_snapshots.py (+30/-0)
Changed in linaro-ci: | |
assignee: | nobody → Fathi Boudra (fboudra) |
milestone: | none → 2012.08 |
importance: | Undecided → High |
status: | New → In Progress |
OE LAMP job is fixed. I reused Ubuntu job types (ubuntu-images) and renamed the job to fill publish_ to_snapshots script requirements.
As a side effect, path is more consistent with Ubuntu published images: snapshots. linaro. org/openembedde d/images/ lamp/13/
http://
It's following the naming scheme: images/ ${JOBNAME} /${BUILDNUMBER} /
/openembedded/