]>
git.apps.os.sepia.ceph.com Git - ceph-build.git/log
Ken Dreyer [Fri, 5 Jun 2015 23:31:43 +0000 (17:31 -0600)]
ceph-build: better SUSE detection
As was done in
18890d5a0351ffe4fc495e0d47e3a86e0a9cb7ad for
radosgw-agent, update ceph-build's SUSE detection so we check for the
"zypper" file directly on-disk.
Ken Dreyer [Fri, 5 Jun 2015 23:25:34 +0000 (17:25 -0600)]
jjb: poll GitHub more slowly
I've enabled the "Jenkins (Git plugin)" service / hook. GitHub should
now send a signal to http://jenkins.ceph.com/git/notifyCommit that new
commits have been pushed to the repo.
Accordin to the documentation this allows us to poll more slowly (or not
at all, eventually?)
Ken Dreyer [Fri, 5 Jun 2015 23:21:50 +0000 (17:21 -0600)]
radosgw-agent: better SUSE detection
We might have mis-understood the use of "hash". "hash zypper" can return
nothing if zypper has never been run. Tested on
itbuilder-cdep-rpm-sles11sp2-amd64-basic.
Just test the presence of /usr/bin/zypper.
Ken Dreyer [Fri, 5 Jun 2015 23:09:46 +0000 (17:09 -0600)]
radosgw-agent: update RPM conditional for RHEL or SUSE
We want to check *either* RHEL *or* SUSE.
Prior to this change, neither system was succeeding builds.
Ken Dreyer [Fri, 5 Jun 2015 23:05:36 +0000 (17:05 -0600)]
radosgw-agent: fix rhel conditional
Commit
b0d187aaf22eb01804a27ddf6688a1fca1f9f96a changed the OS-type
derivation logic from "based on hostname" to a heuristic based on the
files on the system itself.
The conditional for detecting RHEL was inverted. If we *do* have a
/etc/redhat-release file, we want to build RPMs. Update the conditional
to reflect this.
Ken Dreyer [Fri, 5 Jun 2015 23:04:48 +0000 (17:04 -0600)]
radosgw-agent: remove "date" command
No need to print the date out; this is recorded elsewhere in Jenkins.
Ken Dreyer [Fri, 5 Jun 2015 23:03:54 +0000 (17:03 -0600)]
skip-tag in all git scm jobs
It would be nice if this mis-feature was off by default :(
Ken Dreyer [Fri, 5 Jun 2015 22:48:04 +0000 (16:48 -0600)]
radosgw-agent: remove dependency on host naming scheme
Don't use the hostname to determine the type of OS or build (Deb/RPM) to
do.
Instead, determine the OS type using the same code that we're using in
ceph-build.
Ken Dreyer [Fri, 5 Jun 2015 22:36:46 +0000 (16:36 -0600)]
radosgw-agent: rm squeeze from matrix
In commit
57823f809a2fd1bfb7052cf5f7f82577580b5165 we removed squeeze
from the build matrix for simplicity. Do the same for radosgw-agent.
Ken Dreyer [Fri, 5 Jun 2015 22:25:54 +0000 (16:25 -0600)]
Merge pull request #79 from ktdreyer/rm-precise-dreamcompute
switch "precise" jobs to build on trusty
Ken Dreyer [Fri, 5 Jun 2015 22:18:54 +0000 (16:18 -0600)]
switch "precise" jobs to build on trusty
The DreamCompute builders (including the Precise builder) are no longer
available to us.
Switch the jobs that used the DreamCompute Precise builder to use the
trusty label instead.
Alfredo Deza [Fri, 5 Jun 2015 20:40:47 +0000 (16:40 -0400)]
Merge pull request #76 from ktdreyer/ceph-setup-rm-exit-code-checking
ceph-setup: rm exit code checking
Ken Dreyer [Fri, 5 Jun 2015 19:07:53 +0000 (13:07 -0600)]
ceph-setup: rm exit code checking
Now that we "set -e" in ceph-setup, we can drop the bits that check exit
codes "$?" throughout the ceph-setup task.
Ken Dreyer [Fri, 5 Jun 2015 20:37:50 +0000 (14:37 -0600)]
Merge pull request #78 from ceph/ceph-setup-fix
port release_tarballs.sh to ceph-setup/build/build
Ken Dreyer [Fri, 5 Jun 2015 20:37:27 +0000 (14:37 -0600)]
Merge pull request #77 from ceph/is-suse-fix
use -eq to really tell if this is suse
Alfredo Deza [Fri, 5 Jun 2015 20:36:29 +0000 (16:36 -0400)]
port release_tarballs.sh to ceph-setup/build/build
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 5 Jun 2015 20:24:15 +0000 (16:24 -0400)]
use -eq to really tell if this is suse
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 5 Jun 2015 18:54:15 +0000 (14:54 -0400)]
Merge pull request #75 from ktdreyer/ceph-setup-shebang
ceph-setup: use bash, not sh
Ken Dreyer [Fri, 5 Jun 2015 18:51:29 +0000 (12:51 -0600)]
ceph-setup: use bash, not sh
/bin/sh is dash on Ubuntu/Debian. Switch to bash for uniformity with RPM
systems.
Alfredo Deza [Fri, 5 Jun 2015 18:51:22 +0000 (14:51 -0400)]
Merge pull request #74 from ceph/wip-fix-ceph-setup-script
Three fixes to ceph-setup/build/build:
Dan Mick [Fri, 29 May 2015 05:51:16 +0000 (22:51 -0700)]
Three fixes to ceph-setup/build/build:
1) invoke sh with -ex for verbosity and exit-on-error
2) fix syntax error with [] (missing space before ])
3) restore commented-out mv before dpkg-source -b.
I'm not sure why the copy copies to release/$vers and then
later moves to ceph-$vers, but something has to put it in
ceph-$vers.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Ken Dreyer [Fri, 5 Jun 2015 17:25:31 +0000 (11:25 -0600)]
Merge pull request #73 from ceph/use-bash
Use bash and set -e and -x
Alfredo Deza [Fri, 5 Jun 2015 17:23:38 +0000 (13:23 -0400)]
set -ex on setup
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 5 Jun 2015 17:23:27 +0000 (13:23 -0400)]
set -ex on build_rpm
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 5 Jun 2015 17:23:19 +0000 (13:23 -0400)]
set -ex on build_deb
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 5 Jun 2015 16:13:30 +0000 (12:13 -0400)]
use bin/bash in build_rpm
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 5 Jun 2015 16:13:17 +0000 (12:13 -0400)]
use bin/bash in build_deb
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ken Dreyer [Fri, 5 Jun 2015 15:37:44 +0000 (09:37 -0600)]
Merge pull request #72 from ceph/suse-check
Suse check
Alfredo Deza [Thu, 4 Jun 2015 19:18:01 +0000 (15:18 -0400)]
check both redhat and suse, not OR
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 4 Jun 2015 18:31:32 +0000 (14:31 -0400)]
rename build1 to setup
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 4 Jun 2015 18:31:09 +0000 (14:31 -0400)]
do not extract verbosely from tar
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 4 Jun 2015 18:30:42 +0000 (14:30 -0400)]
treat suse as valid rpm distro
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ken Dreyer [Thu, 4 Jun 2015 17:09:32 +0000 (11:09 -0600)]
Merge pull request #71 from ceph/rpm-fix
rpm script runs only in rpm systems
Alfredo Deza [Thu, 4 Jun 2015 17:04:17 +0000 (13:04 -0400)]
rpm script runs only in rpm systems
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 4 Jun 2015 15:47:43 +0000 (11:47 -0400)]
Merge pull request #70 from ktdreyer/rm-ceph-build-build2
ceph-build: rm build2
Ken Dreyer [Thu, 4 Jun 2015 15:46:35 +0000 (09:46 -0600)]
ceph-build: rm build2
Commit
ed6f67c4b2984ddc1623884500ac602df1557c44 removed this script from
the configuration. Delete it from the tree as well.
Ken Dreyer [Thu, 4 Jun 2015 15:44:57 +0000 (09:44 -0600)]
Merge pull request #69 from ceph/build-rpm
port the build_rpm scripts
Alfredo Deza [Thu, 4 Jun 2015 15:13:53 +0000 (11:13 -0400)]
include the build_rpm script in the config
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 4 Jun 2015 15:12:58 +0000 (11:12 -0400)]
remove the need for bindir to build rpms
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 4 Jun 2015 15:11:32 +0000 (11:11 -0400)]
port rpm scripts to build_rpm
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ken Dreyer [Thu, 4 Jun 2015 15:34:10 +0000 (09:34 -0600)]
Merge pull request #68 from ceph/DIST
make setup_pbuilder use DIST
Alfredo Deza [Thu, 4 Jun 2015 13:59:52 +0000 (09:59 -0400)]
use sudo to create the buildir
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 4 Jun 2015 13:49:30 +0000 (09:49 -0400)]
ensure that basedir exists for pbuilder images
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 4 Jun 2015 13:43:38 +0000 (09:43 -0400)]
make setup_pbuilder use \$DIST
So that it avoids building every distro on every server on
every build
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ken Dreyer [Wed, 3 Jun 2015 21:29:45 +0000 (15:29 -0600)]
Merge pull request #67 from ceph/relabel
use the 'trusty' label
Alfredo Deza [Wed, 3 Jun 2015 21:27:30 +0000 (17:27 -0400)]
use the 'trusty' label
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ken Dreyer [Wed, 3 Jun 2015 21:00:32 +0000 (15:00 -0600)]
Merge pull request #66 from ceph/backtick-fix
use $DIST properly
This fixes a few issues:
- a variable that was not set properly because of backticks
- use of $DIST, replacing the hard-coded $dists
- removes hardcoded DEBEMAIL
Alfredo Deza [Wed, 3 Jun 2015 20:32:47 +0000 (16:32 -0400)]
remove hardcoded DEBEMAIL
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 20:32:25 +0000 (16:32 -0400)]
use the Jenkins variable
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ken Dreyer [Wed, 3 Jun 2015 18:41:09 +0000 (12:41 -0600)]
Merge pull request #65 from ceph/rm-raring
remove raring from pbuilder setup
Alfredo Deza [Wed, 3 Jun 2015 18:15:39 +0000 (14:15 -0400)]
comment that this dists list needs to be fixed
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 18:14:13 +0000 (14:14 -0400)]
remove other distros we don't build too
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 18:10:49 +0000 (14:10 -0400)]
remove raring from pbuilder setup
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ken Dreyer [Wed, 3 Jun 2015 17:48:08 +0000 (11:48 -0600)]
Merge pull request #64 from ceph/sudo-fix
Sudo fix
Alfredo Deza [Wed, 3 Jun 2015 17:46:16 +0000 (13:46 -0400)]
add sudo for pbuilder in build_deb
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 17:44:01 +0000 (13:44 -0400)]
pbuilder needs to be called with sudo
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ken Dreyer [Wed, 3 Jun 2015 17:17:34 +0000 (11:17 -0600)]
Merge pull request #63 from ceph/debian-setup
Debian setup
Alfredo Deza [Wed, 3 Jun 2015 16:55:08 +0000 (12:55 -0400)]
point out the filename where the contents were extracted
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 16:42:56 +0000 (12:42 -0400)]
use the new build_deb in the config
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 16:41:44 +0000 (12:41 -0400)]
remove bindir! no more /src/ceph-build to build debs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 16:39:12 +0000 (12:39 -0400)]
port gen_debian_version into build_deb
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 16:14:40 +0000 (12:14 -0400)]
build_debs.sh now lives in build_deb
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 16:02:13 +0000 (12:02 -0400)]
get rid of rpm stuff in build_deb
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 15:58:44 +0000 (11:58 -0400)]
create a build_deb build script
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 15:54:50 +0000 (11:54 -0400)]
place the pbuilder setup script before the actual build step
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 15:52:31 +0000 (11:52 -0400)]
remove the check for /srv/debian-base
Because we are now ensuring this will exist in a previous build
step.
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 15:44:29 +0000 (11:44 -0400)]
name the file setup_pbuilder to reflect what it actually does
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 15:43:14 +0000 (11:43 -0400)]
only run on debian hosts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 3 Jun 2015 15:38:11 +0000 (11:38 -0400)]
build pbuilders without calling other scripts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 2 Jun 2015 18:42:23 +0000 (14:42 -0400)]
Merge pull request #62 from ceph/cdep-trusty
add trusty to list of deb distros
Alfredo Deza [Tue, 2 Jun 2015 18:26:30 +0000 (14:26 -0400)]
add trusty to list of deb distros
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 2 Jun 2015 15:45:40 +0000 (11:45 -0400)]
Merge pull request #61 from ktdreyer/ceph-deploy-build-bash
ceph-deploy: build with bash, not /bin/sh
Ken Dreyer [Tue, 2 Jun 2015 15:44:29 +0000 (09:44 -0600)]
ceph-deploy: build with bash, not /bin/sh
/bin/sh is dash on Ubuntu/Debian. Switch to bash for uniformity with RPM
systems.
Ken Dreyer [Tue, 2 Jun 2015 15:19:34 +0000 (09:19 -0600)]
Merge pull request #60 from ceph/cdep-build-script
fix/improve ceph-deploy build script
Alfredo Deza [Tue, 2 Jun 2015 14:04:51 +0000 (10:04 -0400)]
use to loop over DEB or RPM cases
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 2 Jun 2015 13:55:46 +0000 (09:55 -0400)]
create a list of valid DIST targets
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 2 Jun 2015 13:47:09 +0000 (09:47 -0400)]
remove hard-coded DEBEMAIL as we now set it when building
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 2 Jun 2015 13:45:23 +0000 (09:45 -0400)]
fix indentation error that caused EOF issue
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ken Dreyer [Mon, 1 Jun 2015 21:21:33 +0000 (15:21 -0600)]
Merge pull request #59 from ceph/cdep-port
port ceph-deploy scripts to jjb build script
Alfredo Deza [Mon, 1 Jun 2015 21:06:10 +0000 (17:06 -0400)]
include the new contents of the script into the Jenkins UI
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 1 Jun 2015 21:02:42 +0000 (17:02 -0400)]
port all scripts to build/build in ceph-deploy
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 28 May 2015 19:38:29 +0000 (15:38 -0400)]
remove dream compute from ceph-build-prs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 28 May 2015 19:34:05 +0000 (15:34 -0400)]
Merge pull request #58 from ceph/nix-dcompute
Nix dcompute
Alfredo Deza [Thu, 28 May 2015 19:26:52 +0000 (15:26 -0400)]
remove dream compute from ceph-deploy-docs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 28 May 2015 19:26:17 +0000 (15:26 -0400)]
remove dream compute from ceph-deploy PRs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 28 May 2015 19:25:18 +0000 (15:25 -0400)]
remove precise froteuthology docs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 28 May 2015 19:24:31 +0000 (15:24 -0400)]
remove precise from ceph-qa-suite-pull-requests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 28 May 2015 19:23:42 +0000 (15:23 -0400)]
remove precise from jjb
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 28 May 2015 18:43:45 +0000 (14:43 -0400)]
change node for setup to trusty
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 27 May 2015 01:58:27 +0000 (21:58 -0400)]
Merge pull request #57 from ktdreyer/rm-fedora20
remove fedora20 Jenkins slave
Ken Dreyer [Tue, 26 May 2015 20:17:04 +0000 (14:17 -0600)]
remove fedora20 Jenkins slave
Remove the Fedora 20 build slave from the job configs.
We're having trouble resurrecting
gitbuilder-cdep-rpm-cloud-fedora20-amd64-basic.cloud.sepia.ceph.com in
DreamCompute, and Fedora 20 itself is going EOL in a month or so.
This is the only Fedora builder we have, and this VM does build packages
for http://ceph.com/rpm-hammer/fc20/, so it would be nice to get fresh
Fedora build slaves set up eventually. But in the meantime, since this
one is giving us trouble, just remove it.
Alfredo Deza [Thu, 7 May 2015 12:42:55 +0000 (08:42 -0400)]
Merge pull request #56 from ktdreyer/drop-old-rpm-distros
Drop old rpm distros
Ken Dreyer [Tue, 5 May 2015 15:42:56 +0000 (09:42 -0600)]
remove old EOL fedora references
Fedora 18 and 19 are end of life and we should not support them any
more. Remove them from the ceph-release-rpm build script and "rpm_hosts"
lists.
Ken Dreyer [Tue, 5 May 2015 15:40:27 +0000 (09:40 -0600)]
ceph-release-rpm: update EL6 references to "6.5"
This was an older job that didn't get updated often, so when we added
the "6.5" builders, this job was neglected.
Update all the "6.3" references to "6.5" so we can drop the old "6.3"
buildslaves. EL 6.5 has been EOL for a while now and is no longer
receiving security updates.
Ken Dreyer [Tue, 5 May 2015 15:36:53 +0000 (09:36 -0600)]
drop old rhel6 and centos6 versions
These are old versions of EL6 that are no longer getting security
updates. Users should not be running them.
Dan Mick [Tue, 5 May 2015 00:01:16 +0000 (17:01 -0700)]
Merge pull request #55 from ktdreyer/ceph-deploy-fix-archives
unquote archive settings
Reviewed-by: Dan Mick <dmick@redhat.com>
Ken Dreyer [Mon, 4 May 2015 23:46:36 +0000 (17:46 -0600)]
unquote archive settings
Prior to this commit the archive settings for ceph-deploy and
radosgw-agent were quoted 'false' or 'true' instead of simply the
boolean types that YAML expects.
jenkins-jobs interpreted these strings to be "true", so we ended up with
the following XML:
<latestOnly>true</latestOnly>
This meant that Jenkins deleted all the older archived ceph-deploy
packages each time a new version was built. When 1.5.22.1 was built,
the "older" 1.5.23 package was deleted.
Unquote the boolean values so JJB will properly interpret them.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Ken Dreyer [Mon, 4 May 2015 22:24:09 +0000 (16:24 -0600)]
Merge pull request #54 from ceph/remove-squeeze
remove squeeze from matrix
Alfredo Deza [Mon, 4 May 2015 21:11:38 +0000 (17:11 -0400)]
remove squeeze from matrix
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 4 May 2015 15:00:46 +0000 (11:00 -0400)]
Merge pull request #53 from ktdreyer/import-ceph-release-rpm
import ceph-release-rpm jjb task