]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/log
profitbricks/jenkins-build-scripts.git
11 years agoMerge branch 'develop' of git+ssh://git/srv/git/so/jenkins_build_script into develop
Marjan Schiller [Fri, 14 Jun 2013 13:23:41 +0000 (15:23 +0200)]
Merge branch 'develop' of git+ssh://git/srv/git/so/jenkins_build_script into develop

11 years agoAdded mailto token.
Marjan Schiller [Fri, 14 Jun 2013 13:22:42 +0000 (15:22 +0200)]
Added mailto token.

11 years agoMerge branch 'master' into develop
Mathias Klette [Fri, 14 Jun 2013 11:16:15 +0000 (13:16 +0200)]
Merge branch 'master' into develop

11 years agoMerge branch 'feature/storage-feature-branch' of ssh://git/srv/git/so/jenkins_build_s...
Mathias Klette [Fri, 14 Jun 2013 11:15:42 +0000 (13:15 +0200)]
Merge branch 'feature/storage-feature-branch' of ssh://git/srv/git/so/jenkins_build_script into feature/storage-feature-branch

Conflicts:
extract_storage_kernel+modules.sh

11 years agoFixed test state script.
Marjan Schiller [Thu, 13 Jun 2013 15:21:31 +0000 (17:21 +0200)]
Fixed test state script.

11 years agoChanged execution for liveboot_set_test_state.sh
Marjan Schiller [Thu, 13 Jun 2013 13:51:50 +0000 (15:51 +0200)]
Changed execution for liveboot_set_test_state.sh

11 years agoAdded build number for reporting.
Marjan Schiller [Thu, 13 Jun 2013 13:46:29 +0000 (15:46 +0200)]
Added build number for reporting.

11 years agoAdded script for setting the test state in the liveboot web interface.
Marjan Schiller [Thu, 13 Jun 2013 13:13:18 +0000 (15:13 +0200)]
Added script for setting the test state in the liveboot web interface.

11 years agoAdded exit condition for autotest_result_mail.sh
Marjan Schiller [Wed, 12 Jun 2013 15:20:17 +0000 (17:20 +0200)]
Added exit condition for autotest_result_mail.sh

11 years agoFix for autotest_result_mail.sh
Marjan Schiller [Wed, 12 Jun 2013 15:07:23 +0000 (17:07 +0200)]
Fix for autotest_result_mail.sh

11 years agoFix for autotest_result_mail.sh
Marjan Schiller [Wed, 12 Jun 2013 15:06:15 +0000 (17:06 +0200)]
Fix for autotest_result_mail.sh

11 years agoRemoved debug code from autotest_result_mail.sh
Marjan Schiller [Wed, 12 Jun 2013 15:00:20 +0000 (17:00 +0200)]
Removed debug code from autotest_result_mail.sh

11 years agoFix for autotest script
Marjan Schiller [Wed, 12 Jun 2013 14:57:51 +0000 (16:57 +0200)]
Fix for autotest script

11 years agoModified autotest result script
Marjan Schiller [Wed, 12 Jun 2013 14:53:18 +0000 (16:53 +0200)]
Modified autotest result script

11 years agoAdded autotest mail script.
Marjan Schiller [Wed, 12 Jun 2013 14:42:04 +0000 (16:42 +0200)]
Added autotest mail script.

11 years agoAdded image link parameter
Marjan Schiller [Wed, 12 Jun 2013 13:40:44 +0000 (15:40 +0200)]
Added image link parameter

11 years agoChanged to autotest link.
Marjan Schiller [Wed, 12 Jun 2013 13:15:20 +0000 (15:15 +0200)]
Changed to autotest link.

11 years agoAdded jenkins key.
Marjan Schiller [Tue, 11 Jun 2013 11:43:36 +0000 (13:43 +0200)]
Added jenkins key.

11 years agoChanged link creation.
Marjan Schiller [Tue, 11 Jun 2013 11:35:01 +0000 (13:35 +0200)]
Changed link creation.

