2012-01-27 01:04:47 +01:00
|
|
|
###################################################
|
2012-01-30 23:07:08 +01:00
|
|
|
# opsi-builder.cfg
|
|
|
|
# Default values for opsi-builder system
|
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:
|
|
|
|
# "`date +%Y%m%d%H%M`"
|
|
|
|
# "$BUILD_NUMBER" - jenkins https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-JenkinsSetEnvironmentVariables
|
|
|
|
STATUS_INTEGRATION_RELEASE="`date +%Y%m%d%H%M`"
|
|
|
|
|
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
|
|
|
|
###############################
|
|
|
|
# Part of the published OPSI-package name
|
2012-01-28 10:29:54 +01:00
|
|
|
# Limitation: max 3 chars (beause OPSI limites REVISION to 16 chars)
|
|
|
|
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
|
|
|
##################################
|
|
|
|
# OPSI repository settings
|
|
|
|
#################################
|
|
|
|
# Basedirectory storing OPSI-packages after building
|
|
|
|
OPSI_REPOS_BASE_DIR=$HOME/.opsi-repository
|
|
|
|
|
|
|
|
# Directory- and filename pattern
|
2012-01-29 15:08:06 +01:00
|
|
|
OPSI_REPOS_PRODUCT_DIR=${OPSI_REPOS_BASE_DIR}/${STATUS}/${VENDOR}/${PN}/${VERSION}-${CREATOR_TAG}${RELEASE}
|
2012-01-27 01:04:47 +01:00
|
|
|
|
|
|
|
# OPSI-package filepattern
|
2012-01-28 12:27:03 +01:00
|
|
|
OPSI_REPOS_FILE_PATTERN=${PN}_${VERSION}-${CREATOR_TAG}${RELEASE}
|
2012-01-28 10:29:54 +01:00
|
|
|
|
2012-01-27 01:04:47 +01:00
|
|
|
# Force alway upload to opsi repos
|
2012-02-04 10:55:24 +01:00
|
|
|
# Target: publish, Valid values: true|false, Default: false
|
2012-01-29 15:08:06 +01:00
|
|
|
# OPSI_REPOS_FORCE_UPLOAD=true
|
2012-01-27 01:04:47 +01:00
|
|
|
|
2012-02-04 10:55:24 +01:00
|
|
|
# define the artifacts uploading to the repository (OPSI_REPOS_FORCE_UPLOAD must be "true")
|
|
|
|
# OPSI_REPOS_UPLOAD_SOURCE product directory
|
2012-02-01 22:32:30 +01:00
|
|
|
# OPSI_REPOS_UPLOAD_OPSI : opsi package
|
2012-02-04 10:55:24 +01:00
|
|
|
# OPSI_REPOS_UPLOAD_BIN : File used by opsi package creation
|
|
|
|
# OPSI_REPOS_UPLOAD_OPSI_ZSYNC : Additional files (*.md5, *.zsync) to sync opsi package using opsi-product-updater
|
|
|
|
# OPSI_REPOS_OPSIMANAGER_INSTALL : Install the created opsi packet automatically after building
|
|
|
|
# It equal to the command "opsi-package-manager -i"
|
|
|
|
# Note: the OPSI_REPOS_BASE_DIR must be RW for the user pcpatch.
|
|
|
|
# You must be member of the unix group pcpatch&opsiadmin
|
2012-02-01 22:32:30 +01:00
|
|
|
OPSI_REPOS_UPLOAD_OPSI=true
|
|
|
|
OPSI_REPOS_UPLOAD_OPSI_ZSYNC=false
|
|
|
|
OPSI_REPOS_UPLOAD_SOURCE=true
|
|
|
|
OPSI_REPOS_UPLOAD_BIN=false
|
2012-02-04 10:55:24 +01:00
|
|
|
OPSI_REPOS_OPSIMANAGER_INSTALL=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
|
|
|
|
OPSI_REPOS_PURGE=false
|
|
|
|
|
|
|
|
# defines the max. instances of published versions per product
|
|
|
|
# Valid values: 0...n, 0: disable autocleanup
|
|
|
|
OPSI_REPOS_PURGE_LIMIT=3
|
|
|
|
|
|
|
|
# defines limits for special products
|
|
|
|
# Valid values: 0...n, 0: disable autocleanup
|
|
|
|
OPSI_REPOS_PURGE_LIMIT_productname1=2
|
|
|
|
OPSI_REPOS_PURGE_LIMIT_productname2=6
|
|
|
|
|
|
|
|
|
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
|
|
|
|
DIST_CACHE_DIR=$HOME/.opsi-dist-cache/${PN}-${VERSION}
|
|
|
|
|
|
|
|
# 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://
|
|
|
|
DIST_PRIVATE_REPOS=file://$HOME/opsi-dist.private/$VENDOR/$PN/$VERSION
|
|
|
|
|
|
|
|
# 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
|
|
|
|