]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-build-pull-requests: copy the vars directory into examples to check syntax 415/head
authorAlfredo Deza <adeza@redhat.com>
Wed, 20 Jul 2016 12:26:28 +0000 (08:26 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 20 Jul 2016 12:26:49 +0000 (08:26 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-build-pull-requests/build/build

index fc4d56f7bce28e023405558560017116b1150185..de01762a028a9c2b29b34f43923fd6d26d564605 100644 (file)
@@ -24,6 +24,10 @@ for reqs in $WORKSPACE/ansible/requirements/*; do
     $VENV/ansible-galaxy install -r $reqs -p $WORKSPACE/ansible/roles --force
 done
 
+# To avoid moving everything into examples, including stuff that is not relevant
+# as an example, we copy them on the fly here
+cp -r $WORKSPACE/ansible/vars $WORKSPACE/ansible/examples/
+
 # Syntax-check each Ansible playbook
 for playbook in $WORKSPACE/ansible/*.yml; do
     $VENV/ansible-playbook -i '127.0.0.1,' $playbook --syntax-check