-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathfed-to-brew.conf
60 lines (60 loc) · 1.79 KB
/
fed-to-brew.conf
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
54
55
56
57
58
59
60
###############
# GENERAL VARIABLES
###############
VERBOSE="FALSE"
REMOTE="TRUE"
BREW_CHECK="TRUE"
DOWNLOAD_LOGS="FALSE"
PARALLEL_JOBS=4
DEP_LIST="brew git fedpkg koji rhpkg flock"
COMMAND=""
PACKAGE_LIST=""
CUSTOM_MESSAGE=""
YAML_FILE=""
TEXT_FILE=""
MODULE_LIST=""
###############
# DIST SPECIFIC VARIABLES
###############
DISTRIBUTION="RHEL"
KOJI_BINARY="brew"
KOJI_PKG_BINARY="rhpkg"
DISTGIT_BRANCH=""
BREW_BRANCH=""
BREW_DIST=""
FED_GIT_CHECKOUT="master"
FED_DIST="rawhide"
###############
# LOCATION VARIABLES
###############
WORKDIR="${HOME}/fedtobrew"
LOGFILE="${WORKDIR}/logs/output-$(date +%Y-%m-%d)"
LOCK_FILE="${WORKDIR}/overall-lockfile-$(date +%Y-%m-%d)"
JOB_TRACKER="${WORKDIR}/job-tracker-$$"
WEB_DIR="${WORKDIR}/results/"
DEB_DIR="${WEB_DIR}/dependencies/"
MODULES_DIR="${WEB_DIR}/modules/"
OLD_OVERALL_TXT="${WEB_DIR}/overall-status-$(date --date=yesterday +%Y-%m-%d).txt"
OLD_OVERALL_HTML="${WEB_DIR}/overall-status-$(date --date=yesterday +%Y-%m-%d).html"
OVERALL_TXT="${WEB_DIR}/overall-status.txt"
OVERALL_HTML="${WEB_DIR}/overall-status.html"
MODULES_TXT="${MODULES_DIR}/module-status.txt"
MODULES_HTML="${MODULES_DIR}/module-status.html"
MODULES_HTML_LOCAL="modules/module-status.html"
BUILDING_HTML="${WEB_DIR}/overall-building-status.html"
FAILURE_HTML="${WEB_DIR}/overall-failure-status.html"
# Example: BREW_WEB_URL="https://koji.example.com/koji"
BREW_WEB_URL=""
# Example: BREW_DISTGIT_URL="http://packages.example.com/cgit"
BREW_DISTGIT_URL=""
# Example: SYNC_REMOTE="[email protected]:/home/user/fedtobrew/"
SYNC_REMOTE=""
###############
# Build Target Variables
###############
KOJI_TARGET="rawhide"
USE_DIFFERENT_TARGETS="FALSE"
#USE_DIFFERENT_TARGETS="TRUE"
declare -A dict_pkg_target
# Format: dict_pkg_target['<PACKAGE>']="<KOJI BUILD TARGET>"
# example: dict_pkg_target['firefox']="f27"