init
This commit is contained in:
parent
9be0bd41f1
commit
ac921e7f9d
18
doc/FeatureList.txt
Normal file
18
doc/FeatureList.txt
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
- Fri 27.01.2012 09:44, dschwager
|
||||||
|
- Add maven for handling all archives
|
||||||
|
opsi-archive: Storing all generated opsi-packets ($OPSI_REPOS_BASE_DIR)
|
||||||
|
dist-private: archive for all not public installer/MSI files ($DIST_PRIVATE_REPOS)
|
||||||
|
|
||||||
|
Advantage: maven supports all kind of fileaccess (http, sftp, webdatev, smb, ...)
|
||||||
|
and we have to to code the up/downloading from the artifacts.
|
||||||
|
|
||||||
|
- Add integration to jenkins (An extendable open source continuous integration server)
|
||||||
|
http://jenkins-ci.org/ (Old: http://hudson-ci.org/, http://java.net/projects/hudson/)
|
||||||
|
- a opsi-hudson.sh will be called as a meta builder. This will trigger the normale opsi-builder.sh
|
||||||
|
|
||||||
|
- autoamtially tagging GIT tree, if a new "release" (OPSI_STATUS==release) was created
|
||||||
|
- opsi-builder.cfg:
|
||||||
|
OPSI_STATUS=[release|beta|integration] - tells about the build state
|
||||||
|
|
||||||
|
should be done.
|
||||||
|
|
@ -5,25 +5,38 @@
|
|||||||
# check the sample build_local.cfg located inside the itwatch project
|
# check the sample build_local.cfg located inside the itwatch project
|
||||||
##############################
|
##############################
|
||||||
|
|
||||||
# requirements
|
# requirements for RHEL/Centos
|
||||||
yum install plowshare
|
yum install plowshare
|
||||||
yum install ImageMagick
|
yum install ImageMagick
|
||||||
yum install git
|
yum install git
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Define your local, private, individual, not-project dependent build setup
|
# Define your local, private, individual, not-project dependent build setup
|
||||||
# in the file ~/.builder.cfg OR by using the environment variable BUILD_LOCAL_CFG
|
# in the file ~/.opsi-builder.cfg OR by using the environment variable OPSI_BUILDER
|
||||||
# pointing the the configuration.
|
# pointing the the configuration.
|
||||||
# export BUILD_LOCAL_CFG=/home/dschwager/work/itwatch/build_local.cfg
|
# export OPSI_BUILDER=/home/dschwager/work/opsi-builder.cfg
|
||||||
# If no files are availble, the default values will be use.
|
# If no files are availble, the default values will be use
|
||||||
|
# from <opsi-builder-home>/conf/opsi-builder.cfg
|
||||||
|
|
||||||
# Start build
|
cp <opsi-builder-home>/conf/opsi-builder.cfg $HOME/.opsi-builder.cfg
|
||||||
builder.sh <path-to-the-project>
|
vi $HOME/.opsi-builder.cfg
|
||||||
builder.sh /home/dschwager/work/itwatch
|
# may you will change some locations
|
||||||
|
|
||||||
# Force downloading vendor files
|
# May you will add opsi-builder.sh to your PATH
|
||||||
DIST_FORCE_DOWNLOAD=1 builder.sh /home/dschwager/work/itwatch
|
export PATH=$HOME/work/devtools/bin:$PATH
|
||||||
|
|
||||||
|
# Start building
|
||||||
|
opsi-builder.sh <path-to-the-project>
|
||||||
|
|
||||||
|
cd <path-to-the-project> ; opsi-builder.sh
|
||||||
|
|
||||||
|
You can overwrite all variables in opsi-builder.cfg by command, e.g. by
|
||||||
|
# Force downloading vendor files
|
||||||
|
DIST_FORCE_DOWNLOAD=1 builder.sh /home/dschwager/work/itwatch
|
||||||
|
|
||||||
|
# Force upload independent of existing OPSI-Package in repository
|
||||||
|
OPSI_REPOS_FORCE_UPLOAD=1 builder.sh /home/dschwager/work/itwatch
|
||||||
|
|
||||||
# Force upload independent of existing OPSI-Package in repository
|
|
||||||
OPSI_REPOS_FORCE_UPLOAD=1 builder.sh /home/dschwager/work/itwatch
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user