]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
10 years agoMerge pull request #24 from ktdreyer/ceph-deploy-pr-trust-throden
Alfredo Deza [Mon, 17 Nov 2014 21:54:59 +0000 (16:54 -0500)]
Merge pull request #24 from ktdreyer/ceph-deploy-pr-trust-throden

ceph-deploy-pull-requests: add Travis to admins list

10 years agoMerge pull request #25 from ceph/wip-ceph-build-prs
Alfredo Deza [Mon, 17 Nov 2014 21:49:42 +0000 (16:49 -0500)]
Merge pull request #25 from ceph/wip-ceph-build-prs

create a ceph-build PR job

10 years agocreate a ceph-build PR job 25/head
Alfredo Deza [Mon, 17 Nov 2014 21:43:24 +0000 (16:43 -0500)]
create a ceph-build PR job

Signed-off-by: Alfredo Deza <adeza@redhat.com>
10 years agoceph-deploy-pull-requests: add Travis to admins list 24/head
Ken Dreyer [Mon, 17 Nov 2014 21:42:36 +0000 (14:42 -0700)]
ceph-deploy-pull-requests: add Travis to admins list

Travis is a co-maintainer of ceph-deploy; add him to the list of
administrators for the GitHub Pull Requests plugin. Jenkins will trust
any pull requests from Travis and build them automatically.

(I don't know why Jenkins wasn't already trusting Travis since he's a
member of the Ceph organization.)

10 years agoMerge pull request #23 from ceph/wip-radosgw-agent
Alfredo Deza [Mon, 17 Nov 2014 21:08:42 +0000 (16:08 -0500)]
Merge pull request #23 from ceph/wip-radosgw-agent

create a radosgw-agent PR job

10 years agoinstall tox, not requirements.txt 23/head
Alfredo Deza [Mon, 17 Nov 2014 20:02:07 +0000 (15:02 -0500)]
install tox, not requirements.txt

Signed-off-by: Alfredo Deza <adeza@redhat.com>
10 years agocreate a radosgw-agent PR job
Alfredo Deza [Mon, 17 Nov 2014 19:52:38 +0000 (14:52 -0500)]
create a radosgw-agent PR job

Signed-off-by: Alfredo Deza <adeza@rehat.com>
10 years agoMerge pull request #22 from ktdreyer/jjb-better-search
Alfredo Deza [Fri, 14 Nov 2014 15:22:26 +0000 (10:22 -0500)]
Merge pull request #22 from ktdreyer/jjb-better-search

jjb: increase precision of job searches

10 years agojjb: increase precision of job searches 22/head
Ken Dreyer [Fri, 14 Nov 2014 15:13:40 +0000 (08:13 -0700)]
jjb: increase precision of job searches

The "for `ls .` ... -d subdirectory" logic was examining every entry at
the top-level of the workspace, both files and directories. The files
entries were useless since they would never contain subdirectories.

Use "find" instead to only locate directories at the top level.

The purpose of this change is to make the verbose output (with set -x)
easier to read, and make it easier to spot errors in the future.

10 years agoMerge pull request #21 from ktdreyer/jjb-errors
Alfredo Deza [Fri, 14 Nov 2014 14:38:40 +0000 (09:38 -0500)]
Merge pull request #21 from ktdreyer/jjb-errors

jjb: be verbose and fail early on errors

10 years agojjb: be verbose and fail early on errors 21/head
Ken Dreyer [Fri, 14 Nov 2014 14:27:53 +0000 (07:27 -0700)]
jjb: be verbose and fail early on errors

Prior to this commit, if the "job-builder update" command failed,
Jenkins would still consider the overall job to have succeeded, because
the jjb/config/config script was exiting with a zero exit code. (This
was because the for/ls loop were the final commands to run, and they
were exiting with zero.)

