Page MenuHomePhabricator

Wrap diskimage-builder for easy image creations
Closed, ResolvedPublic

Description

For Nodepool to dynamically create images using diskimage-builder, it would requires root access. Instead we will build the image and upload them manually.

To assist in the creation of images, we need some wrapper script which is "damn simple to use" ™. Probably in integration/config.git.

Event Timeline

hashar raised the priority of this task from to Needs Triage.
hashar updated the task description. (Show Details)
hashar added subscribers: hashar, zeljkofilipin, dduvall.

Change 234300 had a related patch set uploaded (by Hashar):
Disk image building

https://gerrit.wikimedia.org/r/234300

hashar triaged this task as Medium priority.
hashar moved this task from Backlog to In-progress on the Continuous-Integration-Scaling board.
hashar set Security to None.

Change 234300 merged by jenkins-bot:
Disk image building

https://gerrit.wikimedia.org/r/234300

The dib related material are in integration/config.git under /dib/

The wrapping script is /dib/build_image.sh

tox -edib is the Jenkins entry point for testing it. Currently it just runs dib-lint.