#!/bin/sh
-#export GNUPGHOME=/home/jenkins-build/build/gnupg.autobuild/
-export GNUPGHOME=/home/jenkins-build/build/gnupg.ceph-release/
-export KEYID=460F3994
HOST=$(hostname --short)
echo "Building on ${HOST}"
echo " DIST=${DIST}"
echo " BPTAG=${BPTAG}"
-echo " KEYID=${KEYID}"
echo " WS=$WORKSPACE"
echo " PWD=$(pwd)"
echo "Building on Host: $(hostname) Date: $(date)"
-# Check if we have a key to sign packages with
-if gpg --list-keys 2>/dev/null | grep -q ${KEYID} ; then
- echo "Signing packages and repo with ${KEYID}"
-else
- echo "Package signing key (${KEYID}) not found"
- echo "Have you set \$GNUPGHOME ? "
- exit 3
-fi
-
# We expect the ceph build tools to be installed.
if [ ! -d /srv/ceph-build ] ; then
echo "Build tools are not installed"