remove opsi and change to 7z create

This commit is contained in:
Mario Fetka
2013-09-09 05:06:01 +02:00
parent 019b384e8a
commit df3c29f0d9
225 changed files with 1886 additions and 14815 deletions

View File

@@ -1,17 +1,17 @@
###################################################
# opsi-builder.cfg
# Default values for opsi-builder system
# aio-builder.cfg
# Default values for aio-builder system
####################################################
#
# Define your local, private, individual, not-project dependent build setup
# in the file ~/.opsi-builder.cfg OR by using the environment variable OPSI_BUILDER
# in the file ~/.aio-builder.cfg OR by using the environment variable AIO_BUILDER
# pointing the the configuration.
# export OPSI_BUILDER=/home/dschwager/work/opsi-builder.cfg
# export AIO_BUILDER=/home/dschwager/work/aio-builder.cfg
# If no files are availble, the default values will be use
# from <opsi-builder-home>/conf/opsi-builder.cfg
# from <aio-builder-home>/conf/aio-builder.cfg
#
# cp <opsi-builder-home>/conf/opsi-builder.cfg $HOME/.opsi-builder.cfg
# vi $HOME/.opsi-builder.cfg
# cp <aio-builder-home>/conf/aio-builder.cfg $HOME/.aio-builder.cfg
# vi $HOME/.aio-builder.cfg
# may you will change some locations
###################################################
@@ -38,7 +38,7 @@ 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:
# "func:inc1" - build-in function "inc1": search the opsi-repository for the latested release and increment 1
# "func:inc1" - build-in function "inc1": search the aio-repository for the latested release and increment 1
# "`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"
@@ -53,8 +53,8 @@ CHECKSUM_AUTOCREATE=false
###############################
# CREATOR
###############################
# Part of the published OPSI-package name
# Limitation: max 3 chars (beause OPSI limites REVISION to 16 chars)
# Part of the published AIO-package name
# Limitation: max 3 chars (beause AIO limites REVISION to 16 chars)
CREATOR_TAG=xx
# Additonal information from the person creating the packages
@@ -63,57 +63,52 @@ CREATOR_EMAIL="your-email@domain.de"
##################################
# OPSI repository settings
# AIO repository settings
#################################
# Basedirectory storing OPSI-packages after building
OPSI_REPOS_BASE_DIR=$HOME/opsi-repository
# Basedirectory storing AIO-packages after building
AIO_REPOS_BASE_DIR=$HOME/aio-repository
# Directory- and filename pattern
OPSI_REPOS_PRODUCT_DIR=${OPSI_REPOS_BASE_DIR}/${STATUS}/${VENDOR}/${PN}/${VERSION}-${CREATOR_TAG}${RELEASE}
AIO_REPOS_PRODUCT_DIR=${AIO_REPOS_BASE_DIR}/${STATUS}/${VENDOR}/${PN}/${VERSION}-${CREATOR_TAG}${RELEASE}
# OPSI-package filepattern
OPSI_REPOS_FILE_PATTERN=${PN}_${VERSION}-${CREATOR_TAG}${RELEASE}
# AIO-package filepattern
AIO_REPOS_FILE_PATTERN=${PN}_${VERSION}-${CREATOR_TAG}${RELEASE}
# Force alway upload to opsi repos
# Force alway upload to aio repos
# Target: publish, Valid values: true|false, Default: false
# OPSI_REPOS_FORCE_UPLOAD=true
# AIO_REPOS_FORCE_UPLOAD=true
# define the artifacts uploading to the repository (OPSI_REPOS_FORCE_UPLOAD must be "true")
# 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_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
OPSI_REPOS_UPLOAD_OPSI=true
OPSI_REPOS_UPLOAD_OPSI_ZSYNC=false
OPSI_REPOS_UPLOAD_SOURCE=false
OPSI_REPOS_UPLOAD_BIN=false
OPSI_REPOS_OPSIMANAGER_INSTALL=false
# 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
##
# Limiting instances of published version
# Valid values: true|false
OPSI_REPOS_PURGE=false
AIO_REPOS_PURGE=false
# Only purge projects using the defined STATUS
# ValidValues: integration|testing|release
# Defaut: integration
OPSI_REPOS_PURGE_STATUS=integration
AIO_REPOS_PURGE_STATUS=integration
# defines the max. instances of published versions per product
# Valid values: 0...n, 0: disable autocleanup
OPSI_REPOS_PURGE_LIMIT=3
AIO_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
AIO_REPOS_PURGE_LIMIT_productname1=2
AIO_REPOS_PURGE_LIMIT_productname2=6
# create an gpg signfile
OPSI_REPOS_UPLOAD_OPSI_GPG=false
AIO_REPOS_UPLOAD_AIO_GPG=false
GPG_PASSPHRASE=""
###############################
@@ -121,12 +116,12 @@ GPG_PASSPHRASE=""
###############################
# Directory downloading/cacheing the artifacts like MSI package or icons from the vendor webside
DIST_CACHE_DIR=$HOME/.opsi-dist-cache/${PN}-${VERSION}
DIST_CACHE_DIR=$HOME/.aio-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
DIST_PRIVATE_REPOS=file://$HOME/aio-dist.private/$VENDOR/$PN/$VERSION
# Force always downloading dist files
# DIST_FORCE_DOWNLOAD=1