]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-volume-docs: renamed from ceph-lvm-docs 745/head
authorAlfredo Deza <adeza@redhat.com>
Fri, 16 Jun 2017 19:12:44 +0000 (15:12 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 16 Jun 2017 19:12:44 +0000 (15:12 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-lvm-docs/build/build [deleted file]
ceph-lvm-docs/config/definitions/ceph-lvm-docs.yml [deleted file]
ceph-volume-docs/build/build [new file with mode: 0644]
ceph-volume-docs/config/definitions/ceph-lvm-docs.yml [new file with mode: 0644]

diff --git a/ceph-lvm-docs/build/build b/ceph-lvm-docs/build/build
deleted file mode 100644 (file)
index f5edbcc..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-set -ex
-
-# the following two methods exist in scripts/build_utils.sh
-pkgs=( "tox" )
-install_python_packages "pkgs[@]"
-
-# trims leading slashes
-BRANCH=`branch_slash_filter ${GIT_BRANCH}`
-
-# create the docs build with tox
-$VENV/tox -rv -e docs
-
-# publish docs to http://docs.ceph.com/ceph-lvm/$BRANCH/ create
-# a `$BRANCH` dir because the project has stable branches that will
-# publish docs that might be different from other versions (similar,
-# but not exactly the same to what the Ceph project does)
-mkdir -p "/var/ceph-lvm/docs/$BRANCH"
-rsync -auv --delete .tox/docs/tmp/html/* "/var/ceph-lvm/docs/$BRANCH/"
-
diff --git a/ceph-lvm-docs/config/definitions/ceph-lvm-docs.yml b/ceph-lvm-docs/config/definitions/ceph-lvm-docs.yml
deleted file mode 100644 (file)
index 4401086..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-- job:
-    name: ceph-lvm-docs
-    node: docs
-    project-type: freestyle
-    defaults: global
-    display-name: 'ceph-lvm: docs build'
-    quiet-period: 5
-    block-downstream: false
-    block-upstream: false
-    retry-count: 3
-    properties:
-      - github:
-          url: https://github.com/ceph/ceph-lvm
-    logrotate:
-      daysToKeep: -1
-      numToKeep: 10
-      artifactDaysToKeep: -1
-      artifactNumToKeep: -1
-
-    triggers:
-      - github
-
-    scm:
-      - git:
-          url: https://github.com/ceph/ceph-lvm
-          branches:
-            - master
-            # as more stable branches are published, they need to be
-            # added here
-            #- stable-1.0
-          browser: auto
-          skip-tag: true
-          timeout: 20
-
-    builders:
-      - shell:
-          !include-raw:
-            - ../../../scripts/build_utils.sh
-            - ../../build/build
diff --git a/ceph-volume-docs/build/build b/ceph-volume-docs/build/build
new file mode 100644 (file)
index 0000000..ebc3142
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+set -ex
+
+# the following two methods exist in scripts/build_utils.sh
+pkgs=( "tox" )
+install_python_packages "pkgs[@]"
+
+# trims leading slashes
+BRANCH=`branch_slash_filter ${GIT_BRANCH}`
+
+# create the docs build with tox
+$VENV/tox -rv -e docs
+
+# publish docs to http://docs.ceph.com/ceph-volume/$BRANCH/ create
+# a `$BRANCH` dir because the project has stable branches that will
+# publish docs that might be different from other versions (similar,
+# but not exactly the same to what the Ceph project does)
+mkdir -p "/var/ceph-volume/docs/$BRANCH"
+rsync -auv --delete .tox/docs/tmp/html/* "/var/ceph-volume/docs/$BRANCH/"
+
diff --git a/ceph-volume-docs/config/definitions/ceph-lvm-docs.yml b/ceph-volume-docs/config/definitions/ceph-lvm-docs.yml
new file mode 100644 (file)
index 0000000..25d1cd0
--- /dev/null
@@ -0,0 +1,39 @@
+- job:
+    name: ceph-volume-docs
+    node: docs
+    project-type: freestyle
+    defaults: global
+    display-name: 'ceph-volume: docs build'
+    quiet-period: 5
+    block-downstream: false
+    block-upstream: false
+    retry-count: 3
+    properties:
+      - github:
+          url: https://github.com/ceph/ceph-volume
+    logrotate:
+      daysToKeep: -1
+      numToKeep: 10
+      artifactDaysToKeep: -1
+      artifactNumToKeep: -1
+
+    triggers:
+      - github
+
+    scm:
+      - git:
+          url: https://github.com/ceph/ceph-volume
+          branches:
+            - master
+            # as more stable branches are published, they need to be
+            # added here
+            #- stable-1.0
+          browser: auto
+          skip-tag: true
+          timeout: 20
+
+    builders:
+      - shell:
+          !include-raw:
+            - ../../../scripts/build_utils.sh
+            - ../../build/build