Mathias Klette [Wed, 8 May 2013 17:31:31 +0000 (19:31 +0200)]
liveboot_rsync: don't use archive option for rsync
liveboot_rsync facilitates rsync module whileas dcmanager uses
a dedicated user to sync files via SSH. this causes rsync daemon
on mgmt1 to reset permissions in such a way that dcmanager isn't
capable of resetting the mtime value of "." (parent directory of
destination) and hence throws error in UI. dcmanager doesn't use
the same rsync options (yet), which could make sense to have both
sources operating the same way.
Mathias Klette [Thu, 2 May 2013 08:38:14 +0000 (10:38 +0200)]
remove CWD variable from common_code
- which used jenkins provided environment variable 'WORKSPACE'
- this in turns leads to errors in debian_repos2db.sh when no such variable exists
- replaced all occurences of CWD in debian_build with it's corresponding ENV['WORKSPACE'] variable
liveboot: report build status to testlink testcase
The liveboot webinterface creates now the testlink project for every new
liveboot image. The jenkins build script reports if a liveboot image
build was successful or failed to a testlink testcase.
liveboot: report build status to testlink testcase
The liveboot webinterface creates now the testlink project for every new
liveboot image. The jenkins build script reports if a liveboot image
build was successful or failed to a testlink testcase.
Dongsu Park [Wed, 24 Apr 2013 09:19:38 +0000 (11:19 +0200)]
extract_storage: change way of obtaining the last develop build number
This commit includes the following bug fixes.
1. get_last_target_build_no() changes its way of obtaining the last
build number of a given target, e.g. develop. So far the function
has tried to get the most recent subdirectory under
/srv/storage-kernels/develop, for example 412. However, that was
slightly buggy, because it returned a wrong value if no subdirectory
exists. As the subdirectories get cleaned up at the end of this script,
such case can happen actually quite often. Therefore the solution is
to parse tarball's filenames to get the last build number.
2. It changed how to install debian package from feature branches.
Sometimes it's not possible to install a debian package with an
option "-t $DISTRIBUTION", especially when $DISTRIBUTION is the one
for feature branch. So let's add a version number to apt-get install
command, to be more specific. i.e. "package_name=version_number"
3. A small bugfix in case of experimental distribution.
Distribution name for sources.list should be $TARGET_NAME instead of
$DISTRIBUTION, because $DISTRIBUTION does not indicates the name of
an individual feature branch, since the recent change by Mathias.
4. A small bugfix. If $PB_SUITE is an empty string, set TARGET_NAME to
master by default. Otherwise the entire script could sometimes work
in a wrong way.
Dongsu Park [Wed, 24 Apr 2013 09:19:38 +0000 (11:19 +0200)]
extract_storage: change way of obtaining the last develop build number
This commit includes the following bug fixes.
1. get_last_target_build_no() changes its way of obtaining the last
build number of a given target, e.g. develop. So far the function
has tried to get the most recent subdirectory under
/srv/storage-kernels/develop, for example 412. However, that was
slightly buggy, because it returned a wrong value if no subdirectory
exists. As the subdirectories get cleaned up at the end of this script,
such case can happen actually quite often. Therefore the solution is
to parse tarball's filenames to get the last build number.
2. It changed how to install debian package from feature branches.
Sometimes it's not possible to install a debian package with an
option "-t $DISTRIBUTION", especially when $DISTRIBUTION is the one
for feature branch. So let's add a version number to apt-get install
command, to be more specific. i.e. "package_name=version_number"
3. A small bugfix in case of experimental distribution.
Distribution name for sources.list should be $TARGET_NAME instead of
$DISTRIBUTION, because $DISTRIBUTION does not indicates the name of
an individual feature branch, since the recent change by Mathias.
4. A small bugfix. If $PB_SUITE is an empty string, set TARGET_NAME to
master by default. Otherwise the entire script could sometimes work
in a wrong way.