summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-10 09:19:52 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-10 09:24:45 +0100
commit5b66be51599561f2e28cd68626de4a2d6b5b1828 (patch)
treef6086b74687aae51fc29702152bb494c002ecaba
parent1d2b0651a3a4e580043b70ffc0da8a97bd324066 (diff)
downloadbuildscripts-5b66be51599561f2e28cd68626de4a2d6b5b1828.tar.gz
buildscripts-5b66be51599561f2e28cd68626de4a2d6b5b1828.tar.bz2
buildscripts-5b66be51599561f2e28cd68626de4a2d6b5b1828.zip
.buildscripts/arctica.conf: Make buildscript config host and key independent (i.e., portable). Support Ubuntu Xenial and Debian stretch builds.
-rw-r--r--home/.buildscripts/arctica.conf20
1 files changed, 10 insertions, 10 deletions
diff --git a/home/.buildscripts/arctica.conf b/home/.buildscripts/arctica.conf
index 5da9b04..6dacdaf 100644
--- a/home/.buildscripts/arctica.conf
+++ b/home/.buildscripts/arctica.conf
@@ -2,19 +2,19 @@
GIT_USER=""
GIT_HOSTNAME="cgit.arctica-project.org"
-GIT_SSH_PORT="22"
+GIT_SSH_PORT=""
-DEBEMAIL="build-daemon@arctica-project.org"
-DEBFULLNAME="Arctica Project Build Daemon"
-GPG_KEY="F2AF24C79CAEF971"
-DEB_DISTS_SUPPORTED="debian"
-DEB_BUILD_FOR=${DEB_BUILD_FOR:-"debian:jessie,sid"}
+DEBEMAIL="build-daemon+${HOSTNAME}@arctica-project.org"
+DEBFULLNAME="Arctica Project Build Daemon (${HOSTNAME})"
+GPG_KEY=`gpg -q --list-secret-keys --keyid-format 0xlong ${DEBEMAIL} | grep -E "^sec" | sed -r "s/^sec .*(0x[0-9A-F]{16}).*/\1/"`
+DEB_DISTS_SUPPORTED="debian ubuntu"
+DEB_BUILD_FOR=${DEB_BUILD_FOR:-"debian:sid,stretch,jessie ubuntu:xenial,trusty"}
-RPMEMAIL="build-daemon@arctica-project.org"
-RPMFULLNAME="Arctica Project Build Daemon""
-GPG_KEY="F2AF24C79CAEF971"
+RPMEMAIL="build-daemon+${HOSTNAME}@arctica-project.org"
+RPMFULLNAME="Arctica Project Build Daemon (${HOSTNAME})"
+GPG_KEY=`gpg -q --list-secret-keys --keyid-format 0xlong ${RPMEMAIL} | grep -E "^sec" | sed -r "s/^sec .*(0x[0-9A-F]{16}).*/\1/"`
RPM_DISTS_SUPPORTED="fedora opensuse"
-: ${RPM_BUILD_FOR:="fedora:22,rawhide 13.2,factory}
+: ${RPM_BUILD_FOR:="fedora:22,rawhide 13.2,factory"}
RPM_REPOS_BASE="/srv/sites/arctica-project.org/packages/"
RPM_WANT_EXTRA_REPOS="1"
RPM_MOCK_CONFIG_DIR="/etc/mock/"