When I modified the Jenkins UID as a part of the overall Jenkins
authentication changes yesterday, the "job-builder update" command no
longer worked, because the password in jenkins_builder.ini was no longer
valid. However, Jenkins still considered the jjb job to be passing, as
explained above.

Tell bash to be verbose about the commands it runs ("set -x") and fail
early if there are any problems ("set -e").

With this change, if there is a problem with "job-builder update" or any
other command in the script, the job will fail right away and Jenkins
will bring it to our attention sooner.

10 years agoMerge pull request #19 from ktdreyer/ceph-deploy-pull-requests
Alfredo Deza [Thu, 13 Nov 2014 20:39:11 +0000 (15:39 -0500)]
Merge pull request #19 from ktdreyer/ceph-deploy-pull-requests

import ceph-deploy-pull-requests

10 years agoMerge pull request #20 from ktdreyer/readme-updates
Alfredo Deza [Thu, 13 Nov 2014 20:38:43 +0000 (15:38 -0500)]
Merge pull request #20 from ktdreyer/readme-updates

doc: README updates

10 years agodoc: add "naming conventions" section 20/head
Ken Dreyer [Thu, 13 Nov 2014 19:19:12 +0000 (12:19 -0700)]
doc: add "naming conventions" section

10 years agodoc: capitalize titles
Ken Dreyer [Thu, 13 Nov 2014 19:20:05 +0000 (12:20 -0700)]
doc: capitalize titles

10 years agodoc: improve RST syntax in "testing changes"
Ken Dreyer [Thu, 13 Nov 2014 19:08:54 +0000 (12:08 -0700)]
doc: improve RST syntax in "testing changes"

RST expects double backticks, not single ones.

10 years agoimport ceph-deploy-pull-requests 19/head
Ken Dreyer [Thu, 13 Nov 2014 16:09:01 +0000 (09:09 -0700)]
import ceph-deploy-pull-requests

This imports the current settings for ceph-deploy-pull-requests as YAML.

10 years agojenkins-slave-chef-pull-requests: fix YAML syntax
Ken Dreyer [Tue, 11 Nov 2014 18:43:48 +0000 (11:43 -0700)]
jenkins-slave-chef-pull-requests: fix YAML syntax

The YAML syntax for the github-pull-request portion of the
cjenkins-slave-chef-pull-requests job was incorrect; use the correct
syntax.

10 years agodoc: add steps for testing changes
Ken Dreyer [Tue, 11 Nov 2014 18:43:10 +0000 (11:43 -0700)]
doc: add steps for testing changes

10 years agofix indentation
Alfredo Deza [Tue, 11 Nov 2014 14:19:59 +0000 (09:19 -0500)]
fix indentation

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoadd artifact publishers
Alfredo Deza [Tue, 11 Nov 2014 14:15:07 +0000 (09:15 -0500)]
add artifact publishers

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agouse the newly jjb-able ceph-deploy
Alfredo Deza [Mon, 10 Nov 2014 17:57:45 +0000 (12:57 -0500)]
use the newly jjb-able ceph-deploy

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoMerge pull request #17 from ktdreyer/jenkins-slave-chef-pull-requests
Alfredo Deza [Mon, 10 Nov 2014 17:08:06 +0000 (12:08 -0500)]
Merge pull request #17 from ktdreyer/jenkins-slave-chef-pull-requests

add jenkins-slave-chef-pull-requests

10 years agoMerge pull request #18 from ktdreyer/readme-updates
Alfredo Deza [Mon, 10 Nov 2014 17:07:13 +0000 (12:07 -0500)]
Merge pull request #18 from ktdreyer/readme-updates

README updates

10 years agodoc: refresh CentOS versions 18/head
Ken Dreyer [Mon, 10 Nov 2014 16:47:51 +0000 (09:47 -0700)]
doc: refresh CentOS versions

CentOS 4 doesn't exist any more; use something more modern.

10 years agodoc: link to jenkins-job-builder task in README
Ken Dreyer [Mon, 10 Nov 2014 16:46:41 +0000 (09:46 -0700)]
doc: link to jenkins-job-builder task in README

