]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-docker-pull-requests: use sudo to remove deamon base and demo 509/head
authorAlfredo Deza <adeza@redhat.com>
Wed, 5 Oct 2016 15:47:44 +0000 (11:47 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 5 Oct 2016 15:48:14 +0000 (11:48 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-docker-pull-requests/build/build

index c210ee47d82095142f05cea9412da8072e1d1181..082d7d0d474eaa736f4e15666bd99295007ff092 100644 (file)
@@ -10,8 +10,8 @@ cd "$WORKSPACE"/ceph-docker
 
 # pull requests tests should never have these directories here, but branches
 # do, so for the build scripts to work correctly, these neeed to be removed
-rm -rf "$WORKSPACE"/ceph-docker/{daemon,demo,base}
-
+# XXX It requires sudo because these will appear with `root` ownership
+sudo rm -rf "$WORKSPACE"/ceph-docker/{daemon,demo,base}
 
 sudo apt-get install -y --force-yes xfsprogs
 sudo "$WORKSPACE"/ceph-docker/travis-builds/purge_cluster.sh