11 years agoAdded script to set the liveboot without copy the image.
Marjan Schiller [Tue, 11 Jun 2013 09:14:34 +0000 (11:14 +0200)]
Added script to set the liveboot without copy the image.

11 years agoextract_storage: fix the default TARGET_NAME for feature branches
Dongsu Park [Mon, 10 Jun 2013 10:04:52 +0000 (12:04 +0200)]
extract_storage: fix the default TARGET_NAME for feature branches

Fix a small bug. $TARGET_NAME should be set to "experimental"
by default, instead of "master".

11 years agoextract_storage: fix apt sources for master and develop
Sebastian Riemer [Thu, 6 Jun 2013 14:35:45 +0000 (16:35 +0200)]
extract_storage: fix apt sources for master and develop

The master build job 'extract-storage-kernel-and-modules' extracts
the wrong sources. It takes the latest develop kernel as the apt
sources for 'production-proposed-updates' are missing.

So add the missing sources before installing the kernel and the
out-of-tree modules.

Fixes: DEVINF-379
11 years agocall_jenkins and other hooks are located in git-server-config repository now
Mathias Klette [Fri, 17 May 2013 17:23:40 +0000 (19:23 +0200)]
call_jenkins and other hooks are located in git-server-config repository now

11 years agocall_jenkins and other hooks are located in git-server-config repository now
Mathias Klette [Fri, 17 May 2013 17:23:40 +0000 (19:23 +0200)]
call_jenkins and other hooks are located in git-server-config repository now

11 years agoMerge branch 'master' into develop
Mathias Klette [Tue, 14 May 2013 14:53:13 +0000 (16:53 +0200)]
Merge branch 'master' into develop

11 years agoliveboot_rsync: use dcmanager sync scheme also for PBB
Mathias Klette [Tue, 14 May 2013 14:52:36 +0000 (16:52 +0200)]
liveboot_rsync: use dcmanager sync scheme also for PBB

11 years agoliveboot_rsync: don't use archive option for rsync
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.

11 years agoMerge branch 'feature/storage-auto-deploy'
Mathias Klette [Fri, 3 May 2013 15:17:05 +0000 (17:17 +0200)]
Merge branch 'feature/storage-auto-deploy'

11 years agoMerge branch 'feature/storage-auto-deploy' into develop
Mathias Klette [Fri, 3 May 2013 15:15:57 +0000 (17:15 +0200)]
Merge branch 'feature/storage-auto-deploy' into develop

11 years agoCheck if approval mail will be send.
Marjan Schiller [Fri, 3 May 2013 14:40:53 +0000 (16:40 +0200)]
Check if approval mail will be send.

11 years agostorage_deploy: removed embarrassing 'set -x'
Thilo Fromm [Fri, 3 May 2013 12:55:04 +0000 (14:55 +0200)]
storage_deploy: removed embarrassing 'set -x'

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agostorage_deploy: now with autotest image provisioning
Thilo Fromm [Fri, 3 May 2013 12:45:28 +0000 (14:45 +0200)]
storage_deploy: now with autotest image provisioning

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agoRemoved local hdd mount from autotest execution.
Marjan Schiller [Fri, 3 May 2013 12:41:34 +0000 (14:41 +0200)]
Removed local hdd mount from autotest execution.

11 years agoFixed boolean comparison.
Marjan Schiller [Fri, 3 May 2013 11:31:40 +0000 (13:31 +0200)]
Fixed boolean comparison.

11 years agoAdded parameter for autotest call.
Marjan Schiller [Fri, 3 May 2013 11:24:55 +0000 (13:24 +0200)]
Added parameter for autotest call.

11 years agofix add_liveboot_request: use correct trigger URL for jenkins
Mathias Klette [Thu, 2 May 2013 10:10:21 +0000 (12:10 +0200)]
fix add_liveboot_request: use correct trigger URL for jenkins

