2012-01-27 01:04:47 +01:00
|
|
|
###################################################
|
2013-09-09 05:06:01 +02:00
|
|
|
# aio-builder.cfg
|
|
|
|
# Default values for aio-builder system
|
2012-01-27 01:04:47 +01:00
|
|
|
####################################################
|
2012-04-23 11:12:41 +02:00
|
|
|
#
|
|
|
|
# Define your local, private, individual, not-project dependent build setup
|
2013-09-09 05:06:01 +02:00
|
|
|
# in the file ~/.aio-builder.cfg OR by using the environment variable AIO_BUILDER
|
2012-04-23 11:12:41 +02:00
|
|
|
# pointing the the configuration.
|
2013-09-09 05:06:01 +02:00
|
|
|
# export AIO_BUILDER=/home/dschwager/work/aio-builder.cfg
|
2012-04-23 11:12:41 +02:00
|
|
|
# If no files are availble, the default values will be use
|
2013-09-09 05:06:01 +02:00
|
|
|
# from <aio-builder-home>/conf/aio-builder.cfg
|
2012-04-23 11:12:41 +02:00
|
|
|
#
|
2013-09-09 05:06:01 +02:00
|
|
|
# cp <aio-builder-home>/conf/aio-builder.cfg $HOME/.aio-builder.cfg
|
|
|
|
# vi $HOME/.aio-builder.cfg
|
2012-04-23 11:12:41 +02:00
|
|
|
# may you will change some locations
|
|
|
|
###################################################
|
|
|
|
|
|
|
|
|
2012-01-27 01:04:47 +01:00
|
|
|
|
|
|
|
##################################
|
|
|
|
# Global variables
|
|
|
|
#################################
|
|
|
|
TMP_DIR=/tmp
|
|
|
|
|
2012-01-29 16:58:12 +01:00
|
|
|
# Setup debug level, be more verbose
|
2012-01-30 23:07:08 +01:00
|
|
|
# Optional parameter. Valid values: debug|info. Default: <empty>
|
2012-01-29 16:58:12 +01:00
|
|
|
DEBUG_LEVEL=
|
|
|
|
|
2012-01-28 11:20:26 +01:00
|
|
|
# STATUS - defines the stabability of the build
|
|
|
|
# Valid values:
|
|
|
|
# integration: this is used by a continuous integration server.
|
|
|
|
# NOTE: The 'RELEASE'-variable inside builder-project.cfg
|
|
|
|
# will be increased AUTOMATICALLY !!
|
|
|
|
# testing : it's in the testing/QM process
|
|
|
|
# release : passed the testing and go's to productive
|
|
|
|
STATUS="integration"
|
|
|
|
|
2012-02-01 22:32:30 +01:00
|
|
|
# STATUS_INTEGRATION_RELEASE - automatically created release number,
|
|
|
|
# if STATUS is set to "integration". Valid values: anything, default value: "`date +%Y%m%d%H%M`"
|
|
|
|
# Samples:
|
2013-09-09 05:06:01 +02:00
|
|
|
# "func:inc1" - build-in function "inc1": search the aio-repository for the latested release and increment 1
|
2012-02-06 14:20:56 +01:00
|
|
|
# "`date +%Y%m%d%H%M`" - command output, e.g. the date format YYMMDD-HHMM
|
|
|
|
# "$BUILD_NUMBER" - Environment variables, jenkins https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-JenkinsSetEnvironmentVariables
|
|
|
|
STATUS_INTEGRATION_RELEASE="func:inc1"
|
2012-02-01 22:32:30 +01:00
|
|
|
|
2012-02-01 14:37:59 +01:00
|
|
|
# CHECKSUM_AUTOCREATE - Every downloaded file is checked using SHA1 algorithm
|
|
|
|
# against a checksum file, if this file ist not available, it will be created
|
|
|
|
# on-the-fly, dependent on this setting.
|
|
|
|
# Valid values: true|false, Default: false
|
|
|
|
CHECKSUM_AUTOCREATE=false
|
|
|
|
|
2012-02-01 22:32:30 +01:00
|
|
|
|
2012-01-27 10:00:40 +01:00
|
|
|
###############################
|
|
|
|
# CREATOR
|
|
|
|
###############################
|
2013-09-09 05:06:01 +02:00
|
|
|
# Part of the published AIO-package name
|
|
|
|
# Limitation: max 3 chars (beause AIO limites REVISION to 16 chars)
|
2012-01-28 10:29:54 +01:00
|
|
|
CREATOR_TAG=xx
|
2012-01-27 10:00:40 +01:00
|
|
|
|
|
|
|
# Additonal information from the person creating the packages
|
|
|
|
CREATOR_NAME="Your name"
|
|
|
|
CREATOR_EMAIL="your-email@domain.de"
|
|
|
|
|
2012-01-28 11:20:26 +01:00
|
|
|
|
2012-01-27 01:04:47 +01:00
|
|
|
##################################
|
2013-09-09 05:06:01 +02:00
|
|
|
# AIO repository settings
|
2012-01-27 01:04:47 +01:00
|
|
|
#################################
|
2013-09-09 05:06:01 +02:00
|
|
|
# Basedirectory storing AIO-packages after building
|
|
|
|
AIO_REPOS_BASE_DIR=$HOME/aio-repository
|
2012-01-27 01:04:47 +01:00
|
|
|
|
|
|
|
# Directory- and filename pattern
|
2013-09-09 05:06:01 +02:00
|
|
|
AIO_REPOS_PRODUCT_DIR=${AIO_REPOS_BASE_DIR}/${STATUS}/${VENDOR}/${PN}/${VERSION}-${CREATOR_TAG}${RELEASE}
|
2012-01-27 01:04:47 +01:00
|
|
|
|
2013-09-09 05:06:01 +02:00
|
|
|
# AIO-package filepattern
|
|
|
|
AIO_REPOS_FILE_PATTERN=${PN}_${VERSION}-${CREATOR_TAG}${RELEASE}
|
2012-01-28 10:29:54 +01:00
|
|
|
|
2013-09-09 05:06:01 +02:00
|
|
|
# Force alway upload to aio repos
|
2012-02-04 10:55:24 +01:00
|
|
|
# Target: publish, Valid values: true|false, Default: false
|
2013-09-09 05:06:01 +02:00
|
|
|
# AIO_REPOS_FORCE_UPLOAD=true
|
|
|
|
|
|
|
|
# define the artifacts uploading to the repository (AIO_REPOS_FORCE_UPLOAD must be "true")
|
|
|
|
# AIO_REPOS_UPLOAD_SOURCE product directory
|
|
|
|
# AIO_REPOS_UPLOAD_AIO : aio package
|
|
|
|
# AIO_REPOS_UPLOAD_BIN : File used by aio package creation
|
|
|
|
# AIO_REPOS_UPLOAD_AIO : Additional files (*.md5)
|
|
|
|
AIO_REPOS_UPLOAD_AIO=true
|
|
|
|
AIO_REPOS_UPLOAD_AIO=false
|
|
|
|
AIO_REPOS_UPLOAD_SOURCE=false
|
|
|
|
AIO_REPOS_UPLOAD_BIN=false
|
2012-01-27 01:04:47 +01:00
|
|
|
|
2012-02-06 01:15:25 +01:00
|
|
|
##
|
|
|
|
# Limiting instances of published version
|
|
|
|
# Valid values: true|false
|
2013-09-09 05:06:01 +02:00
|
|
|
AIO_REPOS_PURGE=false
|
2012-02-06 01:15:25 +01:00
|
|
|
|
2012-02-06 19:13:57 +01:00
|
|
|
# Only purge projects using the defined STATUS
|
|
|
|
# ValidValues: integration|testing|release
|
|
|
|
# Defaut: integration
|
2013-09-09 05:06:01 +02:00
|
|
|
AIO_REPOS_PURGE_STATUS=integration
|
2012-02-06 19:13:57 +01:00
|
|
|
|
2012-02-06 01:15:25 +01:00
|
|
|
# defines the max. instances of published versions per product
|
|
|
|
# Valid values: 0...n, 0: disable autocleanup
|
2013-09-09 05:06:01 +02:00
|
|
|
AIO_REPOS_PURGE_LIMIT=3
|
2012-02-06 01:15:25 +01:00
|
|
|
|
|
|
|
# defines limits for special products
|
|
|
|
# Valid values: 0...n, 0: disable autocleanup
|
2013-09-09 05:06:01 +02:00
|
|
|
AIO_REPOS_PURGE_LIMIT_productname1=2
|
|
|
|
AIO_REPOS_PURGE_LIMIT_productname2=6
|
2012-02-06 01:15:25 +01:00
|
|
|
|
2013-05-17 15:11:39 +02:00
|
|
|
# create an gpg signfile
|
2013-09-09 05:06:01 +02:00
|
|
|
AIO_REPOS_UPLOAD_AIO_GPG=false
|
2013-05-17 15:11:39 +02:00
|
|
|
GPG_PASSPHRASE=""
|
2012-02-06 01:15:25 +01:00
|
|
|
|
2012-01-27 01:04:47 +01:00
|
|
|
###############################
|
|
|
|
# Distribution / Vendor settings
|
|
|
|
###############################
|
|
|
|
|
|
|
|
# Directory downloading/cacheing the artifacts like MSI package or icons from the vendor webside
|
2013-09-09 05:06:01 +02:00
|
|
|
DIST_CACHE_DIR=$HOME/.aio-dist-cache/${PN}-${VERSION}
|
2012-01-27 01:04:47 +01:00
|
|
|
|
|
|
|
# private dist repository. You can use all variables from release.cfg insde the URL
|
|
|
|
# this optinal URL will be the FIRST url to check for downloading vendor stuff.
|
|
|
|
# To copy a local file, the repos should start with file://
|
2013-09-09 05:06:01 +02:00
|
|
|
DIST_PRIVATE_REPOS=file://$HOME/aio-dist.private/$VENDOR/$PN/$VERSION
|
2012-01-27 01:04:47 +01:00
|
|
|
|
|
|
|
# Force always downloading dist files
|
2012-01-27 01:19:37 +01:00
|
|
|
# DIST_FORCE_DOWNLOAD=1
|
2012-01-27 01:04:47 +01:00
|
|
|
|