The README makes reference to the fact that a Jenkins job deploys any
job config changes. Add a hyperlink to this job.

10 years agoadd jenkins-slave-chef-pull-requests 17/head
Ken Dreyer [Sat, 8 Nov 2014 02:05:00 +0000 (19:05 -0700)]
add jenkins-slave-chef-pull-requests

This task will test pull requests for the jenkins-slave-chef repository
by running "rake".

10 years agofix path to jenkins build
Alfredo Deza [Fri, 7 Nov 2014 20:14:12 +0000 (15:14 -0500)]
fix path to jenkins build

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoadd a pwd to debug where we are
Alfredo Deza [Fri, 7 Nov 2014 20:03:34 +0000 (15:03 -0500)]
add a pwd to debug where we are

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoMerge pull request #16 from andrewschoen/ceph-deploy
Alfredo Deza [Fri, 7 Nov 2014 18:00:17 +0000 (13:00 -0500)]
Merge pull request #16 from andrewschoen/ceph-deploy

Ceph deploy

10 years agoinvoke jenkins-build from ceph-deploy during build 16/head
Andrew Schoen [Fri, 7 Nov 2014 17:55:18 +0000 (11:55 -0600)]
invoke jenkins-build from ceph-deploy during build

10 years agochange name so it doesn't conflict with existing job; remove commented out branches
Andrew Schoen [Fri, 7 Nov 2014 17:49:12 +0000 (11:49 -0600)]
change name so it doesn't conflict with existing job; remove commented out branches

10 years agouse an actualy jenkins yml file, hopefully less wrong this time
Andrew Schoen [Fri, 7 Nov 2014 15:48:39 +0000 (09:48 -0600)]
use an actualy jenkins yml file, hopefully less wrong this time

10 years agoadded the ceph-deploy.yml file in the proper directory structure
Andrew Schoen [Fri, 7 Nov 2014 15:33:07 +0000 (09:33 -0600)]
added the ceph-deploy.yml file in the proper directory structure