11 years agofix add_liveboot_request: use correct trigger URL for jenkins
Mathias Klette [Thu, 2 May 2013 10:10:21 +0000 (12:10 +0200)]
fix add_liveboot_request: use correct trigger URL for jenkins

11 years agoMerge branch 'master' into develop
Mathias Klette [Thu, 2 May 2013 10:06:49 +0000 (12:06 +0200)]
Merge branch 'master' into develop

11 years agofix debian_build: try to fix correct exception printing
Mathias Klette [Thu, 2 May 2013 09:56:36 +0000 (11:56 +0200)]
fix debian_build: try to fix correct exception printing

11 years agofix debian_build: use correct variable name from ENV for JOB_NAME
Mathias Klette [Thu, 2 May 2013 09:50:47 +0000 (11:50 +0200)]
fix debian_build: use correct variable name from ENV for JOB_NAME

11 years agofix debian_build: match against int instead of relying on boolean values
Mathias Klette [Thu, 2 May 2013 09:41:28 +0000 (11:41 +0200)]
fix debian_build: match against int instead of relying on boolean values

11 years agofix debian_build: provide some dumb comment instead of failing with non-existing...
Mathias Klette [Thu, 2 May 2013 09:37:39 +0000 (11:37 +0200)]
fix debian_build: provide some dumb comment instead of failing with non-existing objects

11 years agopass '__file__' to logger_init whereever it is used
Mathias Klette [Thu, 2 May 2013 09:12:47 +0000 (11:12 +0200)]
pass '__file__' to logger_init whereever it is used

11 years agofix debian_build
Mathias Klette [Thu, 2 May 2013 09:10:55 +0000 (11:10 +0200)]
fix debian_build

11 years agofix debian_build: try to fix correct exception printing
Mathias Klette [Thu, 2 May 2013 09:56:36 +0000 (11:56 +0200)]
fix debian_build: try to fix correct exception printing

11 years agofix debian_build: use correct variable name from ENV for JOB_NAME
Mathias Klette [Thu, 2 May 2013 09:50:47 +0000 (11:50 +0200)]
fix debian_build: use correct variable name from ENV for JOB_NAME

11 years agofix debian_build: match against int instead of relying on boolean values
Mathias Klette [Thu, 2 May 2013 09:41:28 +0000 (11:41 +0200)]
fix debian_build: match against int instead of relying on boolean values

11 years agofix debian_build: provide some dumb comment instead of failing with non-existing...
Mathias Klette [Thu, 2 May 2013 09:37:39 +0000 (11:37 +0200)]
fix debian_build: provide some dumb comment instead of failing with non-existing objects

11 years agopass '__file__' to logger_init whereever it is used
Mathias Klette [Thu, 2 May 2013 09:12:47 +0000 (11:12 +0200)]
pass '__file__' to logger_init whereever it is used

11 years agofix debian_build
Mathias Klette [Thu, 2 May 2013 09:10:55 +0000 (11:10 +0200)]
fix debian_build

11 years agoMerge branch 'master' into develop
Mathias Klette [Thu, 2 May 2013 08:43:12 +0000 (10:43 +0200)]
Merge branch 'master' into develop

Conflicts:
common_code.py
debian_build.py

11 years agoremove CWD variable from common_code
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

11 years agoremove jenkins build specific variable assignments from common_code
Mathias Klette [Thu, 2 May 2013 08:25:20 +0000 (10:25 +0200)]
remove jenkins build specific variable assignments from common_code

- debian_repos2db.sh would fail otherwise
- debian_build.py now uses the same variables from ENV-dict

11 years agoremove jenkins build specific variable assignments from common_code
Mathias Klette [Thu, 2 May 2013 08:25:20 +0000 (10:25 +0200)]
remove jenkins build specific variable assignments from common_code

- debian_repos2db.sh would fail otherwise
- debian_build.py now uses the same variables from ENV-dict

11 years agoupdate debian_build: move variable definition above so it's defined before first...
Mathias Klette [Tue, 30 Apr 2013 17:39:17 +0000 (19:39 +0200)]
update debian_build: move variable definition above so it's defined before first usage

