From: Alfredo Deza Date: Wed, 18 Sep 2019 19:58:38 +0000 (-0400) Subject: tcmu-runner: remove custom shaman repos added after a build X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1397%2Fhead;p=ceph-build.git tcmu-runner: remove custom shaman repos added after a build Signed-off-by: Alfredo Deza --- diff --git a/tcmu-runner/config/definitions/tcmu-runner.yml b/tcmu-runner/config/definitions/tcmu-runner.yml index 06976457..1e43c8a9 100644 --- a/tcmu-runner/config/definitions/tcmu-runner.yml +++ b/tcmu-runner/config/definitions/tcmu-runner.yml @@ -108,3 +108,16 @@ If this is checked, then the binaries will be built and pushed to chacra even if - text: credential-id: shaman-api-key variable: SHAMAN_API_KEY + + publishers: + - postbuildscript: + builders: + - role: SLAVE + build-on: + - SUCCESS + - UNSTABLE + - FAILURE + - ABORTED + - NOT_BUILT + build-steps: + - shell: "sudo rm -f /etc/apt/sources.list.d/shaman.list /etc/yum.repos.d/shaman.repo"