]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/log
profitbricks/jenkins-build-scripts.git
11 years agostorage_deploy: auto-deploys a storage server (not yet functional!)
Thilo Fromm [Tue, 23 Apr 2013 16:25:05 +0000 (18:25 +0200)]
storage_deploy: auto-deploys a storage server (not yet functional!)

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agofixup! liveboot: report build status to testlink testcase
Fabian Holler [Tue, 30 Apr 2013 11:27:51 +0000 (13:27 +0200)]
fixup! liveboot: report build status to testlink testcase

11 years agoliveboot: report build status to testlink testcase
Fabian Holler [Tue, 30 Apr 2013 10:05:50 +0000 (12:05 +0200)]
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.

11 years agoupdate liveboot_pserver_reset: ensure /dev/sda1 is mounted
Mathias Klette [Tue, 30 Apr 2013 08:58:40 +0000 (10:58 +0200)]
update liveboot_pserver_reset: ensure /dev/sda1 is mounted

11 years agoadding files as of request by mschiller
Mathias Klette [Mon, 29 Apr 2013 15:51:32 +0000 (17:51 +0200)]
adding files as of request by mschiller

11 years agoupdate debian_build: fix the second (same) conversion error
Mathias Klette [Wed, 24 Apr 2013 18:33:07 +0000 (20:33 +0200)]
update debian_build: fix the second (same) conversion error

- define the string only once
- use this variable for both invokations then

11 years agoupdate debian_build: fix convertion error in exception messages
Mathias Klette [Wed, 24 Apr 2013 18:28:59 +0000 (20:28 +0200)]
update debian_build: fix convertion error in exception messages

11 years agoextract_storage: change way of obtaining the last develop build number
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.

11 years agoupdate storage-extract: use branchname to determine correct distribution
Mathias Klette [Tue, 23 Apr 2013 09:45:10 +0000 (11:45 +0200)]
update storage-extract: use branchname to determine correct distribution

11 years agoMerge branch 'feature/storage-feature-branch' into develop
Mathias Klette [Mon, 22 Apr 2013 09:56:07 +0000 (11:56 +0200)]
Merge branch 'feature/storage-feature-branch' into develop

11 years agoupdate debian_build.py: new jobs with automatic changelog management
Mathias Klette [Fri, 19 Apr 2013 17:19:29 +0000 (19:19 +0200)]
update debian_build.py: new jobs with automatic changelog management

- based on changes in 59739f4 by Thilo Fromm - thanks!

11 years agoextract_storage: change build number naming scheme for feature branch
Dongsu Park [Thu, 18 Apr 2013 11:38:58 +0000 (13:38 +0200)]
extract_storage: change build number naming scheme for feature branch

This is only a temporary solution to resolve build number conflicts
on Gentoo systems. Without the change, it's nearly impossible to manage
different ebuilds for both master/develop branches and feature branches.
For the example above, new ebuilds for feature branch (build no. 150)
should be recognized as a newer version than the last develop kernel.
In reality, however, the develop kernel has its build number 395, and
the feature build number 150 will be recognized as its previous version.

To avoid such confusion, change build number naming scheme,
from a simple number to a more precise string according to a format

  $(last_develop_buildno).$(feature_buildno)

, where $(last_develop_buildno) is the most recent build number
in the develop branch, and $(feature_buildno) is the current feature
branch's build number. For example, if the last build number of develop
branch is 395, and that of feature branch is 150, then the output string
will be "395.150".

11 years agoi'm really sad about having to add this disclaimer now, not adding it earlier and...
Holger Levsen [Thu, 18 Apr 2013 15:12:13 +0000 (17:12 +0200)]
i'm really sad about having to add this disclaimer now, not adding it earlier and letting this code rott this much. its working code, yes, but unreadable too. but it's definitly not too late to clean it all up

11 years agoadd info about who wrote the script (and is likely able to maintain it)
Holger Levsen [Thu, 18 Apr 2013 09:20:35 +0000 (11:20 +0200)]
add info about who wrote the script (and is likely able to maintain it)

11 years agoinstall kernel first, then modules
Holger Levsen [Thu, 18 Apr 2013 09:20:14 +0000 (11:20 +0200)]
install kernel first, then modules

11 years agoextract_storage_kernel+modules: add support for feature branches
Dongsu Park [Wed, 17 Apr 2013 12:05:44 +0000 (14:05 +0200)]
extract_storage_kernel+modules: add support for feature branches

