]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/log
profitbricks/jenkins-build-scripts.git
10 years agodebian_build: use GIT_URL instead of GIT_REPO_PATH
Fabian Holler [Wed, 5 Mar 2014 11:47:57 +0000 (12:47 +0100)]
debian_build: use GIT_URL instead of GIT_REPO_PATH

GIT_REPO_PATH doesn't exist in few jobs (?), also GIT_URL fits better

10 years agoliveboot: fix: logging liveboot builds to CIDB failed
Fabian Holler [Wed, 5 Mar 2014 10:15:12 +0000 (11:15 +0100)]
liveboot: fix: logging liveboot builds to CIDB failed

db_add_build(..) was called with insufficient parameters, the git_rev_id
parameter was missing

10 years agoRemove unreachable code.
Benjamin Drung [Tue, 4 Mar 2014 10:44:09 +0000 (11:44 +0100)]
Remove unreachable code.

10 years agodebian_build.py: PEP 8 fixes.
Benjamin Drung [Tue, 4 Mar 2014 10:43:13 +0000 (11:43 +0100)]
debian_build.py: PEP 8 fixes.

10 years agoMerge remote-tracking branch 'origin/feature/cidb-git-rev'
Benjamin Drung [Tue, 4 Mar 2014 10:29:13 +0000 (11:29 +0100)]
Merge remote-tracking branch 'origin/feature/cidb-git-rev'

10 years agodebian_build: record git repository + url in the cidb
Fabian Holler [Tue, 4 Mar 2014 09:22:38 +0000 (10:22 +0100)]
debian_build: record git repository + url in the cidb

For every package build the source git repository and revision is
recorded in the CIDB. This will allow us to show git diffs for all
packages that changed between 2 liveboot images.

10 years agogentoo_build: Clean up pep8 warnings.
Benjamin Drung [Thu, 13 Feb 2014 10:22:06 +0000 (11:22 +0100)]
gentoo_build: Clean up pep8 warnings.

10 years agoThe archive for feature branches is called dev-wheezy instead of pb-wheezy.
Benjamin Drung [Wed, 12 Feb 2014 09:25:30 +0000 (10:25 +0100)]
The archive for feature branches is called dev-wheezy instead of pb-wheezy.