10 years agoupdate the README with example project layout
Alfredo Deza [Thu, 6 Nov 2014 14:46:19 +0000 (09:46 -0500)]
update the README with example project layout

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agobe specific about the package name
Alfredo Deza [Mon, 3 Nov 2014 20:25:05 +0000 (15:25 -0500)]
be specific about the package name

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agofix bash syntax error
Alfredo Deza [Mon, 3 Nov 2014 19:57:24 +0000 (14:57 -0500)]
fix bash syntax error

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agouse the right order for deb/rpm
Alfredo Deza [Mon, 3 Nov 2014 19:51:37 +0000 (14:51 -0500)]
use the right order for deb/rpm

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoremove double cd to pybind dir
Alfredo Deza [Mon, 3 Nov 2014 19:43:44 +0000 (14:43 -0500)]
remove double cd to pybind dir

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agocd into pybind/ceph
Alfredo Deza [Mon, 3 Nov 2014 19:30:31 +0000 (14:30 -0500)]
cd into pybind/ceph

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agogigantic script to build deb+rpm
Alfredo Deza [Mon, 3 Nov 2014 17:57:42 +0000 (12:57 -0500)]
gigantic script to build deb+rpm

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoskip installing python deps for the bindings job
Alfredo Deza [Mon, 3 Nov 2014 16:53:42 +0000 (11:53 -0500)]
skip installing python deps for the bindings job

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agofix path for bash executable:
Alfredo Deza [Mon, 3 Nov 2014 16:43:10 +0000 (11:43 -0500)]
fix path for bash executable:

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoan initial take on the build script
Alfredo Deza [Fri, 31 Oct 2014 18:30:11 +0000 (14:30 -0400)]
an initial take on the build script

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agobuild only for now
Alfredo Deza [Fri, 31 Oct 2014 18:29:59 +0000 (14:29 -0400)]
build only  for now

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agofix yml indentation
Alfredo Deza [Fri, 31 Oct 2014 16:43:27 +0000 (12:43 -0400)]
fix yml indentation

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agomake the python bindings a matrix project
Alfredo Deza [Fri, 31 Oct 2014 16:28:02 +0000 (12:28 -0400)]
make the python bindings a matrix project

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agocorrectly search for definitions directories
Alfredo Deza [Thu, 16 Oct 2014 15:03:19 +0000 (11:03 -0400)]
correctly search for definitions directories

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoloop around all projects to build Jenkins configurations
Alfredo Deza [Thu, 16 Oct 2014 14:45:49 +0000 (10:45 -0400)]
loop around all projects to build Jenkins configurations

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoinitial take on python-bindings
Alfredo Deza [Thu, 16 Oct 2014 14:37:49 +0000 (10:37 -0400)]
initial take on python-bindings

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoremove generated xml
Alfredo Deza [Thu, 16 Oct 2014 13:41:02 +0000 (09:41 -0400)]
remove generated xml

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agopoll every minute for github
Alfredo Deza [Thu, 16 Oct 2014 13:38:13 +0000 (09:38 -0400)]
poll every minute for github

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoadd some comments of the config actions
Alfredo Deza [Thu, 16 Oct 2014 13:36:09 +0000 (09:36 -0400)]
add some comments of the config actions

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoI HATE BASH. Removing dollar sign from var
Alfredo Deza [Wed, 15 Oct 2014 21:22:51 +0000 (17:22 -0400)]
I HATE BASH. Removing dollar sign from var

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agomake mkdir work
Alfredo Deza [Wed, 15 Oct 2014 21:21:07 +0000 (17:21 -0400)]
make mkdir work

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agoadd a valid path to the sdist index
Alfredo Deza [Wed, 15 Oct 2014 21:14:51 +0000 (17:14 -0400)]
add a valid path to the sdist index

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agouse local caching
Alfredo Deza [Wed, 15 Oct 2014 19:54:44 +0000 (15:54 -0400)]
use local caching

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agofix paths to definitions
Alfredo Deza [Wed, 15 Oct 2014 17:14:33 +0000 (13:14 -0400)]
fix paths to definitions

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agorestrict to one node
Alfredo Deza [Wed, 15 Oct 2014 16:58:32 +0000 (12:58 -0400)]
restrict to one node

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agocreate a virtualenv for jenkins job builder
Alfredo Deza [Wed, 15 Oct 2014 16:48:58 +0000 (12:48 -0400)]
create a virtualenv for jenkins job builder

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agocorrect path to call config script
Alfredo Deza [Wed, 15 Oct 2014 16:41:15 +0000 (12:41 -0400)]
correct path to call config script

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agocreate the jjb project with magic configurations
Alfredo Deza [Wed, 15 Oct 2014 14:02:39 +0000 (10:02 -0400)]
create the jjb project with magic configurations

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agodeprecate all scripts
Alfredo Deza [Wed, 15 Oct 2014 13:09:22 +0000 (09:09 -0400)]
deprecate all scripts

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
10 years agocreate a README explaning new build rules
Alfredo Deza [Wed, 15 Oct 2014 13:06:56 +0000 (09:06 -0400)]
create a README explaning new build rules

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
11 years agoUse mirror even on pbuilder update.
Sandon Van Ness [Fri, 3 Oct 2014 19:24:45 +0000 (12:24 -0700)]
Use mirror even on pbuilder update.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agoUse apt-mirror for pbuilder.
Sandon Van Ness [Fri, 3 Oct 2014 18:43:04 +0000 (11:43 -0700)]
Use apt-mirror for pbuilder.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agoCopy patch file(s) from source tree.
Sandon Van Ness [Fri, 3 Oct 2014 18:00:23 +0000 (11:00 -0700)]
Copy patch file(s) from source tree.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agoMerge pull request #15 from ceph/wip-rpm-subdir
Sage Weil [Wed, 27 Aug 2014 20:22:34 +0000 (13:22 -0700)]
Merge pull request #15 from ceph/wip-rpm-subdir

