From: Alfredo Deza Date: Tue, 23 Feb 2016 20:33:13 +0000 (-0500) Subject: create a ceph-installer-docs job X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ac41dcdc6e5dd093a580e436b4fd118d7964e2e0;p=ceph-build.git create a ceph-installer-docs job Signed-off-by: Alfredo Deza --- diff --git a/ceph-installer-docs/build/build b/ceph-installer-docs/build/build new file mode 100644 index 00000000..55e3d7fb --- /dev/null +++ b/ceph-installer-docs/build/build @@ -0,0 +1,12 @@ +#!/bin/bash + +# the following two methods exist in scripts/build_utils.sh +pkgs=( "tox" ) +install_python_packages "pkgs[@]" + + +# create the docs build with tox +tox -rv -e docs + +# publish docs to http://docs.ceph.com/docs/ceph-installer +rsync -auv --delete .tox/docs/tmp/html/* /var/ceph-installer/docs/ diff --git a/ceph-installer-docs/config/definitions/ceph-installer-docs.yml b/ceph-installer-docs/config/definitions/ceph-installer-docs.yml new file mode 100644 index 00000000..fc7bdb56 --- /dev/null +++ b/ceph-installer-docs/config/definitions/ceph-installer-docs.yml @@ -0,0 +1,36 @@ +- job: + name: ceph-installer-docs + node: docs + project-type: freestyle + defaults: global + display-name: 'ceph-installer: docs build' + quiet-period: 5 + block-downstream: false + block-upstream: false + retry-count: 3 + properties: + - github: + url: https://github.com/ceph/ceph-installer + logrotate: + daysToKeep: -1 + numToKeep: 10 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 + + triggers: + - github + + scm: + - git: + url: https://github.com/ceph/ceph-installer + branches: + - master + browser: auto + skip-tag: true + timeout: 20 + + builders: + - shell: + !include-raw: + - ../../../scripts/build_utils.sh + - ../../build/build