Enable ci.l.o to securely push files to snapshots.linaro.org
Mirror and generalize the approach used by android-build.l.o for pushing to snapshots to an approach to be used by our soon-to-be single jenkins instance behind ci.linaro.org.
Blueprint information
- Status:
- Complete
- Approver:
- Данило Шеган
- Priority:
- High
- Drafter:
- Данило Шеган
- Direction:
- Approved
- Assignee:
- Deepti B. Kalakeri
- Definition:
- Approved
- Series goal:
- Accepted for engineering
- Implementation:
- Implemented
- Milestone target:
- 2012.03
- Started by
- Fathi Boudra
- Completed by
- Deepti B. Kalakeri
Related branches
Related bugs
Sprints
Whiteboard
Meta:
Headline: Provide a way for CI, android-build and ubuntu-build to easily and securely push files to snapshots.
Acceptance: Any build service (android-build, ci, ubuntu-build) with the access to appropriate private SSH keys can push files to snapshots.
Notes:
Danilo: we need to create an SSH key to use to access snapshots.
Danilo on 2012-02-24: filed RT https:/
In line with the above RT, the script that needs writing should be run like eg. "jenkins-post-sftp -t (android|
I'd prefer if this script was written in Python with unit tests to accompany it and ensure its correctness.
[pfalcon 2012-02-24] Danilo: please elaborate if we'd have per-host keys or single one. (2nd try, first was removed, hope as an edit conflict).
Danilo on 2012-02-24: Paul, I hope for both to be true: we'll have them per-host, but we'll also have a single host (jenkins). Not right now, though.
Danilo on 2012-03-15: Does it not make sense to assume generation of MANIFEST is needed for job-type==android?
[pfalcon 2012-03-15] ^^ Why hardcode assumptions if we instead can pass --manifest options when it's needed? Otherwise, whatever.
[deepti 2012-03-26] Would like to monitor how the publishing of the artifacts on snapshots.
[deepti 2012-03-26] Spoke to Paul and Danilo regarding moving android-
Work Items
Work items:
[danilo] Get 'linaro-ci-publish' and 'linaro-
Create a new trigger script in lp:linaro-license-protection to support the new layout and specifying the "type" of the job (i.e. android/
Submit the script for review: DONE
Implement --manifest to generate MANIFEST file (android-build use prereq.): DONE
Generate lastSuccess, etc. "permalinks": DONE
Submit the changes manifest and permalinks for review: DONE
Merge the changes for manifest and permalinks to lp:linaro-license-protection: TODO
[pfalcon] Be in loop on --manifest and permalink generation in script: DONE
Configure kernel hwpacks jobs (and SFTP plugin) on ci.linaro.org to push to snapshots.
Modify the lci-build-tools to refer to the snapshots.
Stop local artifacts archiving on ci.linaro.org for kernel hwpacks jobs: POSTPONED
Move android-