build_rpms.sh: when copying *.patch, look in rpm/ instead of ./

11 years agobuild_rpms.sh: when copying *.patch, look in rpm/ instead of ./ 15/head
Dan Mick [Wed, 27 Aug 2014 19:46:43 +0000 (12:46 -0700)]
build_rpms.sh: when copying *.patch, look in rpm/ instead of ./

Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agomove wheezy hack into build_dsc.sh, where it belongs
Sage Weil [Fri, 22 Aug 2014 17:57:50 +0000 (10:57 -0700)]
move wheezy hack into build_dsc.sh, where it belongs

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoRevert "build_debs: horrible hack to remove libbabeltrace from wheezy build deps"
Sage Weil [Fri, 22 Aug 2014 20:37:52 +0000 (13:37 -0700)]
Revert "build_debs: horrible hack to remove libbabeltrace from wheezy build deps"

This reverts commit 40a6547fbd2260b4d2e3277242fe97348a826cb9.

This doesn't work.

11 years agoMerge pull request #13 from ceph/wip-babeltrace
Alfredo Deza [Thu, 21 Aug 2014 17:03:10 +0000 (13:03 -0400)]
Merge pull request #13 from ceph/wip-babeltrace

some ugly hacks to make wip-lttng build on wheezy

11 years agobuild_debs: horrible hack to remove libbabeltrace from wheezy build deps 13/head
Sage Weil [Wed, 20 Aug 2014 18:20:48 +0000 (11:20 -0700)]
build_debs: horrible hack to remove libbabeltrace from wheezy build deps

There is no package available, so remove it from build deps.

This is just to get around the control file checks.  The build already
does not enable support on wheezy.

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agobuild-ceph-deb-native: no libbabeltrace for wheezy
Sage Weil [Wed, 20 Aug 2014 17:59:59 +0000 (10:59 -0700)]
build-ceph-deb-native: no libbabeltrace for wheezy

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoMerge pull request #12 from ceph/wip-rpm-patch
Sage Weil [Thu, 14 Aug 2014 15:37:23 +0000 (08:37 -0700)]
Merge pull request #12 from ceph/wip-rpm-patch

build-rpms.sh: copy "*.patch" from topdir into SOURCES

11 years agobuild-rpms.sh: copy "*.patch" from topdir into SOURCES 12/head
Dan Mick [Wed, 13 Aug 2014 01:23:15 +0000 (18:23 -0700)]
build-rpms.sh: copy "*.patch" from topdir into SOURCES

This allows patches to be applied when building the RPMs; the addition
of the ceph patch to disable /etc/init.d/ceph from autostarting Ceph
daemons leads to the desire for a .patch file, conditionally applied
by the .spec.  See the Ceph sources.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoMerge pull request #11 from kdreyer-inktank/jenkins-debian-diffs
Alfredo Deza [Thu, 13 Mar 2014 14:39:38 +0000 (10:39 -0400)]
Merge pull request #11 from kdreyer-inktank/jenkins-debian-diffs

jenkins: optionally skip Debian package diffs

11 years agoMerge pull request #10 from kdreyer-inktank/kmod
Dan Mick [Tue, 11 Mar 2014 00:42:15 +0000 (17:42 -0700)]
Merge pull request #10 from kdreyer-inktank/kmod

add kmod publishing script

11 years agojenkins: optionally skip Debian package diffs 11/head
Ken Dreyer [Mon, 10 Mar 2014 23:33:23 +0000 (17:33 -0600)]
jenkins: optionally skip Debian package diffs

The Debian package diffs are present when we do a real release, but
they're not present during the continuous integration
"ceph-setup-nightly" Jenkins task.

