]> git.apps.os.sepia.ceph.com Git - autobuild-ceph.git/commitdiff
remove build-ceph-deb.sh
authorSage Weil <sage@redhat.com>
Wed, 22 Jun 2016 12:54:59 +0000 (08:54 -0400)
committerSage Weil <sage@redhat.com>
Wed, 22 Jun 2016 12:54:59 +0000 (08:54 -0400)
We don't use it!

Signed-off-by: Sage Weil <sage@redhat.com>
build-ceph-deb.sh [deleted file]

diff --git a/build-ceph-deb.sh b/build-ceph-deb.sh
deleted file mode 100755 (executable)
index 146b0b3..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh -x
-set -e
-
-git submodule foreach 'git clean -fdx && git reset --hard'
-rm -rf ceph-object-corpus
-rm -rf ceph-erasure-code-corpus
-rm -rf src/gmock
-rm -rf src/leveldb
-rm -rf src/libs3
-rm -rf src/mongoose
-rm -rf src/civetweb
-rm -rf src/rocksdb
-rm -rf src/erasure-code/jerasure/gf-complete
-rm -rf src/erasure-code/jerasure/jerasure
-rm -rf .git/modules/
-git clean -fdx && git reset --hard
-/srv/git/bin/git submodule sync
-/srv/autobuild-ceph/use-mirror.sh
-/srv/git/bin/git submodule update --init
-git clean -fdx
-
-
-DISTS=`cat ../../dists`
-
-echo --START-IGNORE-WARNINGS
-[ ! -x install-deps.sh ] || ./install-deps.sh
-[ ! -x autogen.sh ] || ./autogen.sh || exit 1
-autoconf || true
-echo --STOP-IGNORE-WARNINGS
-[ -z "$CEPH_EXTRA_CONFIGURE_ARGS" ] && CEPH_EXTRA_CONFIGURE_ARGS=--with-tcmalloc
-[ ! -x configure ] || ./configure --with-debug --with-radosgw --with-fuse --with-libatomic-ops --with-gtk2 --with-profiler --enable-cephfs-java $CEPH_EXTRA_CONFIGURE_ARGS || exit 2
-
-if [ ! -e Makefile ]; then
-    echo "$0: no Makefile, aborting." 1>&2
-    exit 3
-fi
-
-# Actually build the project
-
-# clear out any $@ potentially passed in
-set --
-
-# enable ccache if it is installed
-export CCACHE_DIR="$PWD/../../ccache"
-if command -v ccache >/dev/null; then
-  if [ ! -e "$CCACHE_DIR" ]; then
-    echo "$0: have ccache but cache directory does not exist: $CCACHE_DIR" 1>&2
-  else
-    set -- CC='ccache gcc' CXX='ccache g++'
-  fi
-else
-  echo "$0: no ccache found, compiles will be slower." 1>&2
-fi
-
-# build the debs
-mkdir -p release
-GNUPGHOME="/srv/gnupg" ionice -c3 nice -n20 /srv/ceph-build/build_snapshot.sh release /srv/debian-base $DISTS
-
-VER=`cd release && ls`
-echo "VER is $VER"
-
-REV="$(git rev-parse HEAD)"
-OUTDIR="../out/output/sha1/$REV"
-OUTDIR_TMP="${OUTDIR}.tmp"
-install -d -m0755 -- "$OUTDIR_TMP"
-printf '%s\n' "$REV" >"$OUTDIR_TMP/sha1"
-printf '%s\n' "$VER" >"$OUTDIR_TMP/version"
-printf '%s\n' "ceph" >"$OUTDIR_TMP/name"
-
-mkdir -p $OUTDIR_TMP/conf
-/srv/ceph-build/gen_reprepro_conf.sh $OUTDIR_TMP 03C3951A
-GNUPGHOME="/srv/gnupg" /srv/ceph-build/push_to_repo.sh release $OUTDIR_TMP $VER main
-
-# we're successful, the files are ok to be published; try to be as
-# atomic as possible about replacing potentially existing OUTDIR
-if [ -e "$OUTDIR" ]; then
-    rm -rf -- "$OUTDIR.old"
-    mv -- "$OUTDIR" "$OUTDIR.old"
-fi
-mv -- "$OUTDIR_TMP" "$OUTDIR"
-rm -rf -- "$OUTDIR.old"
-
-# rebuild combined debian repo output
-(
-    cd ../out/output
-    rm -rf combined
-    GNUPGHOME="/srv/gnupg" /srv/ceph-build/merge_repos.sh combined sha1/*
-)
-
-exit 0