Now extract_storage_kernel+modules is able to copy kernel images
from feature branches. Output tar.gz file will be stored under
/srv/storage-kernels/$DISTRIBUTION/, where $DISTRIBUTION indicates
target name for a feature branch. (e.g. dev-feature-ssdcache-all)

11 years agobetter log message
Holger Levsen [Tue, 16 Apr 2013 17:16:47 +0000 (19:16 +0200)]
better log message

11 years agoalso increment version
Holger Levsen [Tue, 16 Apr 2013 16:47:22 +0000 (18:47 +0200)]
also increment version

11 years agodont spawn an editor
Holger Levsen [Tue, 16 Apr 2013 16:22:26 +0000 (18:22 +0200)]
dont spawn an editor

11 years agoMerge branch 'develop' of ssh://git.pb.local/srv/git/so/jenkins_build_script into...
Holger Levsen [Tue, 16 Apr 2013 16:14:10 +0000 (18:14 +0200)]
Merge branch 'develop' of ssh://git.pb.local/srv/git/so/jenkins_build_script into develop

11 years agoadd support for auto-releases of master branch (for ri- and so-docs)
Holger Levsen [Tue, 16 Apr 2013 16:13:59 +0000 (18:13 +0200)]
add support for auto-releases of master branch (for ri- and so-docs)

11 years agoliveboot_rsync: fix filter: use recursive wildcard
Mathias Klette [Tue, 16 Apr 2013 15:27:28 +0000 (17:27 +0200)]
liveboot_rsync: fix filter: use recursive wildcard

11 years agoliveboot_rsync: use filters and new rsync module for production
Mathias Klette [Tue, 16 Apr 2013 15:22:33 +0000 (17:22 +0200)]
liveboot_rsync: use filters and new rsync module for production

11 years agodont delete the new tar archives..
Holger Levsen [Tue, 9 Apr 2013 15:53:43 +0000 (17:53 +0200)]
dont delete the new tar archives..

11 years agocreate tar archive containing everything for gentoo
Holger Levsen [Tue, 9 Apr 2013 15:40:43 +0000 (17:40 +0200)]
create tar archive containing everything for gentoo

Signed-off-by: Holger Levsen <holger@layer-acht.org>
11 years agoRevert "liveboot_mirror: change target for DC mirror (handled by DC Manager now)"
Mathias Klette [Mon, 8 Apr 2013 10:08:16 +0000 (12:08 +0200)]
Revert "liveboot_mirror: change target for DC mirror (handled by DC Manager now)"

This reverts commit 0904082c26e7a0140f98b2b0ea067422bee6d240.

directly syncing to liveboot-dcmanager module leads to erase of SSH and PXE configurations,
liveboot rsync stays at it is right now but probably we can sync to localhost to transfer
images from /srv/mirror/liveboot to the intended location of /srv/tftp/liveboot-dcmanager

11 years agoliveboot_mirror: change target for DC mirror (handled by DC Manager now)
Mathias Klette [Mon, 8 Apr 2013 09:23:39 +0000 (11:23 +0200)]
liveboot_mirror: change target for DC mirror (handled by DC Manager now)

11 years agofixup linebreak in fcca1aa77828576af1ad2e76fc4d061866500efb
Holger Levsen [Wed, 3 Apr 2013 08:18:50 +0000 (10:18 +0200)]
fixup linebreak in fcca1aa77828576af1ad2e76fc4d061866500efb

11 years agoliveboot_gw_autotest: add platform option
Thilo Fromm [Wed, 3 Apr 2013 07:01:55 +0000 (09:01 +0200)]
liveboot_gw_autotest: add platform option

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agoliveboot-testlink: fix a typo which resulted in NOP
Thilo Fromm [Tue, 2 Apr 2013 15:47:35 +0000 (17:47 +0200)]
liveboot-testlink: fix a typo which resulted in NOP

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agogw-autoetest.logparse.rules: be less picky about ignored warnings
Holger Levsen [Tue, 2 Apr 2013 15:35:19 +0000 (17:35 +0200)]
gw-autoetest.logparse.rules: be less picky about ignored warnings

11 years agoliveboot-autotest: split compile, run into two ssh calls
Thilo Fromm [Tue, 2 Apr 2013 14:02:04 +0000 (16:02 +0200)]
liveboot-autotest: split compile, run into two ssh calls

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agoliveboot_gw_autotest.sh: mostly stylistic changes
Holger Levsen [Tue, 2 Apr 2013 12:55:51 +0000 (14:55 +0200)]
liveboot_gw_autotest.sh: mostly stylistic changes

