Goutham Pacha Ravi a833b762d7 Modify job to build images
We currently only build the generic driver
image with the job "manila-image-elements-buildimage-generic".
Since we'd like to use a cephfs based client image,
we can reuse the job to produce two images instead
of one. The new job "manila-image-elements-buildimages"
produces two images: "manila-service-image-cephfs-{tag}.qcow2"
and "manila-service-image-{tag}.qcow2"; where the
tag corresponds to the version of this project.

The job also creates a soft link of the tagged images
with a "-master" suffix instead of the tag - this
is useful for CI jobs that don't need to worry
about changing/using the latest tag.

Change-Id: I60c6b38b5d5de7649c0d760519a79288fafca1e3
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-05-21 15:44:12 -07:00
2020-04-11 15:39:10 +02:00
2018-12-31 02:14:52 +00:00
2020-05-21 15:44:12 -07:00
2020-05-21 15:44:12 -07:00
2016-01-28 17:47:53 +02:00
2019-04-19 19:32:17 +00:00
2020-05-21 15:44:12 -07:00
2019-06-25 14:36:09 +08:00
2015-06-02 10:42:23 +03:00
2020-04-11 15:39:10 +02:00
2020-04-11 15:39:10 +02:00
2020-04-11 15:39:10 +02:00
2020-04-11 15:39:10 +02:00
2020-04-11 15:39:10 +02:00

Team and repository tags

image

Manila Image Elements Project

This repo is a place for Manila-related diskimage-builder elements.

Build instructions

Before building the image, make sure all system dependencies listed in bindep.txt file, are installed.

Default generic using tox

Script for creating Ubuntu based image with our elements and default parameters.

You should only need to run this command:

tox -e buildimage

On completion, an Ubuntu minimal image with NFS+CIFS will be available for use.

Non-default image using tox

A finer-grained image creation control can be obtained by specifying extra parameters. Precisely, the syntax is as follows:

tox -e buildimage -- -s nfs

Where <share-protocol> can be nfs, cifs, zfs or nfs-ganesha.

For example, running:

tox -e buildimage -- -s cifs

Will generate an Ubuntu based image with CIFS.

Description
Automated way to build a bootable linux image for use by the Manila generic driver.
Readme 1.4 MiB
Languages
Shell 89.1%
Dockerfile 8.6%
Python 2.3%