]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-dev-*build: remove ceph-container after done with it 1547/head
authorKefu Chai <kchai@redhat.com>
Mon, 6 Apr 2020 06:19:33 +0000 (14:19 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 6 Apr 2020 06:19:34 +0000 (14:19 +0800)
commit7c1c4e8d62a02b2f1e4a3fd3364835cac3f1511f
tree0a4cc30f2c38229b2bdd01533396b4f4ff028c3c
parent41e33b22a52e7693d76289cf8d44758a5b28e5c9
ceph-dev-*build: remove ceph-container after done with it

because `ceph-container` contains the artifacts created using `root`
user after 6090e4d00c82b8aba1d56ed249f29352e7c308d6, for instance, the
`staging` directory is created by
https://github.com/ceph/ceph-container/blob/2f61465f6a91f15470ff4f87844c5fe9c64b9664/maint-lib/stage.py#L102

so we need to remove `ceph-container` after pushing the created image
using `sudo` as well. otherwise, jenkins is not able to cleanup the
workspace using the "jenkins-build" user.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-dev-build/build/build_rpm
ceph-dev-new-build/build/build_rpm