]>
Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/log
Benjamin Drung [Wed, 23 Jul 2014 11:20:18 +0000 (13:20 +0200)]
pbuilder: Replace Debian repositories on alexandria.pb.local by repo.pb.local.
Benjamin Drung [Tue, 22 Jul 2014 20:01:06 +0000 (22:01 +0200)]
pxe_install.sh: Print experimental packages in addition to develop packages.
Benjamin Drung [Tue, 22 Jul 2014 20:00:21 +0000 (22:00 +0200)]
pxe_install.sh: Do not open pseudo-terminal.
Benjamin Drung [Tue, 22 Jul 2014 10:25:08 +0000 (12:25 +0200)]
pxe_riserver_setup.sh: Set FAI_CONFIG_BRANCH to target branch
Benjamin Drung [Mon, 21 Jul 2014 09:07:04 +0000 (11:07 +0200)]
debian_build.py: Rename apt01 to repo01 again (to avoid confusion with app01).
Tobias von der Krone [Mon, 7 Jul 2014 11:40:22 +0000 (13:40 +0200)]
add git branches regex to allow additional packages of these branches to pe pushed to the cidb (Closes: #6977)
Benjamin Drung [Fri, 4 Jul 2014 10:04:13 +0000 (12:04 +0200)]
debian_build.py: Use re for partial substitution.
Benjamin Drung [Fri, 4 Jul 2014 09:56:10 +0000 (11:56 +0200)]
debian_build.py: Increment or decrement version for develop and experemental build depending on their changelog entries
Benjamin Drung [Fri, 4 Jul 2014 09:34:28 +0000 (11:34 +0200)]
debian_build.py: Read the VERSION_SUFFIX environment variable
Benjamin Drung [Fri, 4 Jul 2014 09:29:16 +0000 (11:29 +0200)]
debian_build.py: Search for the last release (where distribution is not UNRELEASED)
Benjamin Drung [Thu, 3 Jul 2014 14:31:30 +0000 (16:31 +0200)]
upload squeeze-dev/wheezy-dev packages to pb-debian-dev instead of pb-debian
Pascal Giannakakis [Tue, 24 Jun 2014 11:49:27 +0000 (13:49 +0200)]
- Adds a missing character
Pascal Giannakakis [Mon, 23 Jun 2014 17:57:45 +0000 (19:57 +0200)]
- Re-adds tagging feature that was accidentally dropped
Benjamin Drung [Tue, 17 Jun 2014 15:39:23 +0000 (17:39 +0200)]
debian_build.py: Fail build if apt01 upload fail.
Benjamin Drung [Fri, 6 Jun 2014 15:22:55 +0000 (17:22 +0200)]
debian_build.py: Fix typo split -> splitext.
Benjamin Drung [Fri, 6 Jun 2014 15:17:48 +0000 (17:17 +0200)]
debian_build.py: Put modified changes file into same directory than the original.
Benjamin Drung [Fri, 6 Jun 2014 15:12:15 +0000 (17:12 +0200)]
debian_build.py: Upload to apt01 first and store changed .changes file separately.
Benjamin Drung [Fri, 6 Jun 2014 09:25:32 +0000 (11:25 +0200)]
debian_build.py: Rename archive01 to apt01.
Benjamin Drung [Thu, 5 Jun 2014 17:46:09 +0000 (19:46 +0200)]
debian_build.py: Change distribution for archive01 in changes file.
Benjamin Drung [Thu, 5 Jun 2014 17:20:50 +0000 (19:20 +0200)]
debian_build.py: Upload packages to archive01.pb.local, too.
Frank Brehm [Tue, 3 Jun 2014 10:11:39 +0000 (12:11 +0200)]
Merge branch 'master' into develop
Frank Brehm [Tue, 3 Jun 2014 10:09:36 +0000 (12:09 +0200)]
Added ProfitBricks packages in creating of the GRML squash image.
Benjamin Drung [Fri, 23 May 2014 14:57:20 +0000 (16:57 +0200)]
.pbuilderrc: Remove http_proxy (we have a full mirror on alexandria).
Benjamin Drung [Mon, 19 May 2014 09:12:36 +0000 (11:12 +0200)]
gentoo_build: Do not fail in auto-tagging mode for released commits.
Frank Brehm [Wed, 30 Apr 2014 08:09:09 +0000 (10:09 +0200)]
Made source image and target directory configurable in create-grml-squash.sh
Frank Brehm [Wed, 30 Apr 2014 08:00:27 +0000 (10:00 +0200)]
Added exec dependency to root in create-grml-squash.sh
Frank Brehm [Wed, 30 Apr 2014 07:56:25 +0000 (09:56 +0200)]
Added create-grml-squash.sh and dependend files
root sagunt [Tue, 29 Apr 2014 14:00:28 +0000 (14:00 +0000)]
change order of liveboot rsync destinations
Benjamin Drung [Mon, 14 Apr 2014 08:01:29 +0000 (10:01 +0200)]
.pbuilderrc: Do not add the feature branch repo if it does not exists yet.
Ramona Koch [Wed, 9 Apr 2014 13:00:02 +0000 (15:00 +0200)]
B02-get-reports: get new report: test-run-all.xml
Benjamin Drung [Mon, 7 Apr 2014 10:51:20 +0000 (12:51 +0200)]
debian_build.py: Fix PB_SUITE for feature branch builds.
Set PB_SUITE to dev-feature-* instead of experimental-squeeze (for squeeze).
Pascal Giannakakis [Thu, 3 Apr 2014 08:50:21 +0000 (10:50 +0200)]
Merge branch 'feature/PBP-6319'
Benjamin Drung [Wed, 26 Mar 2014 10:14:17 +0000 (11:14 +0100)]
debian_build.py: Do not automatically update debian/changelog for ri-docs.
Pascal Giannakakis [Fri, 21 Mar 2014 16:00:29 +0000 (17:00 +0100)]
- Fixed typos
Task #PBP-6319 - Fix Jenkins pre- and post-commit triggers
Pascal Giannakakis [Thu, 20 Mar 2014 12:52:27 +0000 (13:52 +0100)]
- Removed all debian references
PBP-6319
Pascal Giannakakis [Fri, 14 Mar 2014 11:28:45 +0000 (12:28 +0100)]
- Changed Maven post build script to ignore debian packaging if not available
PBP-6319
Benjamin Drung [Wed, 5 Mar 2014 12:34:44 +0000 (13:34 +0100)]
debian_build: Fix tagged_commit to tagged_commit_hexsha.
Benjamin Drung [Wed, 5 Mar 2014 12:31:21 +0000 (13:31 +0100)]
debian_build: use GIT_URL instead of GIT_REPO_PATH
This is a follow-up fix for commit
d6a9e77
Benjamin Drung [Wed, 5 Mar 2014 12:29:52 +0000 (13:29 +0100)]
Rename curr_commit_id to curr_commit_hexsha.
Benjamin Drung [Wed, 5 Mar 2014 12:19:10 +0000 (13:19 +0100)]
Fix crash with python-git >= 0.3
The Commit id attribute was renamed to hexsha in python-git >= 0.3
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
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
Benjamin Drung [Tue, 4 Mar 2014 10:44:09 +0000 (11:44 +0100)]
Remove unreachable code.
Benjamin Drung [Tue, 4 Mar 2014 10:43:13 +0000 (11:43 +0100)]
debian_build.py: PEP 8 fixes.
Benjamin Drung [Tue, 4 Mar 2014 10:29:13 +0000 (11:29 +0100)]
Merge remote-tracking branch 'origin/feature/cidb-git-rev'
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.
Benjamin Drung [Thu, 13 Feb 2014 10:22:06 +0000 (11:22 +0100)]
gentoo_build: Clean up pep8 warnings.
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.
Benjamin Drung [Tue, 11 Feb 2014 18:15:11 +0000 (19:15 +0100)]
Fix wrong distribution list for feature/* builds on wheezy.
Benjamin Drung [Tue, 11 Feb 2014 16:24:34 +0000 (17:24 +0100)]
gentoo_build: Disable some pylint warning.
Benjamin Drung [Tue, 28 Jan 2014 21:21:50 +0000 (22:21 +0100)]
gentoo_build: Add --auto-version feature.
Benjamin Drung [Fri, 24 Jan 2014 16:26:42 +0000 (17:26 +0100)]
gentoo_build: Add --keywords parameter.
Benjamin Drung [Fri, 24 Jan 2014 10:15:43 +0000 (11:15 +0100)]
gentoo_build: Create directory if it does not exist already.
Tobias von der Krone [Wed, 22 Jan 2014 13:37:15 +0000 (14:37 +0100)]
Merge branch 'master' into develop
Tobias von der Krone [Wed, 22 Jan 2014 13:36:20 +0000 (14:36 +0100)]
liveboot_rsync.sh: cleanup and add new staging
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.
Benjamin Drung [Wed, 22 Jan 2014 11:37:07 +0000 (12:37 +0100)]
gentoo_build: Support running in a detached head.
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.
Benjamin Drung [Tue, 21 Jan 2014 15:25:19 +0000 (16:25 +0100)]
pxe_riserver_setup.sh: Include general PXE configuration.
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.
Benjamin Drung [Fri, 17 Jan 2014 16:44:36 +0000 (17:44 +0100)]
gentoo_build: Remove not needed additional spaces around URL.
Benjamin Drung [Fri, 17 Jan 2014 16:40:34 +0000 (17:40 +0100)]
gentoo_build: Shorten gitweb URL.
Benjamin Drung [Fri, 17 Jan 2014 16:36:21 +0000 (17:36 +0100)]
gentoo_build: Add gitweb link to every git commit.
Benjamin Drung [Fri, 17 Jan 2014 14:58:53 +0000 (15:58 +0100)]
gentoo_build: Support building mutliple ebuilds from one git repository.
Tobias von der Krone [Fri, 17 Jan 2014 14:22:41 +0000 (15:22 +0100)]
Merge branch 'develop'
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)
Benjamin Drung [Fri, 17 Jan 2014 12:20:56 +0000 (13:20 +0100)]
gentoo_build: Include stats into the commit info.
Tobias von der Krone [Fri, 17 Jan 2014 09:58:53 +0000 (10:58 +0100)]
Merge branch 'develop'
Tobias von der Krone [Fri, 17 Jan 2014 09:58:24 +0000 (10:58 +0100)]
Merge branch 'feature/storage-feature-branch' into develop
Benjamin Drung [Fri, 17 Jan 2014 09:35:57 +0000 (10:35 +0100)]
gentoo_build: Check if the distribution is set to UNRELEASED.
Benjamin Drung [Fri, 17 Jan 2014 09:27:49 +0000 (10:27 +0100)]
gentoo_build: Improve error message for existing tag.
Benjamin Drung [Thu, 16 Jan 2014 18:59:23 +0000 (19:59 +0100)]
Add initial version of gentoo_build.
Benjamin Drung [Wed, 15 Jan 2014 10:05:08 +0000 (11:05 +0100)]
Merge branch 'master' into develop
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.
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.
Benjamin Drung [Thu, 9 Jan 2014 13:54:27 +0000 (14:54 +0100)]
debian_build.py: Add --version-suffix parameter.
Benjamin Drung [Thu, 9 Jan 2014 13:22:43 +0000 (14:22 +0100)]
Merge branch 'master' into develop
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.
Benjamin Drung [Fri, 3 Jan 2014 17:36:55 +0000 (18:36 +0100)]
Merge branch 'master' into develop
Benjamin Drung [Fri, 3 Jan 2014 17:36:47 +0000 (18:36 +0100)]
.pbuilderrc: Also consider develop-squeeze as pre-staging distribution.
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 .
Benjamin Drung [Fri, 3 Jan 2014 17:10:46 +0000 (18:10 +0100)]
Only pass --override-config to pbuilder on sqeeze (for now).
Benjamin Drung [Mon, 23 Dec 2013 14:50:56 +0000 (15:50 +0100)]
Remove unused imports and replace * imports.
Benjamin Drung [Mon, 23 Dec 2013 14:42:50 +0000 (15:42 +0100)]
Cleanup the previous source packages.
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.
Benjamin Drung [Thu, 12 Dec 2013 18:16:37 +0000 (19:16 +0100)]
Use --override-config to always have a correct sources.list.
Benjamin Drung [Thu, 12 Dec 2013 17:38:25 +0000 (18:38 +0100)]
Follow up commit to make the switch to gitpkg+pbuilder work.
Benjamin Drung [Thu, 12 Dec 2013 16:27:23 +0000 (17:27 +0100)]
Replace git-buildpackage by gitpkg and pbuilder.
This should fix #2744.
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 .
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>
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).
Tobias von der Krone [Mon, 14 Oct 2013 10:51:20 +0000 (12:51 +0200)]
debian_build.py: correct build_failed
Tobias von der Krone [Mon, 14 Oct 2013 10:36:08 +0000 (12:36 +0200)]
fail after gathering reports if build has failed
Holger Levsen [Wed, 25 Sep 2013 16:22:42 +0000 (18:22 +0200)]
support maven3 which changed output...
Holger Levsen [Wed, 18 Sep 2013 10:21:33 +0000 (12:21 +0200)]
changes taken from sagunt:/root/
Holger Levsen [Fri, 13 Sep 2013 12:20:37 +0000 (14:20 +0200)]
use riserver for pxe, not jerusalem anymore
Holger Levsen [Fri, 13 Sep 2013 10:18:02 +0000 (12:18 +0200)]
remove traces of testlink, as its not used anymore
Holger Levsen [Wed, 28 Aug 2013 12:02:05 +0000 (14:02 +0200)]
fix build failure after merge to integration branch
Holger Levsen [Fri, 23 Aug 2013 11:11:13 +0000 (13:11 +0200)]
maven-post-build: dont trigger build if we commit ourself
Holger Levsen [Fri, 23 Aug 2013 09:54:11 +0000 (11:54 +0200)]
maven_pre_helper: properly reset master branch. refactor a bit.