opsi.opsi-builder/conf/opsi-builder.cfg
Daniel Schwager 14537d40ca - new: to customize the RELEASE in integration mode (STATUS=integration), STATUS_INTEGRATION_RELEASE was introduced.
- new: new variables OPSI_REPOS_UPLOAD_* to defined the artifacts uploading to the repository
- new: new files <product>.(zsync|md5) created for better integration to opsi-product-updater
-
2012-02-01 22:32:30 +01:00

92 lines
3.3 KiB
INI

###################################################
# opsi-builder.cfg
# Default values for opsi-builder system
####################################################
##################################
# Global variables
#################################
TMP_DIR=/tmp
# Setup debug level, be more verbose
# Optional parameter. Valid values: debug|info. Default: <empty>
DEBUG_LEVEL=
# 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"
# 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`"
# 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
###############################
# CREATOR
###############################
# Part of the published OPSI-package name
# Limitation: max 3 chars (beause OPSI limites REVISION to 16 chars)
CREATOR_TAG=xx
# Additonal information from the person creating the packages
CREATOR_NAME="Your name"
CREATOR_EMAIL="your-email@domain.de"
##################################
# OPSI repository settings
#################################
# Basedirectory storing OPSI-packages after building
OPSI_REPOS_BASE_DIR=$HOME/.opsi-repository
# Directory- and filename pattern
OPSI_REPOS_PRODUCT_DIR=${OPSI_REPOS_BASE_DIR}/${STATUS}/${VENDOR}/${PN}/${VERSION}-${CREATOR_TAG}${RELEASE}
# OPSI-package filepattern
OPSI_REPOS_FILE_PATTERN=${PN}_${VERSION}-${CREATOR_TAG}${RELEASE}
# Force alway upload to opsi repos
# OPSI_REPOS_FORCE_UPLOAD=true
# define the artifacts uploading to the repository
# Default:
# OPSI_REPOS_UPLOAD_SOURCE : product directory
# OPSI_REPOS_UPLOAD_OPSI : opsi package
# 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_UPLOAD_OPSI=true
OPSI_REPOS_UPLOAD_OPSI_ZSYNC=false
OPSI_REPOS_UPLOAD_SOURCE=true
OPSI_REPOS_UPLOAD_BIN=false
###############################
# 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
# DIST_FORCE_DOWNLOAD=1