Automated way to build a bootable linux image for use by the Manila generic driver.
Go to file
Tom Barron ee41dc68a8 Add native Zuul v3 manila image elements jobs
Replace the auto-converted legacy jobs with native jobs
and define all the jobs in-tree.  After we merge this we
can remove the legacy-manila-publish-generic job from the
openstack-zuul-jobs repository.

Note that the old job apparently relied on some JJB magic
to construct tagged-image names.  This no longer works so
instead we use 'git describe --tags' to obtain a current
tag, publish the image with its tagged name, and symlink
manila-service-image-master.qcow2 -- which is the expected
image-name for our CI jobs -- to it.

Unfortunately the new publish job can't be tested
beforehand so we may have to follow this with another
patch if there are issues.

Closes-Bug: #1812478
Change-Id: Ie0c367591c0e1ae4fefb62688ecd76aff5b94464
2019-01-22 13:16:39 +00:00
bin Save service image URL properly 2018-12-18 20:44:19 -05:00
data/docker Removes LXC/LXD support on manila-image-elements 2017-01-10 14:15:24 +00:00
doc/source doc migration: new directory layout 2017-08-21 08:30:25 -04:00
elements Set .ssh permissions correctly 2018-12-31 02:14:52 +00:00
playbooks Add native Zuul v3 manila image elements jobs 2019-01-22 13:16:39 +00:00
tools Clean up image build script. 2018-12-18 20:46:26 -05:00
.gitignore Add more files to .gitignore 2016-01-28 17:47:53 +02:00
.gitreview Align project with default openstack project structure 2015-06-03 16:18:32 +03:00
.zuul.yaml Add native Zuul v3 manila image elements jobs 2019-01-22 13:16:39 +00:00
CONTRIBUTING.rst Fix launchpad url in CONTRIBUTING.rst file 2016-01-28 12:07:42 +00:00
HACKING.rst Optimizing the safety of the http link site in HACKING.rst 2018-11-16 10:38:27 +08:00
LICENSE Initial commit 2015-06-02 10:42:23 +03:00
README.rst Optimize the link address 2017-06-16 12:01:39 +05:30
bindep.txt Move other-requirements.txt to bindep.txt 2016-08-12 20:54:31 +02:00
lower-constraints.txt add lower-constraints job 2018-04-23 10:50:28 -04:00
requirements.txt Updated from global requirements 2017-04-12 04:13:48 +00:00
setup.cfg Change openstack-dev to openstack-discuss 2018-12-04 19:14:03 +00:00 Updated from global requirements 2017-03-02 11:46:42 +00:00
test-requirements.txt Updated from global requirements 2018-03-15 07:08:40 +00:00
tox.ini fix tox python3 overrides 2018-09-26 18:55:49 -04:00


Team and repository tags


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.