talkatu/builders

3cb1c9b37c33
Parents 879df2109f0f
Children 013e945e0652
Remove the debian build script as nothing uses it anymore
--- a/debian/build.sh Sat Sep 17 21:36:08 2022 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-#!/bin/sh -ex
-# Copyright (C) 2015-2017 Gary Kramlich <grim@reaperworld.com>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
-cd "${CONVEY_WORKSPACE}"
-
-ARTIFACTS_DIR="${CONVEY_WORKSPACE}/${TARGET}"
-mkdir -p "${ARTIFACTS_DIR}"
-
-cp -a "${CONVEY_WORKSPACE}/packaging/debian" debian
-
-HG_ID=$(hg id -i)
-BUILD_NUMBER="${BUILD_NUMBER:-0}"
-BUILD_VERSION="${BUILD_NUMBER}~${HG_ID}"
-
-BUILD_DIR="build-${TARGET}"
-export BUILD_DIR
-
-# Add a changelog entry
-VERSION=$(dpkg-parsechangelog --show-field Version)
-dch -D "${DISTRIBUTION}" -v "${VERSION}.${BUILD_VERSION}" "build for ${HG_ID}"
-
-set +e
-debuild -us -uc
-EC="${?}"
-set -e
-
-# if the build failed, exit
-if [ "${EC}" -ne 0 ]; then
- exit "${EC}"
-fi
-
-# everything built so copy the debs to the artifacts directory
-cd ..
-DEBS_DIR="${ARTIFACTS_DIR}/debs"
-mkdir -p "${DEBS_DIR}"
-cp *.changes "${DEBS_DIR}"
-
-LINE_NO=$(grep -n Files: *.changes | cut -d: -f1)
-for FILENAME in $(cat *.changes | tail -n "+${LINE_NO}" | awk '{print $5}'); do
- mv "${FILENAME}" "${DEBS_DIR}"
-done
-