|
|
ec013d |
PACKET_BUILD_DIR=/data/builder # where you will store a build data
|
|
|
ec013d |
# default value is env-builder-data/build
|
|
|
ec013d |
# but we recommend to use directory outside of project sources
|
|
|
ec013d |
|
|
|
ec013d |
# PROXY=http://1.2.3.4:1234 # if you are behind a proxy
|
|
root |
35ea75 |
# CHROOTER_BUILD_OPTIONS="--build-arg=http_proxy=$PROXY --build-arg=https_proxy=$PROXY"
|
|
|
a1747c |
# CHROOTER_RUN_OPTIONS="-e http_proxy=$PROXY -e https_proxy=$PROXY"
|
|
|
e71c94 |
|
|
|
ec013d |
chrooter() { # configure chrooter command
|
|
|
ec013d |
# export CHROOTER_PREFIX="/tmp" # where to mount a virtual environment
|
|
|
ec013d |
# if you will build os images from scratch you need 10Gb of free space
|
|
|
ec013d |
$BASE_DIR/chrooter/chrooter.sh $@ # chrooter is required, it is to commnads in virtual environment
|
|
|
ec013d |
}
|
|
|
91875d |
|
|
|
ec013d |
# gen_name_template() { # here you may override a naming rules for out packages
|
|
|
ec013d |
# local NAME="$1" # see build-*.sh, publish/publish.sh
|
|
|
91875d |
# local TAG="$2"
|
|
|
91875d |
# local PLATFORM="$3"
|
|
|
91875d |
# local ARCH="$4"
|
|
|
91875d |
# local SUFFIX="$4"
|
|
|
91875d |
#
|
|
|
91875d |
# if [ ! -z "$TAG" ]; then
|
|
|
91875d |
# TAG="-$TAG"
|
|
|
91875d |
# fi
|
|
|
91875d |
#
|
|
|
91875d |
# echo "$NAME-%VERSION%-${ARCH}bit-$PLATFORM$TAG-%DATE%-%COMMIT%$SUFFIX"
|
|
|
576504 |
# }
|
|
|
576504 |
|
|
|
ec013d |
# OPENTOONZ_TESTING_TAG="test" # uses in build-opentoonz-testing.sh for naming out packages
|
|
|
ec013d |
# SYNFIGSTUDIO_TESTING_TAG="test" # uses in build-synfigstudio.sh for naming out packages
|
|
|
576504 |
|
|
|
850862 |
#export EMAIL_FAILED="e@mail.org"
|
|
|
850862 |
#export EMAIL_SUCCESS="$EMAIL_FAILED"
|
|
|
850862 |
#export EMAIL_SUBJECT="builder task finished"
|
|
|
bc20ea |
#export EMAIL_BODY="any text"
|