Ticket #1 (new enhancement)

Opened 1 year ago

build reference image

Reported by: akhavr Assigned to: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

Invocation: shell ci-buildimage <profile> <size> <image>

Uses spt to build tgz image and then transforms it into qemu image.

Event flow:

  1. System builds altlinux tgz image using supplied spt <profile>
  2. System creates qemu image <image> of the specified <size>
  3. System unwinds tgz image into qemu image and makes it bootable.

Timing: less than 30m for local repository

Tests:

  1. Spt profile is invalid.
  2. Spt gives errors during tgz build.
  3. <image> file already exists.
  4. <size> is invalid, per qemu-img specification
  5. Success test: minimal bootable alt linux configuratoin on <image>