]>
Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/log
Tobias von der Krone [Mon, 29 Jul 2013 06:48:07 +0000 (08:48 +0200)]
Merge branch 'develop' of git+ssh://git/srv/git/so/jenkins_build_script into develop
Holger Levsen [Fri, 26 Jul 2013 16:05:36 +0000 (18:05 +0200)]
we love typos
Holger Levsen [Fri, 26 Jul 2013 16:04:36 +0000 (18:04 +0200)]
add export to ease debugging
Holger Levsen [Fri, 26 Jul 2013 16:03:02 +0000 (18:03 +0200)]
explicitly checkout that branch
Holger Levsen [Fri, 26 Jul 2013 15:41:31 +0000 (17:41 +0200)]
obey no-test build trigger and add figlet output
Holger Levsen [Fri, 26 Jul 2013 14:51:47 +0000 (16:51 +0200)]
also pull in changes from origin
Holger Levsen [Fri, 26 Jul 2013 13:54:10 +0000 (15:54 +0200)]
add support for bugfix branches
Holger Levsen [Fri, 26 Jul 2013 11:15:36 +0000 (13:15 +0200)]
process incoming after upload
Holger Levsen [Fri, 26 Jul 2013 10:59:06 +0000 (12:59 +0200)]
fix DISTRIBUTION replacement
Holger Levsen [Thu, 25 Jul 2013 17:09:13 +0000 (19:09 +0200)]
be more verbose
Holger Levsen [Thu, 25 Jul 2013 17:07:58 +0000 (19:07 +0200)]
correctly add new changelog entry
Holger Levsen [Thu, 25 Jul 2013 16:02:58 +0000 (18:02 +0200)]
more debugging
Holger Levsen [Thu, 25 Jul 2013 15:30:30 +0000 (17:30 +0200)]
be even more verbose
Holger Levsen [Thu, 25 Jul 2013 15:18:40 +0000 (17:18 +0200)]
be more verbose for debugging
Holger Levsen [Thu, 25 Jul 2013 15:04:41 +0000 (17:04 +0200)]
refactoring
Holger Levsen [Thu, 25 Jul 2013 14:41:02 +0000 (16:41 +0200)]
add check for valid SUITE and let it default to squeeze
Holger Levsen [Thu, 25 Jul 2013 14:18:09 +0000 (16:18 +0200)]
fixup: derive suite from jenkins job. cleanup + restructure code
Holger Levsen [Thu, 25 Jul 2013 13:57:00 +0000 (15:57 +0200)]
derive suite from jenkins job. cleanup + restructure code
Holger Levsen [Thu, 25 Jul 2013 13:05:15 +0000 (15:05 +0200)]
improve output
Holger Levsen [Thu, 25 Jul 2013 12:49:28 +0000 (14:49 +0200)]
less cleaning is enough
Holger Levsen [Thu, 25 Jul 2013 12:41:25 +0000 (14:41 +0200)]
fix upload, add cleanup after upload, add some more comments
Holger Levsen [Thu, 25 Jul 2013 11:23:27 +0000 (13:23 +0200)]
implement uploading, add comments
Holger Levsen [Wed, 24 Jul 2013 16:59:39 +0000 (18:59 +0200)]
cleanup maven repo before build. set BUILD_NUMBER in version correctly
Holger Levsen [Wed, 24 Jul 2013 16:46:17 +0000 (18:46 +0200)]
push back intregation branch if merge+build was successful
Holger Levsen [Wed, 24 Jul 2013 16:22:57 +0000 (18:22 +0200)]
correctly detect merge triggers
Holger Levsen [Wed, 24 Jul 2013 16:00:52 +0000 (18:00 +0200)]
rename script and add a pre-build script, to merge feature branches into integration
Holger Levsen [Wed, 24 Jul 2013 15:45:31 +0000 (17:45 +0200)]
fixup: create debian/changelog correctly, handle master branch differently. create proper debianized version of SNAPSHOTs
Holger Levsen [Wed, 24 Jul 2013 15:34:02 +0000 (17:34 +0200)]
fixup: create debian/changelog correctly, handle master branch differently. create proper debianized version of SNAPSHOTs
Holger Levsen [Wed, 24 Jul 2013 15:27:00 +0000 (17:27 +0200)]
create debian/changelog correctly, handle master branch differently. create proper debianized version of SNAPSHOTs
Holger Levsen [Wed, 24 Jul 2013 14:43:14 +0000 (16:43 +0200)]
create proper changelog entry
Holger Levsen [Wed, 24 Jul 2013 12:27:56 +0000 (14:27 +0200)]
add tag to successful master builds
Holger Levsen [Wed, 24 Jul 2013 12:21:21 +0000 (14:21 +0200)]
commit debian/changelog if applicable and set correct distro for feature branches
Holger Levsen [Wed, 24 Jul 2013 11:50:39 +0000 (13:50 +0200)]
add check for valid distros and git_branches
Holger Levsen [Tue, 23 Jul 2013 17:02:38 +0000 (19:02 +0200)]
debian_wrap_maven_results.sh: write proper changelog
Tobias von der Krone [Tue, 23 Jul 2013 14:43:56 +0000 (16:43 +0200)]
Merge branch 'develop' of git+ssh://git/srv/git/so/jenkins_build_script into develop
Holger Levsen [Tue, 23 Jul 2013 13:13:55 +0000 (15:13 +0200)]
debian_wrap_maven_results.sh: calculate version using maven. only require one param, not three
Holger Levsen [Tue, 23 Jul 2013 13:05:24 +0000 (15:05 +0200)]
add debian_wrap_maven_results.sh as taken from Szymon from vdc-bundles.git, branch feature/debian
Marjan Schiller [Mon, 15 Jul 2013 14:16:41 +0000 (16:16 +0200)]
Added script to lock the testsystem.
Tobias von der Krone [Fri, 5 Jul 2013 09:18:44 +0000 (11:18 +0200)]
Merge branch 'feature/redmine507' into develop
Marjan Schiller [Thu, 4 Jul 2013 08:12:44 +0000 (10:12 +0200)]
Added switch for updating test state.
Tobias von der Krone [Thu, 4 Jul 2013 07:43:24 +0000 (09:43 +0200)]
#507: make failed build not failing the jenkins job
root sagunt [Mon, 1 Jul 2013 08:09:16 +0000 (08:09 +0000)]
DEVINF-383: add correct version number (with epoch) to cidb
Mathias Klette [Fri, 28 Jun 2013 09:24:13 +0000 (11:24 +0200)]
Merge branch 'develop' of ssh://git/srv/git/so/jenkins_build_script into develop
Mathias Klette [Fri, 28 Jun 2013 09:23:27 +0000 (11:23 +0200)]
debian_build: DEVINF-383: epoch must be kept but needs quoting
Marjan Schiller [Thu, 27 Jun 2013 14:34:10 +0000 (16:34 +0200)]
Added more infos for the autotest result mail.
Mathias Klette [Wed, 26 Jun 2013 10:47:35 +0000 (12:47 +0200)]
debian_build: reset new_version upon auto-increment packages
Mathias Klette [Mon, 24 Jun 2013 11:42:33 +0000 (13:42 +0200)]
debian_buid.py: reset new_tag when build with autoincrement
let's assume this:
- user changes files but not version in changelog and commits
- call_jenkins accepts and triggers build
- debian_build.py figures out version / tag to create from changelog
- debian_build.py will incrase version number and pushes new HEAD back to origin
- call_jenkins will not push trigger another jenkins call
- debian_build.py will build with the new version
- tagging must happen when build was successful BUT with the new version number
instead of the one gathered in the very first beginning of the script
Mathias Klette [Fri, 21 Jun 2013 15:32:48 +0000 (17:32 +0200)]
debian_build: show more details of your tag checks
Mathias Klette [Fri, 21 Jun 2013 14:04:52 +0000 (16:04 +0200)]
debian_build: issue warning in manual build instructions
Mathias Klette [Fri, 21 Jun 2013 11:33:31 +0000 (13:33 +0200)]
move GIT_BRANCH_NAME definitions from common_code to debian_build (again)
Mathias Klette [Fri, 21 Jun 2013 10:00:27 +0000 (12:00 +0200)]
add pbuilder and git-buildpackage configuration, incl. hooks to git
Mathias Klette [Thu, 20 Jun 2013 15:56:46 +0000 (17:56 +0200)]
debian_build: show environment, that gbp object creates, add FIXME
Mathias Klette [Thu, 20 Jun 2013 13:03:14 +0000 (15:03 +0200)]
debian_build: wheezy based git lib does not allow to use undefined attributes
Mathias Klette [Wed, 19 Jun 2013 12:04:07 +0000 (14:04 +0200)]
Merge branch 'feature/multipledists' into develop
Mathias Klette [Mon, 17 Jun 2013 10:53:50 +0000 (12:53 +0200)]
debian_build: ensure instructions are shown no matter if build was successful
Mathias Klette [Mon, 17 Jun 2013 09:24:14 +0000 (11:24 +0200)]
debian_build: more logging when reset repository after build
Mathias Klette [Mon, 17 Jun 2013 08:56:54 +0000 (10:56 +0200)]
debian_build: take over changes from sagunt
Mathias Klette [Sun, 16 Jun 2013 01:49:01 +0000 (03:49 +0200)]
debian_build: when rebase failed use some more actions to recover
-------- Original-Nachricht --------
Betreff: Jenkins Build dev_vdc-bundle - failed rebase not cleaned up correctly
Datum: Fri, 14 Jun 2013 20:33:44 +0200
Von: Ramona Koch <ramona.koch@profitbricks.com>
Antwort an: ramona.koch@profitbricks.com
An: dcops <dcops@profitbricks.com>, Core <core@profitbricks.com>, Mehrdad Arifi <mehrdad.arifi@profitbricks.com>
Hi DC Ops, Hi Core, Hi Mehrdad
I just noticed, that the 'workspace' is not correctly cleaned up, if the rebase had failed.
All builds trying to merge afterwards will also fail during rebase with:
It seems that I cannot create a rebase-apply directory, and I wonder if you are in the middle of patch application or another
rebase. If that is not the case, please
rm -fr /var/lib/jenkins/jobs/dev_vdc-bundles/workspace/.git/rebase-apply
and run me again. I am stopping in case you still have something valuable there.
@DCOps:
I checked your debian_build.py at:
337 try:
338 src_branch = local_branch # save the original branch
339 dst_branch = 'integration' # define the new branch
340 local_branch = dst_branch # reset env for
git-buildpackage
341 gitrepo.git.rebase('origin/' + dst_branch)
342 gitrepo.git.checkout(dst_branch)
343 gitrepo.git.pull()
344 gitrepo.git.merge(src_branch)
345 logger.info('Rebase and merge from branch "{src_branch}"
completed. Now in "{dst_branch}".'.format(
346 dst_branch=dst_branch,
347 src_branch=src_branch,
348 ))
349 except Exception as error:
350 logger.error('Rebase has failed!', exc_info=error)
351 gitrepo.git.reset('--hard',src_branch)
352 exit_error()
and I assume that 'git reset --hard' is not enough. Probably a 'git rebase --abort' needs to be done before. If this does not work - simply removing the mentioned file will work.
Could you check, if my assumption is correct and fix it, please.
Mathias Klette [Sun, 16 Jun 2013 01:35:05 +0000 (03:35 +0200)]
debian_build: try to get some more output when autoincrementing (doesn't work ..)
.. for successfully operations. only helps in case of error. and this might
change with the new version avl. in wheezy. haven't tested this yet.
Mathias Klette [Sat, 15 Jun 2013 23:52:22 +0000 (01:52 +0200)]
debian_build: better logging and sort static lists
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
Marjan Schiller [Fri, 14 Jun 2013 13:22:42 +0000 (15:22 +0200)]
Added mailto token.
Mathias Klette [Fri, 14 Jun 2013 11:16:15 +0000 (13:16 +0200)]
Merge branch 'master' into develop
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
Marjan Schiller [Thu, 13 Jun 2013 15:21:31 +0000 (17:21 +0200)]
Fixed test state script.
Marjan Schiller [Thu, 13 Jun 2013 13:51:50 +0000 (15:51 +0200)]
Changed execution for liveboot_set_test_state.sh
Marjan Schiller [Thu, 13 Jun 2013 13:46:29 +0000 (15:46 +0200)]
Added build number for reporting.
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.
Mathias Klette [Thu, 13 Jun 2013 09:42:49 +0000 (11:42 +0200)]
Merge branch 'master' into feature/multipledists
Mathias Klette [Thu, 13 Jun 2013 09:40:42 +0000 (11:40 +0200)]
debian_build: compatibility for 'remotes' objects in git library between squeeze and wheezy
thanks to tobias, see https://redmine.pb.local/issues/356
Marjan Schiller [Wed, 12 Jun 2013 15:20:17 +0000 (17:20 +0200)]
Added exit condition for autotest_result_mail.sh
Marjan Schiller [Wed, 12 Jun 2013 15:07:23 +0000 (17:07 +0200)]
Fix for autotest_result_mail.sh
Marjan Schiller [Wed, 12 Jun 2013 15:06:15 +0000 (17:06 +0200)]
Fix for 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
Marjan Schiller [Wed, 12 Jun 2013 14:57:51 +0000 (16:57 +0200)]
Fix for autotest script
Marjan Schiller [Wed, 12 Jun 2013 14:53:18 +0000 (16:53 +0200)]
Modified autotest result script
Marjan Schiller [Wed, 12 Jun 2013 14:42:04 +0000 (16:42 +0200)]
Added autotest mail script.
Marjan Schiller [Wed, 12 Jun 2013 13:40:44 +0000 (15:40 +0200)]
Added image link parameter
Marjan Schiller [Wed, 12 Jun 2013 13:15:20 +0000 (15:15 +0200)]
Changed to autotest link.
Marjan Schiller [Tue, 11 Jun 2013 11:43:36 +0000 (13:43 +0200)]
Added jenkins key.
Marjan Schiller [Tue, 11 Jun 2013 11:35:01 +0000 (13:35 +0200)]
Changed link creation.
Marjan Schiller [Tue, 11 Jun 2013 09:14:34 +0000 (11:14 +0200)]
Added script to set the liveboot without copy the image.
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".
Mathias Klette [Fri, 7 Jun 2013 10:00:27 +0000 (12:00 +0200)]
debian_build: show help instructions for chroot debugging on either case (success AND error)
Mathias Klette [Thu, 6 Jun 2013 15:13:53 +0000 (17:13 +0200)]
debian_build: let cd command be part of copy&pasteble commands
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
root sagunt [Thu, 6 Jun 2013 10:54:41 +0000 (10:54 +0000)]
debian_build: log beautifying
root sagunt [Thu, 6 Jun 2013 10:54:15 +0000 (10:54 +0000)]
git_buildpackage: less logging
root sagunt [Thu, 6 Jun 2013 10:53:37 +0000 (10:53 +0000)]
common_code: use __file__ not __name__
root sagunt [Wed, 5 Jun 2013 20:49:07 +0000 (20:49 +0000)]
Merge branch 'feature/multipledists' of http://git/so/jenkins_build_script into feature/multipledists
Mathias Klette [Wed, 5 Jun 2013 20:48:24 +0000 (22:48 +0200)]
debian_build: shorten name for log messages
Mathias Klette [Wed, 5 Jun 2013 19:46:08 +0000 (21:46 +0200)]
common_code: shorten log_name if not explicitely given
Mathias Klette [Wed, 5 Jun 2013 18:21:08 +0000 (20:21 +0200)]
debian_build: just beatuifying the instructions
Mathias Klette [Wed, 5 Jun 2013 18:17:23 +0000 (20:17 +0200)]
debian_build: fix map
Mathias Klette [Wed, 5 Jun 2013 18:12:43 +0000 (20:12 +0200)]
debian_build: fix gbp object usage
Mathias Klette [Wed, 5 Jun 2013 18:10:32 +0000 (20:10 +0200)]
debian_build: let's skip trace for no-branch errors
Mathias Klette [Wed, 5 Jun 2013 18:08:55 +0000 (20:08 +0200)]
debian_build: PLEASE also exit with error if branch was not found!
Mathias Klette [Wed, 5 Jun 2013 18:07:51 +0000 (20:07 +0200)]
debian_build: some reorganization
Mathias Klette [Wed, 5 Jun 2013 17:59:54 +0000 (19:59 +0200)]
debian_build: add 'name' to local repo-obj, exit if branch is not found
Mathias Klette [Wed, 5 Jun 2013 17:47:34 +0000 (19:47 +0200)]
debian_build: change help instructions to be copy&pasteble