]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Move teuthology-docs deps out of slave.yml
authorZack Cerza <zack@redhat.com>
Thu, 2 Jun 2016 16:23:26 +0000 (10:23 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 6 Jun 2016 20:10:47 +0000 (14:10 -0600)
If other jobs don't need them, let's not make them take the time to
install them.

Signed-off-by: Zack Cerza <zack@redhat.com>
ansible/slave.yml
teuthology-docs/config/definitions/teuthology-docs.yml
teuthology-docs/setup/setup [new file with mode: 0755]

index 7b7dfbad4eec18ac2b60723cb62fd6d111d8e534..7e24181358911d6b9eda75fe92aafd08568ad2a4 100644 (file)
         - doxygen
         - ditaa
         - ant
-        # teuthology-docs job:
-        - libmysqlclient-dev
-        - libevent-dev
-        - libffi-dev
-        - libssl-dev
       when: ansible_pkg_mgr  == "apt"
 
     - name: Add the Debian Jessie Key
index 32c9a199aeb085c779da11f488c47455bde829f7..bfa7b7cb56dd46fcb007e817dfb75d2eb79f6bec 100644 (file)
@@ -32,4 +32,5 @@
       - shell:
           !include-raw:
             - ../../../scripts/build_utils.sh
+            - ../../setup/setup
             - ../../build/build
diff --git a/teuthology-docs/setup/setup b/teuthology-docs/setup/setup
new file mode 100755 (executable)
index 0000000..5acf928
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+set -ex
+
+APT_DEPS="libmysqlclient-dev libevent-dev libffi-dev libssl-dev"
+sudo apt install $APT_DEPS