Skip moving the files if they're not present.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agoMerge pull request #9 from kdreyer-inktank/createrepo
Dan Mick [Fri, 7 Mar 2014 23:55:43 +0000 (15:55 -0800)]
Merge pull request #9 from kdreyer-inktank/createrepo

sign_and_index_rpm_repo: speed up createrepo indexing

11 years agoadd kmod publishing script 10/head
Ken Dreyer [Tue, 25 Feb 2014 05:23:25 +0000 (05:23 +0000)]
add kmod publishing script

Run this script after the kmod package builds in Jenkins and we want to
publish the build to ceph.com.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agosign_and_index_rpm_repo: speed up createrepo indexing 9/head
Ken Dreyer [Tue, 25 Feb 2014 04:20:46 +0000 (04:20 +0000)]
sign_and_index_rpm_repo: speed up createrepo indexing

Run "createrepo" with the --update and --checkts options. This allows
createrepo to skip a lot of the metadata generation. With thousands of released
RPMs on ceph.com, every bit helps.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agoMerge pull request #8 from kdreyer-inktank/gary
Sage Weil [Tue, 25 Feb 2014 01:14:03 +0000 (17:14 -0800)]
Merge pull request #8 from kdreyer-inktank/gary

minor adjustments to rpm signing

11 years agominor adjustments to rpm signing 8/head
Gary Lowell [Tue, 14 Jan 2014 15:28:38 +0000 (15:28 +0000)]
minor adjustments to rpm signing

Check in Gary's adjustments to the RPM signing scripts. These changes were
present on the Jenkins server.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agoMerge pull request #7 from kdreyer-inktank/jenkins
Alfredo Deza [Fri, 21 Feb 2014 20:54:07 +0000 (15:54 -0500)]
Merge pull request #7 from kdreyer-inktank/jenkins

jenkins: show errors and fail fast during job execution

11 years agojenkins: show errors and fail fast during job execution 7/head
Ken Dreyer [Fri, 21 Feb 2014 18:13:17 +0000 (11:13 -0700)]
jenkins: show errors and fail fast during job execution

Jenkins will dynamically write the commands in its database into a
script and run it with "-x" and "-e" in order to display each step and
fail after the first step fails.

Now that our commands are stored in Git, ensure that we're doing the
same thing.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agoMerge pull request #6 from kdreyer-inktank/pbuilder-update
Sage Weil [Fri, 14 Feb 2014 02:26:51 +0000 (18:26 -0800)]
Merge pull request #6 from kdreyer-inktank/pbuilder-update

Revert "do up force pbuilder update on build"

11 years agoRevert "do up force pbuilder update on build" 6/head
Ken Dreyer [Thu, 13 Feb 2014 22:34:54 +0000 (15:34 -0700)]
Revert "do up force pbuilder update on build"

This reverts commit 6fcd39b06d20f3e561533d0479ae942bf80a6010.

It's true that this will be slower, but the wheezy builds are failing if
we don't do this.

(There is an apt-mirror.front.sepia.ceph.com. Maybe using that would
speed things up?)

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agoMerge pull request #5 from kdreyer-inktank/jenkins-cephver
Sage Weil [Tue, 28 Jan 2014 05:13:47 +0000 (21:13 -0800)]
Merge pull request #5 from kdreyer-inktank/jenkins-cephver

release_tarball: select the "v" tags for cephver

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #3 from kdreyer-inktank/jenkins
Dan Mick [Sat, 18 Jan 2014 00:38:43 +0000 (16:38 -0800)]
Merge pull request #3 from kdreyer-inktank/jenkins

jenkins: use in-tree clone for the ceph-build repo

11 years agorelease_tarball: select the "v" tags for cephver 5/head
Ken Dreyer [Thu, 16 Jan 2014 04:45:30 +0000 (21:45 -0700)]
release_tarball: select the "v" tags for cephver

