Prevents this bashate warning:
./elements/manila-ssh/install.d/fetch-public-ssh-keys.service:1:1: E005 File does not begin with #! or have .sh prefix
TrivialFix
Change-Id: I9e4e6b96730ddc62ac1094ec4af0c84863acc60f
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Replace the "manila-tempest-dsvm-generic-scenario-custom-image"
job with a native Zuulv3 style job that does not use
the deprecated devstack-gate project. This new test
job runs integration NFS and CIFS tests against a newly
created test image that is used as the service
instance image, as well as the client image.
Change-Id: I3d2345e80f3bc18558d4cc6cc58108ff63119460
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
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>
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update the UPPER_CONSTRAINTS_FILE for tox[1]
3. Update some URLs to latest
[1]: http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html
Change-Id: Ibe8c402c2817c31748e6a4b8344024a276609260
With the dependent changes, we no longer attempt to use a local
webserver to hand off newly created manila service images.
So simplify this script to remove the branch that sets up this
local webserver.
Depends-on: https://review.openstack.org/#/c/623551/
Depends-on: https://review.openstack.org/#/c/623330
Change-Id: I5795928d6de64ea6602141f494252d7b75fdfbe9
Put the image name in a file for retrieval by jobs that
need it so they don't have to play (buggy) tricks with
git to get it. Also ensure that debootstrap is installed.
Depends-on: https://review.openstack.org/623551
Closes-bug: #1807969
Change-Id: I6dfeb5fb236579aa1755c6806f9ffc397690fba6
It will be used for testing of newly proposed changes
to this project in tempest CI jobs.
Change-Id: I74d118b6661fe7683f505706c67a793700844af3
Depends-On: I005d1b204ea25ced8913351d19eac282ca465fb6
When running ``tox`` for manila image elements bashate warnings
are emitted for lines that are too long. Suppress these since
we have no intention of enforcing that requirement. Also add a
shebang to the top of a shell script, which does no harm (even
though it is not needed when sourcing the script to set env files)
in order to make another warning go away.
TrivialFix
Change-Id: I7f2f2723f99d64a0e28b4d0fe43b79e7201f6121
The support for LXC/LXD was added as part of the initial effort
to develop a container driver for Manila which was later on
abandoned. Despite of that, the code in the manila-image-elements
remained.
This patch set removes LXC/LXD container support in
manila-image-elements. Code-path used for generation of Docker images is
preserved.
This will help for the parallel effort of making
manila-image-elements usable by end users.
Change-Id: I99c6a7fbf2b2fb0cebb7b16d94c66f807e7ac7ef
Closes-Bug: #1646615
Add new job 'buildimage-docker' which produces a compressed
image from which a Docker container can be started. This
container is designed to run Samba.
Change-Id: I499fa1850d3ad197cab5f742bfca1a9f074e9a8b
Bashate seems to be running on many files it shouldn't. There
is an error related to a conf file, so I'm explicitly excluding
conf files. Also reformat the run_bashate script so it doesn't
warn about itself.
Change-Id: I3986ecefcfb91c6a090697c782371dd100dc0d67
It is very useful to have detailed messages in CI logs for case we have
errors. So, enable it for CI.
Change-Id: Icf943dfababad8f6a99c2a754a753a40be9457b1
Closes-Bug: #1538662
Gate job for building image fails because it cannot find
file "tools/gate/build_images" that should be named "tools/gate/build-images".
Change-Id: I57bebc790235ebc24748d7ec7367d0f2e1b5a14a
Partial-bug: #1504530