summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/ci
diff options
context:
space:
mode:
authorNizamudeen A <nia@redhat.com>2023-07-07 12:46:00 +0200
committerNizamudeen A <nia@redhat.com>2023-07-07 12:47:35 +0200
commita407f0b7834585c087001059d6cec613e524538b (patch)
tree3bf7da2340130cb7042d8d4fb6e2670c83e99245 /src/pybind/mgr/dashboard/ci
parentMerge pull request #52337 from ronen-fr/wip-rf-osdtypes-const (diff)
downloadceph-a407f0b7834585c087001059d6cec613e524538b.tar.xz
ceph-a407f0b7834585c087001059d6cec613e524538b.zip
mgr/dashboard: move cephadm e2e cleanup to jenkins job config
Follows: https://github.com/ceph/ceph-build/pull/2145 Signed-off-by: Nizamudeen A <nia@redhat.com>
Diffstat (limited to 'src/pybind/mgr/dashboard/ci')
-rwxr-xr-xsrc/pybind/mgr/dashboard/ci/cephadm/start-cluster.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/pybind/mgr/dashboard/ci/cephadm/start-cluster.sh b/src/pybind/mgr/dashboard/ci/cephadm/start-cluster.sh
index c8f9c07a050..65cb78a45a0 100755
--- a/src/pybind/mgr/dashboard/ci/cephadm/start-cluster.sh
+++ b/src/pybind/mgr/dashboard/ci/cephadm/start-cluster.sh
@@ -2,19 +2,6 @@
set -eEx
-cleanup() {
- set +x
- if [[ -n "$JENKINS_HOME" ]]; then
- echo "Starting cleanup..."
- kcli delete plan -y ceph || true
- kcli delete network ceph-dashboard -y
- kcli delete pool ceph-dashboard -y
- rm -rf ${HOME}/.kcli
- docker container prune -f
- echo "Cleanup completed."
- fi
-}
-
on_error() {
set +x
if [ "$1" != "0" ]; then
@@ -41,7 +28,6 @@ on_error() {
}
trap 'on_error $? $LINENO' ERR
-trap 'cleanup $? $LINENO' EXIT
sed -i '/ceph-node-/d' $HOME/.ssh/known_hosts || true