]>
git.apps.os.sepia.ceph.com Git - ceph-build.git/log
Andrew Schoen [Wed, 22 Feb 2017 21:41:11 +0000 (15:41 -0600)]
Merge pull request #631 from ceph/wip-nfs-ganesha-trigger
nfs-ganesha: job that triggers builds of nfs-ganesha
Ali Maredia [Fri, 10 Feb 2017 13:35:42 +0000 (08:35 -0500)]
nfs-ganesha: job that triggers builds of nfs-ganesha
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Andrew Schoen [Tue, 21 Feb 2017 21:07:56 +0000 (15:07 -0600)]
Merge pull request #638 from ceph/wip-nfs-ganesha
nfs-ganesha: fix shaman url check for build_deb
Ali Maredia [Tue, 21 Feb 2017 20:30:12 +0000 (15:30 -0500)]
nfs-ganesha: fix shaman url check for build_deb
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Andrew Schoen [Tue, 21 Feb 2017 19:39:44 +0000 (13:39 -0600)]
Merge pull request #637 from ceph/wip-nfs-ganesha
nfs-ganesha: add validate scripts for each distro
Ali Maredia [Tue, 21 Feb 2017 19:35:13 +0000 (14:35 -0500)]
nfs-ganesha: add validate scripts for each distro
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Andrew Schoen [Tue, 21 Feb 2017 17:22:41 +0000 (11:22 -0600)]
Merge pull request #634 from ceph/wip-nfs-ganesha
nfs-ganesha: Debian builds working various fixes
Ali Maredia [Wed, 15 Feb 2017 21:30:44 +0000 (16:30 -0500)]
nfs-ganesha: Debian builds, setup scripts renamed
.debs building with pbuilder
setup scripts now distro dependent
remove $BRANCH variable
various minor fixes
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Andrew Schoen [Fri, 17 Feb 2017 20:41:35 +0000 (14:41 -0600)]
Merge pull request #636 from ceph/more-ceph-ansible-tests
ceph-ansible-prs: adds the ansible2.2-update_dmcrypt scenario
Andrew Schoen [Fri, 17 Feb 2017 20:40:05 +0000 (14:40 -0600)]
ceph-ansible-prs: adds the ansible2.2-update_dmcrypt scenario
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 17 Feb 2017 00:41:33 +0000 (18:41 -0600)]
Merge pull request #635 from ceph/more-ceph-ansible-tests
ceph-ansible-prs: adds ansible2.2-docker_dmcrypt_journal_collocation
Andrew Schoen [Thu, 16 Feb 2017 21:56:12 +0000 (15:56 -0600)]
ceph-ansible-prs: adds ansible2.2-docker_dmcrypt_journal_collocation
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Boris Ranto [Tue, 14 Feb 2017 21:12:49 +0000 (22:12 +0100)]
Merge pull request #630 from ceph/wip-fix-arch
Samba+calamari: minor fixes
Boris Ranto [Wed, 8 Feb 2017 20:11:31 +0000 (21:11 +0100)]
samba: Update the default values
Boris Ranto [Wed, 8 Feb 2017 20:01:39 +0000 (21:01 +0100)]
samba: update repo information before installing dependencies
Signed-off-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Wed, 8 Feb 2017 18:53:43 +0000 (19:53 +0100)]
Use Arch more consistently
We used DEB_ARCH instead of ARCH when pushing to chacra in
samba/calamari. This meant that we pushed to amd64 instead of x86_64.
Signed-off-by: Boris Ranto <branto@redhat.com>
Andrew Schoen [Fri, 10 Feb 2017 21:33:26 +0000 (15:33 -0600)]
Merge pull request #633 from ceph/wip-signer-user
Change user and path for pushing upstream releases
David Galloway [Thu, 9 Feb 2017 17:39:40 +0000 (12:39 -0500)]
Change user and path for pushing upstream releases
~/repos was a symlink and an unnecessary extra step. If the true path
were to change, either this file or the symlink would need to change
anyway.
The 'signer' user does not have sudo access. 'dhc-user' was the legacy
user from when download.ceph.com was hosted in DreamCompute.
Signed-off-by: David Galloway <dgallowa@redhat.com>
Andrew Schoen [Fri, 10 Feb 2017 16:44:14 +0000 (10:44 -0600)]
Merge pull request #632 from ceph/more-ceph-ansible-tests
ceph-ansible-prs: adds the ansible2.2-docker_dedicated_journal test
Andrew Schoen [Fri, 10 Feb 2017 16:40:47 +0000 (10:40 -0600)]
ceph-ansible-prs: adds the ansible2.2-docker_dedicated_journal test
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 10 Feb 2017 15:02:25 +0000 (09:02 -0600)]
Merge pull request #625 from ceph/wip-nfs-ganesha
nfs-ganesha: fixes to enable "Builds" section in shaman
Ali Maredia [Fri, 10 Feb 2017 13:52:04 +0000 (08:52 -0500)]
nfs-ganesha: debian fixes, various additions
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Fri, 27 Jan 2017 03:46:09 +0000 (22:46 -0500)]
nfs-ganesha: more fixes
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Thu, 26 Jan 2017 19:38:15 +0000 (14:38 -0500)]
nfs-ganesha: fixes to enable "Builds" section in shaman
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ken Dreyer [Mon, 6 Feb 2017 23:23:15 +0000 (16:23 -0700)]
Merge pull request #629 from ceph/ceph-docker-nightly
ceph-docker-nightly: scheduled tests for ceph-docker
Andrew Schoen [Mon, 6 Feb 2017 20:55:09 +0000 (14:55 -0600)]
ceph-docker-nightly: scheduled tests for ceph-docker
Creates a set of jobs that test building and deploying jewel and kraken
containers with the master branch of ceph-ansible. It also includes a
test for building and deploying a jewel container with the stable-2.1
branch of ceph-ansible.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 6 Feb 2017 15:20:42 +0000 (09:20 -0600)]
Merge pull request #627 from ceph/ceph-docker-prs
ceph-docker-prs: enable PR testing for kraken images
Andrew Schoen [Fri, 3 Feb 2017 15:33:32 +0000 (09:33 -0600)]
ceph-docker-prs: test master branch of ceph-ansible
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 30 Jan 2017 15:16:04 +0000 (09:16 -0600)]
ceph-docker-prs: enable PR testing for kraken images
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 6 Feb 2017 12:06:30 +0000 (06:06 -0600)]
Merge pull request #628 from dmick/master
ceph-dev-*: fix tcmalloc args for pre-cmake builds
Dan Mick [Thu, 2 Feb 2017 02:05:03 +0000 (18:05 -0800)]
ceph-*: fix tcmalloc args for pre-cmake builds
Prior to cmake, --with(out)-tcmalloc must be passed to the
configure done during the actual build. For rpm, that means an
extra arg to the invocation of rpmbuild in build_rpm; for deb,
debian/rules invokes configure. Also, no reason to export
the shell variables; they're used locally and passed as
property files between Jenkins jobs.
Fixes: http://tracker.ceph.com/issues/18744
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Gregory Meno [Thu, 26 Jan 2017 22:38:01 +0000 (14:38 -0800)]
Merge pull request #626 from ceph/1.26.17-clean-calamari
removing stale distros and preventing the SCM step from wiping the wo…
Gregory Meno [Thu, 26 Jan 2017 22:30:16 +0000 (14:30 -0800)]
removing stale distros and preventing the SCM step from wiping the workspace
Signed-off-by: Gregory Meno <gmeno@redhat.com>
Andrew Schoen [Thu, 26 Jan 2017 21:18:13 +0000 (15:18 -0600)]
Merge pull request #624 from ceph/ceph-ansible-prs-update
ceph-ansible-prs: adds purge cluster scenarios
Andrew Schoen [Thu, 26 Jan 2017 16:45:07 +0000 (10:45 -0600)]
ceph-ansible-prs: adds purge_cluster and purge_dmcrypt scenarios
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Gregory Meno [Thu, 26 Jan 2017 04:51:45 +0000 (20:51 -0800)]
Merge pull request #623 from ceph/1.25.17-clean-calamari
try some other ways to cleanup ./dist
Gregory Meno [Thu, 26 Jan 2017 04:48:19 +0000 (20:48 -0800)]
Merge branch 'master' into 1.25.17-clean-calamari
Gregory Meno [Thu, 26 Jan 2017 04:47:39 +0000 (20:47 -0800)]
try some other ways to cleanup ./dist
Signed-off-by: Gregory Meno <gmeno@redhat.com>
Andrew Schoen [Wed, 25 Jan 2017 15:47:03 +0000 (09:47 -0600)]
Merge pull request #621 from ceph/wip-nfs-ganesha
nfs-ganesha: add "Build" section, 'Extras', other fixes
Ali Maredia [Tue, 24 Jan 2017 20:59:58 +0000 (15:59 -0500)]
nfs-ganesha: Shaman related additions, various fixes
enable "Build" section on shaman
enable 'Extras' build info on shaman
various other minor fixes
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Andrew Schoen [Tue, 24 Jan 2017 22:30:38 +0000 (16:30 -0600)]
Merge pull request #622 from ceph/docker-pr-updates
ceph-docker pull requests testing updates
Andrew Schoen [Tue, 24 Jan 2017 22:13:53 +0000 (16:13 -0600)]
ceph-docker-prs: add the ceph_ansible2.1-jewel-xenial_cluster scenario
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 24 Jan 2017 22:12:49 +0000 (16:12 -0600)]
remove the ceph-docker-pull-requests job
This has been replace with ceph-docker-prs
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Gregory Meno [Tue, 24 Jan 2017 20:54:23 +0000 (12:54 -0800)]
Merge pull request #620 from ceph/1.23.17-clean-calamari
need sudo to clean dist on centos
Gregory Meno [Tue, 24 Jan 2017 19:51:58 +0000 (11:51 -0800)]
need sudo to clean dist on centos
Signed-off-by: Gregory Meno <gmeno@redhat.com>
Dan Mick [Tue, 24 Jan 2017 01:21:02 +0000 (17:21 -0800)]
Merge pull request #619 from jcsp/wip-18645
build_utils: fix setuptools installation
Reviewed-by: Dan Mick <dmick@redhat.com>
John Spray [Tue, 24 Jan 2017 01:05:13 +0000 (01:05 +0000)]
build_utils: fix setuptools installation
Hopefully the original order of pip vs. setuptools
in this script was not important, because apparently
we now need latest pip in order to install setuptools.
Fixes: http://tracker.ceph.com/issues/18645
Signed-off-by: John Spray <john.spray@redhat.com>
Alfredo Deza [Tue, 17 Jan 2017 12:51:23 +0000 (07:51 -0500)]
Merge pull request #618 from ceph/ceph-docker-tests
ceph-docker-prs: functional testing for ceph-docker pull requests
Andrew Schoen [Mon, 16 Jan 2017 22:12:20 +0000 (16:12 -0600)]
ceph-docker-prs: only teardown in the ceph-ansible dir
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 13 Jan 2017 14:46:48 +0000 (08:46 -0600)]
ceph-docker-prs: runs ceph-docker testing scenarios on PRs
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Fri, 13 Jan 2017 16:22:28 +0000 (11:22 -0500)]
Merge pull request #617 from ceph/wip-nfs-ganesha
nfs-ganesha: various fixes
Ali Maredia [Tue, 10 Jan 2017 23:37:46 +0000 (18:37 -0500)]
nfs-ganesha: Various fixes
Install missing libraries
make sure commands exit 1
move unpacked tarball into nfs-ganesha-debian
remove duplicated axis
trim down distros list to centos7 and xenial
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Gregory Meno [Fri, 13 Jan 2017 02:25:16 +0000 (18:25 -0800)]
Merge pull request #616 from ceph/1.13-wip-output-error
print out build log if mock fails
Gregory Meno [Fri, 13 Jan 2017 02:23:26 +0000 (18:23 -0800)]
print out build log if mock fails
Signed-off-by: Gregory Meno <gmeno@redhat.com>
Andrew Schoen [Wed, 11 Jan 2017 23:18:04 +0000 (17:18 -0600)]
Merge pull request #615 from ceph/revert-614-shaman-status-updates
Revert "Send status to shaman earlier when building ceph rpm binaries"
Andrew Schoen [Wed, 11 Jan 2017 23:14:12 +0000 (17:14 -0600)]
Revert "Send status to shaman earlier when building ceph rpm binaries"
Alfredo Deza [Wed, 11 Jan 2017 15:59:06 +0000 (10:59 -0500)]
Merge pull request #614 from ceph/shaman-status-updates
Send status to shaman earlier when building ceph rpm binaries
Andrew Schoen [Wed, 11 Jan 2017 15:37:31 +0000 (09:37 -0600)]
ceph-dev-build: post build status to shaman for rpm builds earlier
Moves the post to shaman earlier in the script so if we have package
failures later in the script an update is still sent to shaman.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 11 Jan 2017 15:33:04 +0000 (09:33 -0600)]
ceph-dev-new-build: post status to shaman earlier for rpm builds
We recently had an issue where we had a networking issue getting epel
packages and the build failed before any status was sent to shaman. This
fix should avoid that and post earlier in the build script.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 6 Jan 2017 20:25:37 +0000 (14:25 -0600)]
Merge pull request #613 from ceph/inject-password-triggers
Inject password triggers
Alfredo Deza [Fri, 6 Jan 2017 20:21:49 +0000 (15:21 -0500)]
ceph-dev-trigger: inject the passwords to notify shaman
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 6 Jan 2017 20:21:29 +0000 (15:21 -0500)]
ceph-dev-new-trigger: inject the passwords to notify shaman
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 6 Jan 2017 17:42:42 +0000 (12:42 -0500)]
Merge pull request #612 from ceph/ceph-installer-tests
ceph-installer-tests: a project to run ceph-installer functional tests
Andrew Schoen [Fri, 6 Jan 2017 17:05:52 +0000 (11:05 -0600)]
ceph-installer-tests: a project to run ceph-installer functional tests
This will create a new jenkins job for each testing scenario defined in
the config file. These jobs will run daily and can be trigger manually,
optionally providing which branches of ceph-installer and ceph-ansible
to test with.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 6 Jan 2017 15:21:01 +0000 (09:21 -0600)]
Merge pull request #610 from ceph/trigger-report-new
notify of queued builds from trigger job
Alfredo Deza [Fri, 6 Jan 2017 14:21:26 +0000 (09:21 -0500)]
ceph-dev-new-trigger: create a script to notify shaman of triggered builds
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 6 Jan 2017 14:21:04 +0000 (09:21 -0500)]
ceph-dev-new-trigger: include the notification script in the configuration for the job
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 6 Jan 2017 14:30:23 +0000 (09:30 -0500)]
Merge pull request #611 from ceph/wip-nfs-ganesha
nfs-ganesha: edit cmake command
Ali Maredia [Fri, 6 Jan 2017 14:20:17 +0000 (19:50 +0530)]
nfs-ganesha: edit cmake command
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Alfredo Deza [Fri, 6 Jan 2017 12:51:58 +0000 (07:51 -0500)]
Merge pull request #607 from ceph/trigger-report
report when a build is triggered
Alfredo Deza [Wed, 4 Jan 2017 20:09:40 +0000 (15:09 -0500)]
ceph-dev-trigger: include the notify script as part of the builder config section
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 4 Jan 2017 20:08:24 +0000 (15:08 -0500)]
ceph-dev-trigger: create script to notify shaman of triggered build
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 6 Jan 2017 12:49:14 +0000 (07:49 -0500)]
Merge pull request #609 from ceph/wip-nfs-ganesha
nfs-ganesha: fix scm section, add absolute paths
Ali Maredia [Fri, 6 Jan 2017 02:30:21 +0000 (08:00 +0530)]
nfs-ganesha: fix scm section, add absolute paths
Made changes to scm section to configure both git
repos.
Made all references to "dist" dir absolute paths
Made sure directories being git cleaned are
actual git repos
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Alfredo Deza [Thu, 5 Jan 2017 15:20:16 +0000 (10:20 -0500)]
Merge pull request #608 from ceph/wip-nfs-ganesha
nfs-ganesha: ceph fsals ON, change git repo url
Ali Maredia [Tue, 3 Jan 2017 16:16:39 +0000 (21:46 +0530)]
nfs-ganesha: ceph fsals ON, change git repo url
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Alfredo Deza [Wed, 4 Jan 2017 16:42:39 +0000 (11:42 -0500)]
Merge pull request #606 from ceph/ceph-deploy-build-fix
ceph-deploy-build: do not use python to detect the distro
Andrew Schoen [Wed, 4 Jan 2017 15:37:25 +0000 (09:37 -0600)]
ceph-deploy-build: do not use python to detect the distro
We're using pbuilder in many build jobs now so we can't depend on the
host to be the actual distro version that the binaries are being built
for. This uses the value from the JJB matrix to determine what distro
value to use when posting to chacra.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Tue, 3 Jan 2017 22:18:53 +0000 (17:18 -0500)]
Merge pull request #605 from ceph/purge-cluster-collocated
ceph-ansible-prs: adds the purge_cluster_collocated scenario
Andrew Schoen [Tue, 3 Jan 2017 17:45:29 +0000 (11:45 -0600)]
ceph-ansible-prs: adds the purge_cluster_collocated scenario
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Tue, 3 Jan 2017 15:59:54 +0000 (10:59 -0500)]
Merge pull request #604 from ceph/wip-nfs-ganesha
nfs-ganesha: first run at a build script for rpms and debs
Ali Maredia [Fri, 16 Dec 2016 22:30:07 +0000 (17:30 -0500)]
nfs-ganesha: first run at a build script for rpms
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Andrew Schoen [Mon, 19 Dec 2016 21:04:58 +0000 (15:04 -0600)]
Merge pull request #603 from ceph/ceph-dev-build-triggers
ceph-dev-trigger: remove the trigger for wip- branches for ceph.git
Alfredo Deza [Mon, 19 Dec 2016 20:29:53 +0000 (15:29 -0500)]
ceph-dev-trigger: remove the trigger for wip- branches for ceph.git
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 19 Dec 2016 21:01:33 +0000 (16:01 -0500)]
Merge pull request #602 from ceph/installer-builds
Adds a nightly job that tests ceph-installer
Andrew Schoen [Mon, 19 Dec 2016 20:34:22 +0000 (14:34 -0600)]
ceph-installer-nightly: send an email on build failures
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 19 Dec 2016 20:12:13 +0000 (14:12 -0600)]
Adds a nightly job that tests ceph-installer
This job is parametrized so that we can also run it manually or
trigger it easily from other jobs.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Ken Dreyer [Fri, 16 Dec 2016 16:58:14 +0000 (09:58 -0700)]
Merge pull request #601 from ceph/installer-builds
ceph-{ansible,installer}-rpms: do not use sepia slaves or sg
Andrew Schoen [Fri, 16 Dec 2016 16:50:29 +0000 (10:50 -0600)]
ceph-installer-rpm: remove usage of 'sg'
The sepia nodes, using JNLP, are having troubles building these rpms so
let's just use OVH nodes until we can resolve this.
The issue being that mock runs fine if we use 'sg', but the noarch rpm
is never built.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 16 Dec 2016 16:49:23 +0000 (10:49 -0600)]
ceph-ansible-rpm: remove usage of 'sg'
The sepia nodes, using JNLP, are having troubles building these rpms so
let's just use OVH nodes until we can resolve this.
The issue being that mock runs fine if we use 'sg', but the noarch rpm
is never built.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 16 Dec 2016 16:48:23 +0000 (10:48 -0600)]
ceph-installer-rpm: adds !sepia label
The sepia nodes, using JNLP, are having troubles building these rpms so
let's just use OVH nodes until we can resolve this.
The issue being that mock runs fine if we use 'sg', but the noarch rpm
is never built.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 16 Dec 2016 16:46:14 +0000 (10:46 -0600)]
ceph-ansible-rpm: adds !sepia label
The sepia nodes, using JNLP, are having troubles building these rpms so
let's just use OVH nodes until we can resolve this.
The issue being that mock runs fine if we use 'sg', but the noarch rpm
is never built.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Ken Dreyer [Thu, 15 Dec 2016 19:52:40 +0000 (12:52 -0700)]
Merge pull request #599 from ceph/submodule-check-xe
ceph-pr-submodules: increase verbosity to try and get values out of vars
Alfredo Deza [Thu, 15 Dec 2016 19:41:19 +0000 (14:41 -0500)]
ceph-pr-submodules: increase verbosity to try and get values out of variables
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 15 Dec 2016 19:47:14 +0000 (14:47 -0500)]
Merge pull request #600 from ceph/sg-mock-group
ceph-{ansible,installer}-rpm: use "sg" for mock group
Ken Dreyer [Thu, 15 Dec 2016 19:41:24 +0000 (12:41 -0700)]
ceph-{ansible,installer}-rpm: use "sg" for mock group
The previous commit (
0d90b3c5fec43fe66fc1e9c3856519f91e4454cf ) attempted
to use newgrp to refresh groups, but I did not realize that this just
spawns a new shell (at least in my experiments in a bash interactive
shell), and it is ineffective on our JNLP slaves.
Use the approach we implemented for Docker (in
f9cc49aec026c2ae17b1db2603d262f5cb1c8a00 ), and run mock through "sg" to
set the group.
Andrew Schoen [Thu, 15 Dec 2016 18:17:53 +0000 (12:17 -0600)]
Merge pull request #598 from ktdreyer/mock-newgrp
ceph-{ansible,installer}-rpm: fix mock group addition
Ken Dreyer [Thu, 15 Dec 2016 18:12:15 +0000 (11:12 -0700)]
ceph-{ansible,installer}-rpm: fix mock group addition
When an ephemeral slave is first created, we have to add the
jenkins-build UID to the "mock" group so that it can run mock.
The problem is that "usermod -a -G" will not affect the current login
shell. When the ceph-*-rpm jobs run "usermod" for the first time,
the jenkins-build UID obtains those group rights for any future jobs,
but not the current job.
The result is that every time an ephemeral slave boots, it will fail its
first ceph-*-rpm build job (and future ones succeed).
Call "newgrp" to refresh the groups for this login shell, so that all
mock operations succeed, including the first one on each slave.
Andrew Schoen [Wed, 14 Dec 2016 21:15:06 +0000 (15:15 -0600)]
Merge pull request #597 from ceph/git-diff-devs
move git diff checks on dev builds
Alfredo Deza [Wed, 14 Dec 2016 21:07:04 +0000 (16:07 -0500)]
ceph-dev-setup: move the git diff check before calling autogen.sh
Fixes: http://tracker.ceph.com/issues/17901
Signed-off-by: Alfredo Deza <adeza@redhat.com>