From 4653e1879260c6cf68bf4c7709a7e685ff958794 Mon Sep 17 00:00:00 2001 From: Matthew Heler Date: Mon, 7 Jan 2019 10:32:01 -0600 Subject: [PATCH] Add zuul checks and docs for ceph-daemon Change-Id: Idf76eaa6d25dc87ecf7318abc618bc3d80636b43 --- doc/source/ceph-daemon.rst | 24 ++++++++++++++++++++++ zuul.d/ceph-daemon.yaml | 41 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 doc/source/ceph-daemon.rst create mode 100644 zuul.d/ceph-daemon.yaml diff --git a/doc/source/ceph-daemon.rst b/doc/source/ceph-daemon.rst new file mode 100644 index 00000000..be9c246b --- /dev/null +++ b/doc/source/ceph-daemon.rst @@ -0,0 +1,24 @@ +=========================== +ceph-daemon container image +=========================== + +This container builds a small image with ceph service, kubectl and +some other utilities for use in the ceph charts. + +Manual build +============ + +Ubuntu Xenial +------------- + +Here are the instructions for building Xenial image: + +.. literalinclude:: ../../ceph-daemon/build.sh + :lines: 7-12 + :language: shell + +Alternatively, this step can be performed by running the script directly: + +.. code-block:: shell + + ./ceph-daemon/build.sh diff --git a/zuul.d/ceph-daemon.yaml b/zuul.d/ceph-daemon.yaml new file mode 100644 index 00000000..488016c0 --- /dev/null +++ b/zuul.d/ceph-daemon.yaml @@ -0,0 +1,41 @@ +--- +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +- project: + check: + jobs: + - openstack-helm-images-ceph-daemon-ubuntu_xenial: + files: &ceph-ubuntuxenial-files + - ^ceph-daemon/build.sh + - ^ceph-daemon/Dockerfile.ubuntu_xenial$ + - ^zuul.d/ceph-daemon.yaml + gate: + jobs: + - openstack-helm-images-ceph-daemon-ubuntu_xenial: + files: *ceph-ubuntuxenial-files + periodic: + jobs: + - openstack-helm-images-ceph-daemon-ubuntu_xenial + +- job: + name: openstack-helm-images-ceph-daemon + parent: openstack-helm-images-base + abstract: true + vars: + image_path: ceph-daemon + +- job: + name: openstack-helm-images-ceph-daemon-ubuntu_xenial + parent: openstack-helm-images-ceph-daemon + vars: + distro: "ubuntu_xenial"