11 years agoliveboot: TestLink build + tests integration
Thilo Fromm [Tue, 2 Apr 2013 12:21:37 +0000 (14:21 +0200)]
liveboot: TestLink build + tests integration

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agofixup: strip newline when recreating (master) changelogs. (Closes: #DEVINF-350)
Holger Levsen [Wed, 27 Mar 2013 12:42:05 +0000 (13:42 +0100)]
fixup: strip newline when recreating (master) changelogs. (Closes: #DEVINF-350)

11 years agoliveboot_gw_autotests: also run vcb tests
Holger Levsen [Wed, 27 Mar 2013 12:26:24 +0000 (13:26 +0100)]
liveboot_gw_autotests: also run vcb tests

11 years agouse master branch of git://git/ri/autotest.git as requested by Marjan
Holger Levsen [Wed, 27 Mar 2013 12:19:06 +0000 (13:19 +0100)]
use master branch of git://git/ri/autotest.git as requested by Marjan

11 years agostrip newline when recreating (master) changelogs. (Closes: #DEVINF-350)
Holger Levsen [Wed, 27 Mar 2013 12:10:55 +0000 (13:10 +0100)]
strip newline when recreating (master) changelogs. (Closes: #DEVINF-350)

11 years agoscript to update jenkins scripts on sagunt
Holger Levsen [Sat, 9 Mar 2013 22:39:52 +0000 (23:39 +0100)]
script to update jenkins scripts on sagunt

11 years agoexplain where liveboot-development images are
Holger Levsen [Fri, 8 Mar 2013 11:53:03 +0000 (12:53 +0100)]
explain where liveboot-development images are

11 years agomore drama
Holger Levsen [Fri, 8 Mar 2013 11:29:07 +0000 (12:29 +0100)]
more drama

11 years agoadd warning if there are too many images
Holger Levsen [Fri, 8 Mar 2013 10:34:59 +0000 (11:34 +0100)]
add warning if there are too many images

11 years agouse less strict regex
Holger Levsen [Thu, 7 Mar 2013 18:45:41 +0000 (19:45 +0100)]
use less strict regex

11 years agoignore ssh warnings
Holger Levsen [Thu, 7 Mar 2013 18:22:18 +0000 (19:22 +0100)]
ignore ssh warnings

11 years agoignore one warning, treat another as fatal
Holger Levsen [Thu, 7 Mar 2013 17:34:48 +0000 (18:34 +0100)]
ignore one warning, treat another as fatal

11 years agouse ssh/scp correctly
Holger Levsen [Thu, 7 Mar 2013 12:04:59 +0000 (13:04 +0100)]
use ssh/scp correctly

11 years agosplit testdeploy script into two, seperate sending mails
Holger Levsen [Thu, 7 Mar 2013 11:50:18 +0000 (12:50 +0100)]
split testdeploy script into two, seperate sending mails

11 years agodont start process in background+
Holger Levsen [Wed, 6 Mar 2013 11:25:39 +0000 (12:25 +0100)]
dont start process in background+

11 years agoforce reboot+retry if the system doesnt come up correctly
Holger Levsen [Wed, 6 Mar 2013 08:40:34 +0000 (09:40 +0100)]
force reboot+retry if the system doesnt come up correctly

11 years agonew feature: console log output parsing
Holger Levsen [Tue, 5 Mar 2013 18:29:11 +0000 (19:29 +0100)]
new feature: console log output parsing

11 years agokill ssh-agent after using it
Holger Levsen [Tue, 5 Mar 2013 14:17:45 +0000 (15:17 +0100)]
kill ssh-agent after using it

11 years agouse ssh agendt
Holger Levsen [Tue, 5 Mar 2013 14:06:42 +0000 (15:06 +0100)]
use ssh agendt

11 years agobetter sleep heuristic
Holger Levsen [Tue, 5 Mar 2013 12:29:14 +0000 (13:29 +0100)]
better sleep heuristic

11 years agoliveboot autotest: work in progress
Holger Levsen [Mon, 4 Mar 2013 18:45:32 +0000 (19:45 +0100)]
liveboot autotest: work in progress

11 years agoautotests: work in progress
Holger Levsen [Mon, 4 Mar 2013 17:47:08 +0000 (18:47 +0100)]
autotests: work in progress

11 years agoadd script to run liveboot-gw autotests from within jenkins
Holger Levsen [Mon, 4 Mar 2013 17:16:25 +0000 (18:16 +0100)]
add script to run liveboot-gw autotests from within jenkins

11 years agocount existing images and issue warning if number is greater then 10
Holger Levsen [Tue, 26 Feb 2013 18:16:05 +0000 (19:16 +0100)]
count existing images and issue warning if number is greater then 10

11 years agori_linstall: show sources.list
Holger Levsen [Thu, 21 Feb 2013 12:12:40 +0000 (13:12 +0100)]
ri_linstall: show sources.list

11 years agori testinstalls: better stats
Holger Levsen [Thu, 21 Feb 2013 11:36:30 +0000 (12:36 +0100)]
ri testinstalls: better stats

11 years agoshow some system stats after installation
Holger Levsen [Thu, 21 Feb 2013 10:59:39 +0000 (11:59 +0100)]
show some system stats after installation

11 years agobe less verbose
Holger Levsen [Thu, 21 Feb 2013 10:41:40 +0000 (11:41 +0100)]
be less verbose

11 years agoinitial scripts to install cr13 and gw1301
Holger Levsen [Wed, 20 Feb 2013 17:30:16 +0000 (18:30 +0100)]
initial scripts to install cr13 and gw1301

11 years agoa dns change a day keeps the bla away
Holger Levsen [Wed, 20 Feb 2013 13:57:15 +0000 (14:57 +0100)]
a dns change a day keeps the bla away

11 years agooutput also to local console
Holger Levsen [Wed, 20 Feb 2013 12:04:34 +0000 (13:04 +0100)]
output also to local console

11 years agouse right serial console
Holger Levsen [Wed, 20 Feb 2013 11:23:44 +0000 (12:23 +0100)]
use right serial console

11 years agopxe_riserver_setup: reboot after installation, use serial console for output
Holger Levsen [Wed, 20 Feb 2013 10:35:38 +0000 (11:35 +0100)]
pxe_riserver_setup: reboot after installation, use serial console for output

11 years agono logging for db connections
Holger Levsen [Wed, 20 Feb 2013 09:48:34 +0000 (10:48 +0100)]
no logging for db connections

11 years agopserver2 is now pserver1301
Holger Levsen [Thu, 7 Feb 2013 14:49:19 +0000 (15:49 +0100)]
pserver2 is now pserver1301

11 years agochmod is not needed anymore
Holger Levsen [Thu, 7 Feb 2013 12:47:07 +0000 (13:47 +0100)]
chmod is not needed anymore

11 years agouse jerusalem as pxe server
Holger Levsen [Thu, 7 Feb 2013 12:45:33 +0000 (13:45 +0100)]
use jerusalem as pxe server

11 years agofix chmod target and visual output
Holger Levsen [Thu, 7 Feb 2013 10:26:50 +0000 (11:26 +0100)]
fix chmod target and visual output

11 years agomake the file world readable
Holger Levsen [Thu, 7 Feb 2013 10:20:51 +0000 (11:20 +0100)]
make the file world readable

11 years agonew script to setup pxe on riserver
Holger Levsen [Thu, 7 Feb 2013 10:12:53 +0000 (11:12 +0100)]
new script to setup pxe on riserver

11 years agofixup! use cidb_dev database for liveboot_development jobs
Fabian Holler [Wed, 30 Jan 2013 11:58:12 +0000 (12:58 +0100)]
fixup! use cidb_dev database for liveboot_development jobs

11 years agouse cidb_dev database for liveboot_development jobs
Fabian Holler [Wed, 30 Jan 2013 11:48:29 +0000 (12:48 +0100)]
use cidb_dev database for liveboot_development jobs

if the env variable GIT_BRANCH == "master" the database "cidb" is used
else "cidb_dev" is used as db

11 years agoswitch to pb.local
Holger Levsen [Tue, 29 Jan 2013 16:59:55 +0000 (17:59 +0100)]
switch to pb.local

11 years agofixup: fix liveboot_rsync to not fail (completly) if a destination datacenter is...
Holger Levsen [Fri, 25 Jan 2013 09:22:39 +0000 (10:22 +0100)]
fixup: fix liveboot_rsync to not fail (completly) if a destination datacenter is down (like pbb-de atm)

11 years ago fix liveboot_rsync to not fail (completly) if a destination datacenter is down ...
Holger Levsen [Fri, 25 Jan 2013 09:17:34 +0000 (10:17 +0100)]
 fix liveboot_rsync to not fail (completly) if a destination datacenter is down (like pbb-de atm)

11 years agoquickfix DEVINF-344
Holger Levsen [Thu, 24 Jan 2013 09:58:44 +0000 (10:58 +0100)]
quickfix DEVINF-344

11 years agono info output on every cidb connection
Holger Levsen [Wed, 23 Jan 2013 14:19:08 +0000 (15:19 +0100)]
no info output on every cidb connection

11 years agouse cidb only when using master branch, else use cidb_dev
Holger Levsen [Tue, 22 Jan 2013 17:46:45 +0000 (18:46 +0100)]
use cidb only when using master branch, else use cidb_dev

11 years agosudo make me a sandwhich
Holger Levsen [Tue, 15 Jan 2013 16:08:12 +0000 (17:08 +0100)]
sudo make me a sandwhich

11 years agofixup: correctly fail build on unknown sections
Holger Levsen [Mon, 14 Jan 2013 17:59:26 +0000 (18:59 +0100)]
fixup: correctly fail build on unknown sections

11 years agofixup: correctly fail build on unknown sections
Holger Levsen [Mon, 14 Jan 2013 17:51:41 +0000 (18:51 +0100)]
fixup: correctly fail build on unknown sections

11 years agocorrectly fail build on unknown sections
Holger Levsen [Mon, 14 Jan 2013 17:48:07 +0000 (18:48 +0100)]
correctly fail build on unknown sections

11 years agoMerge branch 'develop' of ssh://git/srv/git/so/jenkins_build_script into develop
Mathias Klette [Thu, 20 Dec 2012 13:52:14 +0000 (14:52 +0100)]
Merge branch 'develop' of ssh://git/srv/git/so/jenkins_build_script into develop

11 years agoalso include profile in livebuild rsync that have additional profiles used
Mathias Klette [Thu, 20 Dec 2012 13:51:25 +0000 (14:51 +0100)]
also include profile in livebuild rsync that have additional profiles used

11 years agoMerge branch 'develop' of ssh://git.profitbricks.localdomain/srv/git/so/jenkins_build...
Holger Levsen [Fri, 14 Dec 2012 17:00:57 +0000 (18:00 +0100)]
Merge branch 'develop' of ssh://git.profitbricks.localdomain/srv/git/so/jenkins_build_script into develop

11 years agotest for existing tag early and fail early, so that people dont waste their time...
Holger Levsen [Fri, 14 Dec 2012 17:00:37 +0000 (18:00 +0100)]
test for existing tag early and fail early, so that people dont waste their time waiting for a build which will fail later anyway.

11 years agoalso upload profiles to PBB which have any add. profiles specified
Mathias Klette [Fri, 14 Dec 2012 16:14:23 +0000 (17:14 +0100)]
also upload profiles to PBB which have any add. profiles specified

11 years agoMerge branch 'develop' of ssh://git/srv/git/so/jenkins_build_script into develop
Mathias Klette [Fri, 14 Dec 2012 16:14:03 +0000 (17:14 +0100)]
Merge branch 'develop' of ssh://git/srv/git/so/jenkins_build_script into develop

11 years agodelete link before setting it
Holger Levsen [Fri, 14 Dec 2012 11:15:08 +0000 (12:15 +0100)]
delete link before setting it

11 years agofix braino
Holger Levsen [Fri, 14 Dec 2012 11:10:49 +0000 (12:10 +0100)]
fix braino

11 years agowhitespace fix
Holger Levsen [Fri, 14 Dec 2012 11:07:34 +0000 (12:07 +0100)]
whitespace fix

11 years agocreate pending-approval link first, then rsync again
Holger Levsen [Fri, 14 Dec 2012 11:06:11 +0000 (12:06 +0100)]
create pending-approval link first, then rsync again

11 years agothere can only be one
Holger Levsen [Fri, 14 Dec 2012 10:21:13 +0000 (11:21 +0100)]
there can only be one

11 years agofixup: fix KERNEL_VERSION parsing
Holger Levsen [Fri, 14 Dec 2012 09:47:54 +0000 (10:47 +0100)]
fixup: fix KERNEL_VERSION parsing

11 years agofix typo
Holger Levsen [Fri, 14 Dec 2012 09:43:39 +0000 (10:43 +0100)]
fix typo

11 years agofix KERNEL_VERSION parsing
Holger Levsen [Fri, 14 Dec 2012 09:37:46 +0000 (10:37 +0100)]
fix KERNEL_VERSION parsing

11 years agocreate pending-approval link
Holger Levsen [Thu, 13 Dec 2012 13:10:47 +0000 (14:10 +0100)]
create pending-approval link