-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.sh
53 lines (45 loc) · 1.51 KB
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/sh
export DISTRIBS_DEB="ubuntu-focal \
ubuntu-jammy \
ubuntu-noble \
debian-bullseye \
debian-bookworm"
export DISTRIBS_RPM="centos-8 centos-9"
# Old distributives that are just broken on aarch64 (e.g. old libc++)
export ARM_BLACKLIST="ubuntu-bionic debian-buster"
# Can be overriden (e.g. adding a username)
export SSH_CMD="ssh"
export SCP_CMD="scp"
export TARGET_DIR="./out"
export MAINTAINER_EMAIL="[email protected]"
export GIT_REPO="[email protected]:rspamd/rspamd.git"
export PATCHES_DIR="./patches-stable"
# From old upload system (should be refactored one day)
export TARGET_DEB_STABLE="apt-stable"
export TARGET_DEB_UNSTABLE="apt"
export TARGET_RPM_STABLE="rpm-stable"
export TARGET_RPM_UNSTABLE="rpm"
export SSH_KEY_DEB_STABLE="${HOME}/.ssh/identity.repo-deb-stable"
export SSH_KEY_DEB_UNSTABLE="${HOME}/.ssh/identity.repo-deb-unstable"
export SSH_KEY_RPM_STABLE="${HOME}/.ssh/identity.repo-rpm-stable"
export SSH_KEY_RPM_UNSTABLE="${HOME}/.ssh/identity.repo-rpm-unstable"
export UPLOAD_SUFFIX="rspamd.com/dist/"
# Must be overriden
export SSH_HOST_X86="example.com"
export SSH_HOST_AARCH64="example.com"
export RSPAMD_VER_UNSTABLE="3.11.0"
export RSPAMD_VER_STABLE="3.10.0"
if [ -n "${STABLE}" ] ; then
export RSPAMD_VER="${RSPAMD_VER_STABLE}"
export STABLE_VER="1"
else
export RSPAMD_VER="${RSPAMD_VER_UNSTABLE}"
fi
export KEY="3FA347D5E599BE4595CA2576FFA232EDBF21E25E"
if [ -z "${LOCAL_CONFIG_FILE}" ] ; then
if [ -f "./config.local.sh" ] ; then
. ./config.local.sh
fi
else
. ${LOCAL_CONFIG_FILE}
fi