Add zuul checks and docs for ceph-daemon

Change-Id: Idf76eaa6d25dc87ecf7318abc618bc3d80636b43
This commit is contained in:
Matthew Heler 2019-01-07 10:32:01 -06:00
parent dc75232290
commit 4653e18792
2 changed files with 65 additions and 0 deletions

View File

@ -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

41
zuul.d/ceph-daemon.yaml Normal file
View File

@ -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"