11 years agoupdate debian_build: move variable definition above so it's defined before first...
Mathias Klette [Tue, 30 Apr 2013 17:39:17 +0000 (19:39 +0200)]
update debian_build: move variable definition above so it's defined before first usage

11 years agoMerge branch 'master' into develop
Mathias Klette [Tue, 30 Apr 2013 17:09:09 +0000 (19:09 +0200)]
Merge branch 'master' into develop

Conflicts:
common_code.py

11 years agomove back variables which are not that common as I thought (provided through jenkins...
Mathias Klette [Tue, 30 Apr 2013 17:06:46 +0000 (19:06 +0200)]
move back variables which are not that common as I thought (provided through jenkins job parameters)

11 years agoset some default which we use to define as parameters in jenkins
Mathias Klette [Tue, 30 Apr 2013 16:46:27 +0000 (18:46 +0200)]
set some default which we use to define as parameters in jenkins

11 years agoMerge branch 'master' into develop
Mathias Klette [Tue, 30 Apr 2013 16:48:00 +0000 (18:48 +0200)]
Merge branch 'master' into develop

Conflicts:
common_code.py

11 years agoset some default which we use to define as parameters in jenkins
Mathias Klette [Tue, 30 Apr 2013 16:46:27 +0000 (18:46 +0200)]
set some default which we use to define as parameters in jenkins

11 years agofix: add closing parantheses
Mathias Klette [Tue, 30 Apr 2013 15:06:34 +0000 (17:06 +0200)]
fix: add closing parantheses

11 years agofix: use setdefault method instead of try/except
Mathias Klette [Tue, 30 Apr 2013 15:05:15 +0000 (17:05 +0200)]
fix: use setdefault method instead of try/except

11 years agofix: use try and except as intended
Mathias Klette [Tue, 30 Apr 2013 14:56:51 +0000 (16:56 +0200)]
fix: use try and except as intended

11 years agoupdate common_code: preset NO_UPLOAD even if it's not set in env
Mathias Klette [Tue, 30 Apr 2013 14:55:16 +0000 (16:55 +0200)]
update common_code: preset NO_UPLOAD even if it's not set in env

11 years agofix common_code: use correct dict name to access GIT_REPO_PATH
Mathias Klette [Tue, 30 Apr 2013 14:17:42 +0000 (16:17 +0200)]
fix common_code: use correct dict name to access GIT_REPO_PATH

11 years agoremove unintended indentation, import datetime module for BUILD_START variable
Mathias Klette [Tue, 30 Apr 2013 14:15:25 +0000 (16:15 +0200)]
remove unintended indentation, import datetime module for BUILD_START variable

11 years agomove common variables from debian_build into common_code
Mathias Klette [Tue, 30 Apr 2013 14:08:08 +0000 (16:08 +0200)]
move common variables from debian_build into common_code

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

Conflicts:
debian_build.py

11 years agoMerge branch 'feature/DEVINF-358' into develop
Mathias Klette [Tue, 30 Apr 2013 15:22:46 +0000 (17:22 +0200)]
Merge branch 'feature/DEVINF-358' into develop

Conflicts:
debian_build.py

11 years agofix: add closing parantheses
Mathias Klette [Tue, 30 Apr 2013 15:06:34 +0000 (17:06 +0200)]
fix: add closing parantheses

11 years agofix: use setdefault method instead of try/except
Mathias Klette [Tue, 30 Apr 2013 15:05:15 +0000 (17:05 +0200)]
fix: use setdefault method instead of try/except

11 years agofix: use try and except as intended
Mathias Klette [Tue, 30 Apr 2013 14:56:51 +0000 (16:56 +0200)]
fix: use try and except as intended

11 years agoupdate common_code: preset NO_UPLOAD even if it's not set in env
Mathias Klette [Tue, 30 Apr 2013 14:55:16 +0000 (16:55 +0200)]
update common_code: preset NO_UPLOAD even if it's not set in env

11 years agofix common_code: use correct dict name to access GIT_REPO_PATH
Mathias Klette [Tue, 30 Apr 2013 14:17:42 +0000 (16:17 +0200)]
fix common_code: use correct dict name to access GIT_REPO_PATH

11 years agoremove unintended indentation, import datetime module for BUILD_START variable
Mathias Klette [Tue, 30 Apr 2013 14:15:25 +0000 (16:15 +0200)]
remove unintended indentation, import datetime module for BUILD_START variable

11 years agomove common variables from debian_build into common_code
Mathias Klette [Tue, 30 Apr 2013 14:08:08 +0000 (16:08 +0200)]
move common variables from debian_build into common_code

11 years agoMerge remote-tracking branch 'origin/develop' into testmerge
Mathias Klette [Tue, 30 Apr 2013 13:35:11 +0000 (15:35 +0200)]
Merge remote-tracking branch 'origin/develop' into testmerge

11 years agoChanged SSH login to the test server.
Marjan Schiller [Tue, 30 Apr 2013 13:23:12 +0000 (15:23 +0200)]
Changed SSH login to the test server.

11 years agostorage_deploy.sh fix sed line
Thilo Fromm [Thu, 25 Apr 2013 15:18:32 +0000 (17:18 +0200)]
storage_deploy.sh fix sed line

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agostorage_deploy.sh: fix typo in cleanup, missing option
Thilo Fromm [Thu, 25 Apr 2013 15:05:03 +0000 (17:05 +0200)]
storage_deploy.sh: fix typo in cleanup, missing option

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agostorage_deploy.sh: remove key from storage after deploy
Thilo Fromm [Thu, 25 Apr 2013 14:57:58 +0000 (16:57 +0200)]
storage_deploy.sh: remove key from storage after deploy

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agostorage_deploy.sh: change to local dir, rework rsa keys
Thilo Fromm [Thu, 25 Apr 2013 14:27:40 +0000 (16:27 +0200)]
storage_deploy.sh: change to local dir, rework rsa keys

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agostorage_deploy.sh: fix access rights to rsa file
Thilo Fromm [Thu, 25 Apr 2013 14:14:27 +0000 (16:14 +0200)]
storage_deploy.sh: fix access rights to rsa file

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agostorage_deploy.sh: remove IPMI login
Thilo Fromm [Thu, 25 Apr 2013 13:45:36 +0000 (15:45 +0200)]
storage_deploy.sh: remove IPMI login

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agostorage_deploy.sh: tested and functional
Thilo Fromm [Thu, 25 Apr 2013 13:17:12 +0000 (15:17 +0200)]
storage_deploy.sh: tested and functional

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agostorage_deploy.sh: now functional
Thilo Fromm [Wed, 24 Apr 2013 14:02:04 +0000 (16:02 +0200)]
storage_deploy.sh: now functional

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
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 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 agostorage_deploy.sh fix sed line
Thilo Fromm [Thu, 25 Apr 2013 15:18:32 +0000 (17:18 +0200)]
storage_deploy.sh fix sed line

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agostorage_deploy.sh: fix typo in cleanup, missing option
Thilo Fromm [Thu, 25 Apr 2013 15:05:03 +0000 (17:05 +0200)]
storage_deploy.sh: fix typo in cleanup, missing option

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agostorage_deploy.sh: remove key from storage after deploy
Thilo Fromm [Thu, 25 Apr 2013 14:57:58 +0000 (16:57 +0200)]
storage_deploy.sh: remove key from storage after deploy

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agostorage_deploy.sh: change to local dir, rework rsa keys
Thilo Fromm [Thu, 25 Apr 2013 14:27:40 +0000 (16:27 +0200)]
storage_deploy.sh: change to local dir, rework rsa keys

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
11 years agostorage_deploy.sh: fix access rights to rsa file
Thilo Fromm [Thu, 25 Apr 2013 14:14:27 +0000 (16:14 +0200)]
storage_deploy.sh: fix access rights to rsa file

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>