10 years agoFix wrong distribution list for feature/* builds on wheezy.
Benjamin Drung [Tue, 11 Feb 2014 18:15:11 +0000 (19:15 +0100)]
Fix wrong distribution list for feature/* builds on wheezy.

10 years agogentoo_build: Disable some pylint warning.
Benjamin Drung [Tue, 11 Feb 2014 16:24:34 +0000 (17:24 +0100)]
gentoo_build: Disable some pylint warning.

10 years agogentoo_build: Add --auto-version feature.
Benjamin Drung [Tue, 28 Jan 2014 21:21:50 +0000 (22:21 +0100)]
gentoo_build: Add --auto-version feature.

10 years agogentoo_build: Add --keywords parameter.
Benjamin Drung [Fri, 24 Jan 2014 16:26:42 +0000 (17:26 +0100)]
gentoo_build: Add --keywords parameter.

10 years agogentoo_build: Create directory if it does not exist already.
Benjamin Drung [Fri, 24 Jan 2014 10:15:43 +0000 (11:15 +0100)]
gentoo_build: Create directory if it does not exist already.

10 years agoMerge branch 'master' into develop
Tobias von der Krone [Wed, 22 Jan 2014 13:37:15 +0000 (14:37 +0100)]
Merge branch 'master' into develop

10 years agoliveboot_rsync.sh: cleanup and add new staging
Tobias von der Krone [Wed, 22 Jan 2014 13:36:20 +0000 (14:36 +0100)]
liveboot_rsync.sh: cleanup and add new staging

10 years agogentoo_build: Print a nice error message if pushing a tag fails.
Benjamin Drung [Wed, 22 Jan 2014 12:33:47 +0000 (13:33 +0100)]
gentoo_build: Print a nice error message if pushing a tag fails.

10 years agogentoo_build: Support running in a detached head.
Benjamin Drung [Wed, 22 Jan 2014 11:37:07 +0000 (12:37 +0100)]
gentoo_build: Support running in a detached head.

10 years agogentoo_build: Pass repo object around instead of creating always new ones.
Benjamin Drung [Wed, 22 Jan 2014 11:34:51 +0000 (12:34 +0100)]
gentoo_build: Pass repo object around instead of creating always new ones.

10 years agopxe_riserver_setup.sh: Include general PXE configuration.
Benjamin Drung [Tue, 21 Jan 2014 15:25:19 +0000 (16:25 +0100)]
pxe_riserver_setup.sh: Include general PXE configuration.

10 years agopxe_install.sh, pxe_riserver_setup.sh: Support deploying a development version.
Benjamin Drung [Mon, 20 Jan 2014 12:15:38 +0000 (13:15 +0100)]
pxe_install.sh, pxe_riserver_setup.sh: Support deploying a development version.

10 years agogentoo_build: Remove not needed additional spaces around URL.
Benjamin Drung [Fri, 17 Jan 2014 16:44:36 +0000 (17:44 +0100)]
gentoo_build: Remove not needed additional spaces around URL.

10 years agogentoo_build: Shorten gitweb URL.
Benjamin Drung [Fri, 17 Jan 2014 16:40:34 +0000 (17:40 +0100)]
gentoo_build: Shorten gitweb URL.

10 years agogentoo_build: Add gitweb link to every git commit.
Benjamin Drung [Fri, 17 Jan 2014 16:36:21 +0000 (17:36 +0100)]
gentoo_build: Add gitweb link to every git commit.

10 years agogentoo_build: Support building mutliple ebuilds from one git repository.
Benjamin Drung [Fri, 17 Jan 2014 14:58:53 +0000 (15:58 +0100)]
gentoo_build: Support building mutliple ebuilds from one git repository.

10 years agoMerge branch 'develop'
Tobias von der Krone [Fri, 17 Jan 2014 14:22:41 +0000 (15:22 +0100)]
Merge branch 'develop'

10 years agoextract_storage: dist of ANDBD must be not dev_feature* but pre-staging
Dongsu Park [Fri, 17 Jan 2014 13:47:17 +0000 (14:47 +0100)]
extract_storage: dist of ANDBD must be not dev_feature* but pre-staging

A yet another bug on building a kernel image from a feature branch.
So far profitbricks-linux-image-storage has been built successfully.
However, its subtask building profitbricks-andbd-modules-storage
has always failed.

Its reason was apt sources list having enabled only dev-repository,
where ANDBD modules are normally not built at all. This could result
in an error case, where installation process of ANDBD module package
tries to find a bogus kernel version, such as 2.6.32.

Even though there would exist any feature branch of ANDBD that matches
exactly with the name of feature branch of linux-storage, we could not
have any way to determine at all, whether the two feature branches
should match with each other. There's no point of using $TARGET_NAME
for configuring distribution of the ANDBD module package.

Therefore the solution is to always add a pre-staging repository
to apt sources list. Then linux-storage from a feature branch can be
installed with andbd-modules from the pre-staging (develop) branch.

(Tested only under my local pbuilder environment)

10 years agogentoo_build: Include stats into the commit info.
Benjamin Drung [Fri, 17 Jan 2014 12:20:56 +0000 (13:20 +0100)]
gentoo_build: Include stats into the commit info.

10 years agoMerge branch 'develop'
Tobias von der Krone [Fri, 17 Jan 2014 09:58:53 +0000 (10:58 +0100)]
Merge branch 'develop'

10 years agoMerge branch 'feature/storage-feature-branch' into develop
Tobias von der Krone [Fri, 17 Jan 2014 09:58:24 +0000 (10:58 +0100)]
Merge branch 'feature/storage-feature-branch' into develop

10 years agogentoo_build: Check if the distribution is set to UNRELEASED.
Benjamin Drung [Fri, 17 Jan 2014 09:35:57 +0000 (10:35 +0100)]
gentoo_build: Check if the distribution is set to UNRELEASED.

10 years agogentoo_build: Improve error message for existing tag.
Benjamin Drung [Fri, 17 Jan 2014 09:27:49 +0000 (10:27 +0100)]
gentoo_build: Improve error message for existing tag.

10 years agoAdd initial version of gentoo_build.
Benjamin Drung [Thu, 16 Jan 2014 18:59:23 +0000 (19:59 +0100)]
Add initial version of gentoo_build.

10 years agoMerge branch 'master' into develop
Benjamin Drung [Wed, 15 Jan 2014 10:05:08 +0000 (11:05 +0100)]
Merge branch 'master' into develop

10 years agoAdd script name to temporary files.
Benjamin Drung [Wed, 15 Jan 2014 10:01:58 +0000 (11:01 +0100)]
Add script name to temporary files.

This allows to track down left-over temporary files to their sources.

10 years agoextract_storage: support for a new format of DISTRIBUTION variable
Dongsu Park [Tue, 14 Jan 2014 12:16:18 +0000 (13:16 +0100)]
extract_storage: support for a new format of DISTRIBUTION variable

since several months, this script has not been able to support for
building feature branch kernels any more. It looks like $DISTRIBUTION
is now being given with a format of "dev_feature_$branchname".

To fix errors of Jenkins job dev-feature_extract-storage-kernel-and
-modules, let's make it support for dev_feature_$branchname" too.

10 years agodebian_build.py: Add --version-suffix parameter.
Benjamin Drung [Thu, 9 Jan 2014 13:54:27 +0000 (14:54 +0100)]
debian_build.py: Add --version-suffix parameter.

10 years agoMerge branch 'master' into develop
Benjamin Drung [Thu, 9 Jan 2014 13:22:43 +0000 (14:22 +0100)]
Merge branch 'master' into develop

10 years agoRename pbuilder environment variable ARCH to ARCHITECTURE.
Benjamin Drung [Thu, 9 Jan 2014 13:18:35 +0000 (14:18 +0100)]
Rename pbuilder environment variable ARCH to ARCHITECTURE.

pbuilder falsely passes all environment variables into the chroot system.
The ARCH enviroment variable causes a build failure in the ethoip6 package.

10 years agoMerge branch 'master' into develop
Benjamin Drung [Fri, 3 Jan 2014 17:36:55 +0000 (18:36 +0100)]
Merge branch 'master' into develop

10 years ago.pbuilderrc: Also consider develop-squeeze as pre-staging distribution.
Benjamin Drung [Fri, 3 Jan 2014 17:36:47 +0000 (18:36 +0100)]
.pbuilderrc: Also consider develop-squeeze as pre-staging distribution.

10 years agoRevert "Only pass --override-config to pbuilder on sqeeze (for now)."
Benjamin Drung [Fri, 3 Jan 2014 17:33:29 +0000 (18:33 +0100)]
Revert "Only pass --override-config to pbuilder on sqeeze (for now)."

This reverts commit 1c1ce75080effe12800dd7d5ea91b39fe4692610.

10 years agoOnly pass --override-config to pbuilder on sqeeze (for now).
Benjamin Drung [Fri, 3 Jan 2014 17:10:46 +0000 (18:10 +0100)]
Only pass --override-config to pbuilder on sqeeze (for now).

10 years agoRemove unused imports and replace * imports.
Benjamin Drung [Mon, 23 Dec 2013 14:50:56 +0000 (15:50 +0100)]
Remove unused imports and replace * imports.

10 years agoCleanup the previous source packages.
Benjamin Drung [Mon, 23 Dec 2013 14:42:50 +0000 (15:42 +0100)]
Cleanup the previous source packages.

10 years agoFix crash when cleaning the repository fails.
Benjamin Drung [Mon, 23 Dec 2013 14:40:40 +0000 (15:40 +0100)]
Fix crash when cleaning the repository fails.

subprocess.check_call will raise an exception instead of returning non-zero.

10 years agoUse --override-config to always have a correct sources.list.
Benjamin Drung [Thu, 12 Dec 2013 18:16:37 +0000 (19:16 +0100)]
Use --override-config to always have a correct sources.list.

10 years agoFollow up commit to make the switch to gitpkg+pbuilder work.
Benjamin Drung [Thu, 12 Dec 2013 17:38:25 +0000 (18:38 +0100)]
Follow up commit to make the switch to gitpkg+pbuilder work.

10 years agoReplace git-buildpackage by gitpkg and pbuilder.
Benjamin Drung [Thu, 12 Dec 2013 16:27:23 +0000 (17:27 +0100)]
Replace git-buildpackage by gitpkg and pbuilder.

This should fix #2744.

10 years agoRevert "lib/git_buildpackage.py: Fix build failure caused by calling clean target."
Benjamin Drung [Thu, 12 Dec 2013 15:44:02 +0000 (16:44 +0100)]
Revert "lib/git_buildpackage.py: Fix build failure caused by calling clean target."

This change was not enough, because pdebuild calls the clean target to a chain.
See http://redmine.pb.local/issues/2744 for details.

This reverts commit 681239fe03ab6f2f4f91f35368199ad9e7dd4880.

10 years agopxe_install.sh: bump FAI time-out to 60 minutes
Thilo Fromm [Wed, 11 Dec 2013 12:51:53 +0000 (13:51 +0100)]
pxe_install.sh: bump FAI time-out to 60 minutes

This bumps the FAI time-out to 60 minutes in order to un-break gateway
auto-deploy.

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
10 years agolib/git_buildpackage.py: Fix build failure caused by calling clean target.
Benjamin Drung [Mon, 9 Dec 2013 08:28:52 +0000 (09:28 +0100)]
lib/git_buildpackage.py: Fix build failure caused by calling clean target.

We do want to let dpkg-buildpackage call the clean target, because
it can fail if we do not have all build dependencies installed.
Instead we make sure that the git checkout is clean and the clean
target will be called inside the pbuilder chroot (after the
installation of the build dependencies).

10 years agodebian_build.py: correct build_failed
Tobias von der Krone [Mon, 14 Oct 2013 10:51:20 +0000 (12:51 +0200)]
debian_build.py: correct build_failed

10 years agofail after gathering reports if build has failed
Tobias von der Krone [Mon, 14 Oct 2013 10:36:08 +0000 (12:36 +0200)]
fail after gathering reports if build has failed

11 years agosupport maven3 which changed output...
Holger Levsen [Wed, 25 Sep 2013 16:22:42 +0000 (18:22 +0200)]
support maven3 which changed output...

11 years agochanges taken from sagunt:/root/
Holger Levsen [Wed, 18 Sep 2013 10:21:33 +0000 (12:21 +0200)]
changes taken from sagunt:/root/

11 years agouse riserver for pxe, not jerusalem anymore
Holger Levsen [Fri, 13 Sep 2013 12:20:37 +0000 (14:20 +0200)]
use riserver for pxe, not jerusalem anymore

11 years agoremove traces of testlink, as its not used anymore
Holger Levsen [Fri, 13 Sep 2013 10:18:02 +0000 (12:18 +0200)]
remove traces of testlink, as its not used anymore

11 years agofix build failure after merge to integration branch
Holger Levsen [Wed, 28 Aug 2013 12:02:05 +0000 (14:02 +0200)]
fix build failure after merge to integration branch

11 years agomaven-post-build: dont trigger build if we commit ourself
Holger Levsen [Fri, 23 Aug 2013 11:11:13 +0000 (13:11 +0200)]
maven-post-build: dont trigger build if we commit ourself

11 years agomaven_pre_helper: properly reset master branch. refactor a bit.
Holger Levsen [Fri, 23 Aug 2013 09:54:11 +0000 (11:54 +0200)]
maven_pre_helper: properly reset master branch. refactor a bit.

11 years agoupdate+reset integration branch properly
Holger Levsen [Fri, 23 Aug 2013 09:02:12 +0000 (11:02 +0200)]
update+reset integration branch properly

11 years agoliveboot: delete kernel debug archive when garbage collection ran
Fabian Holler [Thu, 22 Aug 2013 14:37:37 +0000 (16:37 +0200)]
liveboot: delete kernel debug archive when garbage collection ran

delete the liveboot kernel debug archive in /srv/liveboot/debug_archives
when the associated liveboot image is deleted

11 years agoadd script to create liveboot kernel debug archives
Fabian Holler [Thu, 22 Aug 2013 09:34:05 +0000 (11:34 +0200)]
add script to create liveboot kernel debug archives

The script downloads the sources and debug symbols for ethoip6 and the
profitbricks-linux-pserver kernel that are installed on a liveboot.
From the extracted files a tar.xz archive is created that contains
everything what is needed to debug kernel oopses.
The archives is stored at /srv/liveboot/debug_archives on the jenkins
build server

11 years agoMerge branch 'develop'
Holger Levsen [Thu, 22 Aug 2013 16:11:38 +0000 (18:11 +0200)]
Merge branch 'develop'

Conflicts resolved:
debian_build.py

11 years agoextract_storage: fix a bug on selecting modules directory name
Dongsu Park [Thu, 22 Aug 2013 11:43:43 +0000 (13:43 +0200)]
extract_storage: fix a bug on selecting modules directory name

In the sub-script, which is externally invoked by this script,
there was a little bug like "cd /lib/modules/*storage/".
This has been working if there's only 1 directory under /lib/modules.
But after upgrading kernel 3.4.23 to 3.4.51, there could be 2 different
directories, because ANDBD package could be possibly depending on
the older version.

To avoid such situations, set the kernel modules directory just the
same as its kernel version.

11 years agoextract_storage: fix a bug on selecting modules directory name
Dongsu Park [Thu, 22 Aug 2013 11:43:43 +0000 (13:43 +0200)]
extract_storage: fix a bug on selecting modules directory name

In the sub-script, which is externally invoked by this script,
there was a little bug like "cd /lib/modules/*storage/".
This has been working if there's only 1 directory under /lib/modules.
But after upgrading kernel 3.4.23 to 3.4.51, there could be 2 different
directories, because ANDBD package could be possibly depending on
the older version.

To avoid such situations, set the kernel modules directory just the
same as its kernel version.

11 years agostorage_deploy: fix typo in log output
Jack Wang [Wed, 31 Jul 2013 14:57:55 +0000 (16:57 +0200)]
storage_deploy: fix typo in log output

Signed-off-by: Jack Wang <jinpu.wang@profitbricks.com>
11 years agoMerge remote-tracking branch 'origin/bugfix/reset-integration' into develop
Szymon Bochniak [Tue, 30 Jul 2013 15:49:17 +0000 (17:49 +0200)]
Merge remote-tracking branch 'origin/bugfix/reset-integration' into develop

11 years agoReset local integration branch before merging with the branch to be built
Szymon Bochniak [Tue, 30 Jul 2013 15:04:35 +0000 (17:04 +0200)]
Reset local integration branch before merging with the branch to be built

11 years agoreplace test ([ expression ]) with bash internal [[ expression ]]
Tobias von der Krone [Mon, 29 Jul 2013 07:29:01 +0000 (09:29 +0200)]
replace test ([ expression ]) with bash internal [[ expression ]]

11 years agoretab
Tobias von der Krone [Mon, 29 Jul 2013 07:27:34 +0000 (09:27 +0200)]
retab

11 years agoreplace test ([ expression ]) with bash internal [[ expression ]]
Tobias von der Krone [Mon, 29 Jul 2013 07:25:51 +0000 (09:25 +0200)]
replace test ([ expression ]) with bash internal [[ expression ]]

11 years agocorrect indentations
Tobias von der Krone [Mon, 29 Jul 2013 07:19:12 +0000 (09:19 +0200)]
correct indentations

11 years agoMerge branch 'develop' of git+ssh://git/srv/git/so/jenkins_build_script into develop
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

11 years agowe love typos
Holger Levsen [Fri, 26 Jul 2013 16:05:36 +0000 (18:05 +0200)]
we love typos

11 years agoadd export to ease debugging
Holger Levsen [Fri, 26 Jul 2013 16:04:36 +0000 (18:04 +0200)]
add export to ease debugging

11 years agoexplicitly checkout that branch
Holger Levsen [Fri, 26 Jul 2013 16:03:02 +0000 (18:03 +0200)]
explicitly checkout that branch

11 years agoobey no-test build trigger and add figlet output
Holger Levsen [Fri, 26 Jul 2013 15:41:31 +0000 (17:41 +0200)]
obey no-test build trigger and add figlet output

11 years agoalso pull in changes from origin
Holger Levsen [Fri, 26 Jul 2013 14:51:47 +0000 (16:51 +0200)]
also pull in changes from origin

11 years agoadd support for bugfix branches
Holger Levsen [Fri, 26 Jul 2013 13:54:10 +0000 (15:54 +0200)]
add support for bugfix branches

11 years agoprocess incoming after upload
Holger Levsen [Fri, 26 Jul 2013 11:15:36 +0000 (13:15 +0200)]
process incoming after upload

11 years agofix DISTRIBUTION replacement
Holger Levsen [Fri, 26 Jul 2013 10:59:06 +0000 (12:59 +0200)]
fix DISTRIBUTION replacement

11 years agobe more verbose
Holger Levsen [Thu, 25 Jul 2013 17:09:13 +0000 (19:09 +0200)]
be more verbose

11 years agocorrectly add new changelog entry
Holger Levsen [Thu, 25 Jul 2013 17:07:58 +0000 (19:07 +0200)]
correctly add new changelog entry

11 years agomore debugging
Holger Levsen [Thu, 25 Jul 2013 16:02:58 +0000 (18:02 +0200)]
more debugging

11 years agobe even more verbose
Holger Levsen [Thu, 25 Jul 2013 15:30:30 +0000 (17:30 +0200)]
be even more verbose

11 years agobe more verbose for debugging
Holger Levsen [Thu, 25 Jul 2013 15:18:40 +0000 (17:18 +0200)]
be more verbose for debugging

11 years agorefactoring
Holger Levsen [Thu, 25 Jul 2013 15:04:41 +0000 (17:04 +0200)]
refactoring

11 years agoadd check for valid SUITE and let it default to squeeze
Holger Levsen [Thu, 25 Jul 2013 14:41:02 +0000 (16:41 +0200)]
add check for valid SUITE and let it default to squeeze

11 years agofixup: derive suite from jenkins job. cleanup + restructure code
Holger Levsen [Thu, 25 Jul 2013 14:18:09 +0000 (16:18 +0200)]
fixup: derive suite from jenkins job. cleanup + restructure code

11 years agoderive 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

11 years agoimprove output
Holger Levsen [Thu, 25 Jul 2013 13:05:15 +0000 (15:05 +0200)]
improve output

11 years agoless cleaning is enough
Holger Levsen [Thu, 25 Jul 2013 12:49:28 +0000 (14:49 +0200)]
less cleaning is enough

11 years agofix upload, add cleanup after upload, add some more comments
Holger Levsen [Thu, 25 Jul 2013 12:41:25 +0000 (14:41 +0200)]
fix upload, add cleanup after upload, add some more comments

11 years agoimplement uploading, add comments
Holger Levsen [Thu, 25 Jul 2013 11:23:27 +0000 (13:23 +0200)]
implement uploading, add comments

11 years agocleanup maven repo before build. set BUILD_NUMBER in version correctly
Holger Levsen [Wed, 24 Jul 2013 16:59:39 +0000 (18:59 +0200)]
cleanup maven repo before build. set BUILD_NUMBER in version correctly

11 years agopush back intregation branch if merge+build was successful
Holger Levsen [Wed, 24 Jul 2013 16:46:17 +0000 (18:46 +0200)]
push back intregation branch if merge+build was successful

11 years agocorrectly detect merge triggers
Holger Levsen [Wed, 24 Jul 2013 16:22:57 +0000 (18:22 +0200)]
correctly detect merge triggers

11 years agorename script and add a pre-build script, to merge feature branches into integration
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

11 years agofixup: create debian/changelog correctly, handle master branch differently. create...
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