By default, Jenkins' Git plugin adds its own tag to the repository. This
interferes with the versioning in release_tarball.sh

One solution would be to disable the tag in the Jenkins job. Since this
is not the default, that tag creation option would need to be manually
disabled for every job in Jenkins that runs this script. The other
option is to make the script more selective about what it considers to
be cephver. This commit implements this option.

Use a --match selector to "git describe" so that we're sure we're using
the standard "vX.X" tags.

Pipe "git describe" through "sed" instead of "cut", so that it's easier
to debug what tag was selected.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agojenkins: use in-tree clone for the ceph-build repo 3/head
Ken Dreyer [Tue, 14 Jan 2014 17:18:39 +0000 (10:18 -0700)]
jenkins: use in-tree clone for the ceph-build repo

Historically we have had a single system-wide clone of the ceph-build
repository on each builder, at /srv/ceph-build.

The disadvantage to this configuration is that there is no way to ensure
that each of these clones are up to date. When we make changes to the
ceph-build repository on GitHub, we have to manually pull the changes
into each builder's local clone at /srv.

Going forward, we will use the Multi-SCM plugin to Jenkins to make the
ceph-setup Jenkins job use an up-to-date clone of the ceph-build
repository. This will ensure that Jenkins is using the very latest code
from ceph-build.

The ceph-build repository will be cloned into the root of the tree.
Remove the references to /srv/ceph-build and just use the relative path,
"ceph-build".

11 years agoMerge pull request #4 from kdreyer-inktank/jenkins-syntax
Dan Mick [Thu, 16 Jan 2014 04:18:21 +0000 (20:18 -0800)]
Merge pull request #4 from kdreyer-inktank/jenkins-syntax

jenkins: fix shell conditional syntax

11 years agojenkins: fix shell conditional syntax 4/head
Ken Dreyer [Thu, 16 Jan 2014 00:59:48 +0000 (17:59 -0700)]
jenkins: fix shell conditional syntax

The setup task was failing with the following error:

  ./ceph-build/jenkins/setup: 58: [: missing ]

Add whitespace so the interpreter properly recognizes the conditional.

11 years agoMerge pull request #2 from kdreyer-inktank/jenkins
Dan Mick [Tue, 14 Jan 2014 04:34:21 +0000 (20:34 -0800)]
Merge pull request #2 from kdreyer-inktank/jenkins

add Jenkins scripts to Git

Reviewed-by: Dan Mick <dan.mick@inktank.com>
11 years agojenkins: support autobuild key or release key 2/head
Ken Dreyer [Tue, 14 Jan 2014 03:29:06 +0000 (20:29 -0700)]
jenkins: support autobuild key or release key

We need Jenkins to build ceph more often so we can have more testing,
but we don't want to sign these "unofficial" builds with the official
release key.

Conditionally select the release key or the autobuild key based upon the
$RELEASE environment variable. Jenkins will set this variable using a
parameter when it runs each ceph build. For formal releases, we will set
the parameter to "true".

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agojenkins: fix trailing whitespace
Ken Dreyer [Tue, 14 Jan 2014 03:51:49 +0000 (20:51 -0700)]
jenkins: fix trailing whitespace

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agojenkins: add headers to scripts
Ken Dreyer [Tue, 14 Jan 2014 03:21:50 +0000 (20:21 -0700)]
jenkins: add headers to scripts

Add headers and shebangs to each of the Jenkins scripts.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agoadd jenkins scripts
Ken Dreyer [Tue, 14 Jan 2014 03:24:39 +0000 (20:24 -0700)]
add jenkins scripts

Move our Jenkins scripts out of Jenkins' database and into Git so that
we can have greater visibility on future changes.

Going forward, we will modify the ceph Jenkins tasks to only run these
scripts.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agoadd saucy, trusty in
Sage Weil [Fri, 20 Dec 2013 22:47:32 +0000 (14:47 -0800)]
add saucy, trusty in