]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
chcacra-pull-requests: cleanup repos before ansible runs 808/head
authorAli Maredia <amaredia@redhat.com>
Mon, 31 Jul 2017 20:37:42 +0000 (16:37 -0400)
committerAli Maredia <amaredia@redhat.com>
Mon, 31 Jul 2017 20:37:42 +0000 (16:37 -0400)
Signed-off-by: Ali Maredia <amaredia@redhat.com>
chacra-pull-requests/build/build

index d313c3eb6e027f85168bc15a8b38cbcea9316a5d..6fc7c5924bfe5a1fad092ef62d018ea6a63eab39 100644 (file)
@@ -7,6 +7,11 @@ install_python_packages "pkgs[@]"
 # run ansible to get this current host to meet our requirements, specifying
 # a local connection and 'localhost' as the host where to execute
 cd "$WORKSPACE/ceph-build/chacra-pull-requests/setup/playbooks"
+
+# make sure any shaman list file is removed. At some point if all nodes
+# are clean this will not be needed.
+sudo rm -f /etc/apt/sources.list.d/shaman*
+
 $VENV/ansible-playbook -i "localhost," -c local setup.yml
 
 cd "$WORKSPACE/chacra"