]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
8 years agoceph-ansible-pull-requests: force ansible version 532/head
Sébastien Han [Wed, 2 Nov 2016 12:34:12 +0000 (13:34 +0100)]
ceph-ansible-pull-requests: force ansible version

Ansible 2.2 seems to be breaking things, let's stick with 2.1 for now.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #530 from ceph/wip-calamari-simple
Alfredo Deza [Wed, 2 Nov 2016 11:51:58 +0000 (07:51 -0400)]
Merge pull request #530 from ceph/wip-calamari-simple

calamari: Simplify to add debian build

8 years agocalamari: Simplify to add debian build 530/head
Boris Ranto [Mon, 31 Oct 2016 21:16:19 +0000 (22:16 +0100)]
calamari: Simplify to add debian build

The debian build does not currently support creating source packages so
we need to merge the build and setup jobs into a single job. This patch
also simplifies various other bits and adds the support for the debian
build.

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #528 from ceph/wip-shared-func
Alfredo Deza [Tue, 1 Nov 2016 13:24:46 +0000 (09:24 -0400)]
Merge pull request #528 from ceph/wip-shared-func

Add 2 new helper functions

8 years agoscripts/build_utils.sh: Add setup_pbuilder function 528/head
Boris Ranto [Tue, 1 Nov 2016 12:47:49 +0000 (13:47 +0100)]
scripts/build_utils.sh: Add setup_pbuilder function

This is based on the setup_pbuilder file made by Alfredo Deza.

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoscripts/build_utils.sh: Add get_distro_and_target function
Boris Ranto [Mon, 31 Oct 2016 14:45:56 +0000 (15:45 +0100)]
scripts/build_utils.sh: Add get_distro_and_target function

This is a more generic function that will set DISTRO variable and
MOCK_TARGET variable (rpm systems only).

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #523 from ceph/prod-chacra-shaman
Alfredo Deza [Wed, 26 Oct 2016 20:54:24 +0000 (16:54 -0400)]
Merge pull request #523 from ceph/prod-chacra-shaman

fixes to allow for chacra.ceph.com repos to register with shaman

8 years agoceph-setup: allow for concurrent jobs to run 523/head
Andrew Schoen [Fri, 21 Oct 2016 16:25:51 +0000 (11:25 -0500)]
ceph-setup: allow for concurrent jobs to run

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-build: allow for concurrent jobs to run
Andrew Schoen [Fri, 21 Oct 2016 16:22:06 +0000 (11:22 -0500)]
ceph-build: allow for concurrent jobs to run

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph: allow for concurrent jobs to run
Andrew Schoen [Fri, 21 Oct 2016 16:21:17 +0000 (11:21 -0500)]
ceph: allow for concurrent jobs to run

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-build: fix the repo url used by build_rpm
Andrew Schoen [Fri, 21 Oct 2016 14:33:40 +0000 (09:33 -0500)]
ceph-build: fix the repo url used by build_rpm

8 years agoceph-build: fix chacra url when POSTing repo extra for rpm repos
Andrew Schoen [Wed, 19 Oct 2016 18:36:29 +0000 (13:36 -0500)]
ceph-build: fix chacra url when POSTing repo extra for rpm repos

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-build: set FLAVOR to default
Andrew Schoen [Wed, 19 Oct 2016 17:14:52 +0000 (12:14 -0500)]
ceph-build: set FLAVOR to default

We don't build multiple flavors for upstream releases, but we use the
full chacra url when uploading binaries and updating repos.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #527 from ceph/wip-kernel
Andrew Schoen [Wed, 26 Oct 2016 20:26:37 +0000 (15:26 -0500)]
Merge pull request #527 from ceph/wip-kernel

kernel: various fixes

8 years agokernel: various fixes 527/head
Boris Ranto [Wed, 26 Oct 2016 13:26:46 +0000 (15:26 +0200)]
kernel: various fixes

- rename ARCH to DEB_ARCH to avoid overriding kernel ARCH variable in
  Makefile
- rename SHA1 to GIT_COMMIT, we do not set SHA1 anywhere
- generate the kernel config with a script
- deb files are stored in ../, clean ../, clean-up first to upload only
  new ../*.deb files
- rpm files are stored in ~/rpmbuild, clean-up first to upload only new
  rpm files
- remove precise from default distros as we do not seem to have any huge
  precise machines lying around at the moment
- add trusty to default distros

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #522 from ceph/wip-kernel
Boris Ranto [Wed, 26 Oct 2016 08:50:18 +0000 (10:50 +0200)]
Merge pull request #522 from ceph/wip-kernel

kernel: Add initial implementation

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
8 years agokernel: Add initial implementation 522/head
Boris Ranto [Tue, 25 Oct 2016 18:14:25 +0000 (20:14 +0200)]
kernel: Add initial implementation

Add initial implementation for kernel jenkins builds. We build and prep
kernel in one phase with a single 'make' target and the Makefile does
not support creating just source rpm/deb files so we need to do all the
work in a single job.

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #525 from ceph/ceph-ansible-syntax-checker
Alfredo Deza [Tue, 25 Oct 2016 22:07:17 +0000 (18:07 -0400)]
Merge pull request #525 from ceph/ceph-ansible-syntax-checker

ceph-ansible-pr-syntax-check: various fixes

8 years agoceph-ansible-pr-syntax-check: fix path to group_vars/all.sample 525/head
Andrew Schoen [Tue, 25 Oct 2016 22:01:16 +0000 (17:01 -0500)]
ceph-ansible-pr-syntax-check: fix path to group_vars/all.sample

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-ansible-pr-syntax-check: fixes github link
Andrew Schoen [Tue, 25 Oct 2016 22:00:16 +0000 (17:00 -0500)]
ceph-ansible-pr-syntax-check: fixes github link

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #524 from ceph/ceph-ansible-syntax-checker
Alfredo Deza [Tue, 25 Oct 2016 21:43:50 +0000 (17:43 -0400)]
Merge pull request #524 from ceph/ceph-ansible-syntax-checker

adds a new job to do syntax checks on ceph-ansible pull requests

8 years agoadds a new job to do syntax checks on ceph-ansible pull requests 524/head
Andrew Schoen [Tue, 25 Oct 2016 20:48:35 +0000 (15:48 -0500)]
adds a new job to do syntax checks on ceph-ansible pull requests

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #516 from ceph/ceph-dev-notcmalloc
Andrew Schoen [Fri, 21 Oct 2016 15:24:19 +0000 (10:24 -0500)]
Merge pull request #516 from ceph/ceph-dev-notcmalloc

ceph-dev-trigger: enable notcmalloc flavor

8 years agoceph-dev-trigger: enable notcmalloc flavor 516/head
Alfredo Deza [Mon, 10 Oct 2016 12:16:40 +0000 (08:16 -0400)]
ceph-dev-trigger: enable notcmalloc flavor

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #521 from tchaikov/wip-tarball-make-dist
Kefu Chai [Fri, 21 Oct 2016 14:01:04 +0000 (22:01 +0800)]
Merge pull request #521 from tchaikov/wip-tarball-make-dist

release_tarball: use make-dist if available

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorelease_tarball: use make-dist if available 521/head
Kefu Chai [Fri, 21 Oct 2016 04:14:24 +0000 (12:14 +0800)]
release_tarball: use make-dist if available

this enables us to prepare release tarball for versions without
autotools support, where we use make-dist to create the release tarball
instead.

- make-dist only produces .bz2 tarball, so we switch to .bz2 in this
  change.
- it's a waste to create both .gz and .bz2 tarballs using "make dist*",
  as we only use one of the to repackage the .gz and .bz2 tarballs.
  so let's drop "make dist" and use "make dist-bzip2" only.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #520 from ceph/prod-chacra-shaman
Alfredo Deza [Wed, 19 Oct 2016 11:15:09 +0000 (07:15 -0400)]
Merge pull request #520 from ceph/prod-chacra-shaman

ceph-build: update shaman on build status and post extra repo information

8 years agoceph-build: remove unused build/setup script 520/head
Andrew Schoen [Tue, 18 Oct 2016 20:36:41 +0000 (15:36 -0500)]
ceph-build: remove unused build/setup script

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-build: post build status to shaman for rpm builds
Andrew Schoen [Tue, 18 Oct 2016 20:00:05 +0000 (15:00 -0500)]
ceph-build: post build status to shaman for rpm builds

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-build: post completed status to shaman after deb builds
Andrew Schoen [Tue, 18 Oct 2016 19:39:12 +0000 (14:39 -0500)]
ceph-build: post completed status to shaman after deb builds

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-build: send failure status to shaman on build failure
Andrew Schoen [Tue, 18 Oct 2016 19:37:49 +0000 (14:37 -0500)]
ceph-build: send failure status to shaman on build failure

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-build: report deb build started status to shaman
Andrew Schoen [Tue, 18 Oct 2016 19:33:36 +0000 (14:33 -0500)]
ceph-build: report deb build started status to shaman

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-setup: report to shaman on build failure
Andrew Schoen [Tue, 18 Oct 2016 19:27:10 +0000 (14:27 -0500)]
ceph-setup: report to shaman on build failure

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-build: post 'extra' repo information to chacra for rpm repos
Andrew Schoen [Tue, 18 Oct 2016 17:48:02 +0000 (12:48 -0500)]
ceph-build: post 'extra' repo information to chacra for rpm repos

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-build: post 'extra' repo information to chacra for deb repos
Andrew Schoen [Tue, 18 Oct 2016 17:47:30 +0000 (12:47 -0500)]
ceph-build: post 'extra' repo information to chacra for deb repos

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #519 from ceph/build-wip
Alfredo Deza [Mon, 17 Oct 2016 15:29:30 +0000 (11:29 -0400)]
Merge pull request #519 from ceph/build-wip

ceph-dev-trigger: granularly define the branches to build for testing

8 years agoceph-dev-trigger: granularly define the branches to build for testing 519/head
Alfredo Deza [Fri, 14 Oct 2016 17:44:33 +0000 (13:44 -0400)]
ceph-dev-trigger: granularly define the branches to build for testing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #518 from ceph/jessie-pgp
Andrew Schoen [Tue, 11 Oct 2016 20:12:11 +0000 (15:12 -0500)]
Merge pull request #518 from ceph/jessie-pgp

ansible: use pgp.mit.edu to fetch the jessie release key

8 years agoansible: use pgp.mit.edu to fetch the jessie release key 518/head
Alfredo Deza [Tue, 11 Oct 2016 16:19:21 +0000 (12:19 -0400)]
ansible: use pgp.mit.edu to fetch the jessie release key

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #502 from ceph/fix-slave-hostname
Alfredo Deza [Tue, 11 Oct 2016 18:26:40 +0000 (14:26 -0400)]
Merge pull request #502 from ceph/fix-slave-hostname

ansible: update the cloud-init templates for /etc/hosts

8 years agoansible: ignore failures change /etc/hosts cloud templates 502/head
Andrew Schoen [Tue, 11 Oct 2016 15:39:52 +0000 (10:39 -0500)]
ansible: ignore failures change /etc/hosts cloud templates

Not all our nodes have those templates so ignore failures to modify
those non-existant templates.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoansible: update the cloud-init templates for /etc/hosts
Andrew Schoen [Fri, 30 Sep 2016 22:07:52 +0000 (17:07 -0500)]
ansible: update the cloud-init templates for /etc/hosts

If a node is rebooted the /etc/hosts file is rewritten with these
template files because ``manage_etc_hosts`` is set to ``true``. This
causes jobs to fail because the hostname is no longer resolveable after
reboot.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #517 from ceph/pip-no-binary
Alfredo Deza [Tue, 11 Oct 2016 12:33:55 +0000 (08:33 -0400)]
Merge pull request #517 from ceph/pip-no-binary

no binary installs for pip

8 years agoceph-build: do not use binary ansible installs 517/head
Alfredo Deza [Tue, 11 Oct 2016 12:31:11 +0000 (08:31 -0400)]
ceph-build: do not use binary ansible installs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoansible: modify configure.ac only when it exists for ceph releases
Alfredo Deza [Tue, 11 Oct 2016 12:29:19 +0000 (08:29 -0400)]
ansible: modify configure.ac only when it exists for ceph releases

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoscripts: create a helper to avoid compiling python packages
Alfredo Deza [Tue, 11 Oct 2016 12:26:43 +0000 (08:26 -0400)]
scripts: create a helper to avoid compiling python packages

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #515 from ceph/dev-force-push
Alfredo Deza [Fri, 7 Oct 2016 11:26:34 +0000 (07:26 -0400)]
Merge pull request #515 from ceph/dev-force-push

ceph-dev-trigger: use a list, not a continuated string

8 years agoceph-dev-trigger: use a pipe for continuated string 515/head
Alfredo Deza [Fri, 7 Oct 2016 11:20:13 +0000 (07:20 -0400)]
ceph-dev-trigger: use a pipe for continuated string

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #514 from ceph/dev-force-push
Andrew Schoen [Thu, 6 Oct 2016 19:19:20 +0000 (14:19 -0500)]
Merge pull request #514 from ceph/dev-force-push

ceph-dev-trigger: force push even when remote package exists

8 years agoceph-dev-trigger: force push even when remote package exists 514/head
Alfredo Deza [Thu, 6 Oct 2016 18:43:04 +0000 (14:43 -0400)]
ceph-dev-trigger: force push even when remote package exists

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #513 from ceph/docker-fixes3
Alfredo Deza [Thu, 6 Oct 2016 14:32:38 +0000 (10:32 -0400)]
Merge pull request #513 from ceph/docker-fixes3

docker-pull-requests: use the correct path for teardown

8 years agodocker-pull-requests: use the correct path for teardown 513/head
Alfredo Deza [Thu, 6 Oct 2016 14:30:21 +0000 (10:30 -0400)]
docker-pull-requests: use the correct path for teardown

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #512 from ceph/docker-fixes2
Alfredo Deza [Thu, 6 Oct 2016 14:21:10 +0000 (10:21 -0400)]
Merge pull request #512 from ceph/docker-fixes2

ceph-docker-pull-requests: really try to remove containers

8 years agoceph-docker-pull-requests: remove 'ceph-demo' as well from getting checked since... 512/head
Alfredo Deza [Thu, 6 Oct 2016 14:14:41 +0000 (10:14 -0400)]
ceph-docker-pull-requests: remove 'ceph-demo' as well from getting checked since they aren't available in pull requests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoceph-docker-pull-requests: really try to remove containers
Alfredo Deza [Thu, 6 Oct 2016 14:01:23 +0000 (10:01 -0400)]
ceph-docker-pull-requests: really try to remove containers

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #511 from ceph/docker-fixes
Alfredo Deza [Thu, 6 Oct 2016 12:36:58 +0000 (08:36 -0400)]
Merge pull request #511 from ceph/docker-fixes

Docker fixes

8 years agoceph-docker-pull-requests: remove 'exec ceph-mon' call since it isn't available 511/head
Alfredo Deza [Thu, 6 Oct 2016 12:31:23 +0000 (08:31 -0400)]
ceph-docker-pull-requests: remove 'exec ceph-mon' call since it isn't available

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoceph-docker-pull-requests: add a header to indicate on failure script start
Alfredo Deza [Thu, 6 Oct 2016 12:30:38 +0000 (08:30 -0400)]
ceph-docker-pull-requests: add a header to indicate on failure script start

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #510 from ceph/ceph-setup-copy
Andrew Schoen [Wed, 5 Oct 2016 16:12:22 +0000 (11:12 -0500)]
Merge pull request #510 from ceph/ceph-setup-copy

ceph-setup: mkdir and then copy recursively vs. using mv

8 years agoceph-setup: mkdir and then copy recursively vs. using mv 510/head
Alfredo Deza [Wed, 5 Oct 2016 16:08:36 +0000 (12:08 -0400)]
ceph-setup: mkdir and then copy recursively vs. using mv

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #509 from ceph/docker-sudo
Alfredo Deza [Wed, 5 Oct 2016 15:50:15 +0000 (11:50 -0400)]
Merge pull request #509 from ceph/docker-sudo

ceph-docker-pull-requests: use sudo to remove deamon base and demo

8 years agoceph-docker-pull-requests: use sudo to remove deamon base and demo 509/head
Alfredo Deza [Wed, 5 Oct 2016 15:47:44 +0000 (11:47 -0400)]
ceph-docker-pull-requests: use sudo to remove deamon base and demo

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #508 from ceph/docker-workspace
Andrew Schoen [Wed, 5 Oct 2016 15:09:10 +0000 (10:09 -0500)]
Merge pull request #508 from ceph/docker-workspace

ceph-docker-pull-requests: remove daemon demo and base from top dir

8 years agoceph-docker-pull-requests: rename the configuration file 508/head
Alfredo Deza [Wed, 5 Oct 2016 15:03:37 +0000 (11:03 -0400)]
ceph-docker-pull-requests: rename the configuration file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoceph-docker-pull-requests: remove daemon demo and base from top dir for pull requests
Alfredo Deza [Wed, 5 Oct 2016 14:51:48 +0000 (10:51 -0400)]
ceph-docker-pull-requests: remove daemon demo and base from top dir for pull requests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #507 from ceph/docker-workspace
Alfredo Deza [Wed, 5 Oct 2016 12:13:49 +0000 (08:13 -0400)]
Merge pull request #507 from ceph/docker-workspace

Docker workspace

8 years agoceph-docker-pull-requests: define better the right path where to execute from 507/head
Alfredo Deza [Wed, 5 Oct 2016 11:32:39 +0000 (07:32 -0400)]
ceph-docker-pull-requests: define better the right path where to execute from

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoceph-docker-pull-requests: request amd64 arch nodes to build on
Alfredo Deza [Wed, 5 Oct 2016 11:32:12 +0000 (07:32 -0400)]
ceph-docker-pull-requests: request amd64 arch nodes to build on

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #506 from ceph/docker-deps
Andrew Schoen [Tue, 4 Oct 2016 21:30:04 +0000 (16:30 -0500)]
Merge pull request #506 from ceph/docker-deps

install correct deps

8 years agoceph-docker-pull-requests: require a xenial host if possible 506/head
Alfredo Deza [Tue, 4 Oct 2016 21:15:30 +0000 (17:15 -0400)]
ceph-docker-pull-requests: require a xenial host if possible

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoceph-docker-pull-requests: install docker.io which is the actual dependency of docker
Alfredo Deza [Tue, 4 Oct 2016 21:14:49 +0000 (17:14 -0400)]
ceph-docker-pull-requests: install docker.io which is the actual dependency of docker

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #505 from ceph/release-cmake
Andrew Schoen [Tue, 4 Oct 2016 21:10:33 +0000 (16:10 -0500)]
Merge pull request #505 from ceph/release-cmake

ceph-setup: when in cmake use different flags for compression

8 years agoceph-setup: when in cmake use different flags for compression 505/head
Alfredo Deza [Tue, 4 Oct 2016 21:05:50 +0000 (17:05 -0400)]
ceph-setup: when in cmake use different flags for compression

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #504 from ceph/ceph-docker-prs
Andrew Schoen [Tue, 4 Oct 2016 21:05:09 +0000 (16:05 -0500)]
Merge pull request #504 from ceph/ceph-docker-prs

ceph-docker-pull-requests: intial pass at a pull request job

8 years agoceph-docker-pull-requests: intial pass at a pull request job 504/head
Alfredo Deza [Tue, 4 Oct 2016 20:07:42 +0000 (16:07 -0400)]
ceph-docker-pull-requests: intial pass at a pull request job

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #503 from ceph/build-properties
Alfredo Deza [Mon, 3 Oct 2016 18:53:24 +0000 (14:53 -0400)]
Merge pull request #503 from ceph/build-properties

scripts: create the build_info properties file when updating shaman

8 years agoceph-dev-build: no need to write the build_info file during setup 503/head
Andrew Schoen [Mon, 3 Oct 2016 18:34:46 +0000 (13:34 -0500)]
ceph-dev-build: no need to write the build_info file during setup

This is now done in scripts/build_utils whenever a status is posted to
shaman.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoscripts: write the build_info properties file when updating shaman
Andrew Schoen [Mon, 3 Oct 2016 18:31:39 +0000 (13:31 -0500)]
scripts: write the build_info properties file when updating shaman

Centralize the creation of this file in one place so that other scripts
do not have to remember to write it when they want to post updates to
shaman.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #501 from ceph/build-properties
Alfredo Deza [Mon, 3 Oct 2016 17:00:29 +0000 (13:00 -0400)]
Merge pull request #501 from ceph/build-properties

ceph-dev-build: write the correct vars to build_info in setup_rpm

8 years agoceph-dev-build: write the correct vars to build_info in setup_rpm 501/head
Andrew Schoen [Mon, 3 Oct 2016 16:19:30 +0000 (11:19 -0500)]
ceph-dev-build: write the correct vars to build_info in setup_rpm

I was using the incorrect values for the NORMAL_* values in setup_rpm
which was posting incorrect information to shaman.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #500 from ceph/build-properties
Alfredo Deza [Mon, 3 Oct 2016 15:48:49 +0000 (11:48 -0400)]
Merge pull request #500 from ceph/build-properties

ceph-dev-build: split setup into setup_deb and setup_rpm

8 years agoscripts: always POST when sending build info to shaman 500/head
Andrew Schoen [Mon, 3 Oct 2016 14:47:18 +0000 (09:47 -0500)]
scripts: always POST when sending build info to shaman

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoceph-dev-build: if shaman fails to return a node, fail the build
Andrew Schoen [Sat, 1 Oct 2016 11:55:47 +0000 (06:55 -0500)]
ceph-dev-build: if shaman fails to return a node, fail the build

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoceph-dev-build: remove the unused setup file
Andrew Schoen [Sat, 1 Oct 2016 11:27:25 +0000 (06:27 -0500)]
ceph-dev-build: remove the unused setup file

We now have os type specific setup files

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoceph-dev-build: adds a setup_rpm script
Andrew Schoen [Sat, 1 Oct 2016 11:26:12 +0000 (06:26 -0500)]
ceph-dev-build: adds a setup_rpm script

We want to split up setup by os type so we can post
correct build info to shaman earlier

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoceph-dev-build: adds a setup_deb script
Andrew Schoen [Sat, 1 Oct 2016 11:24:15 +0000 (06:24 -0500)]
ceph-dev-build: adds a setup_deb script

We want to split up setup by os type so we can post correct
information to shaman earlier in the build.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoceph-dev-build: give the failure script access to the NORMALIZED_* vars
Andrew Schoen [Fri, 30 Sep 2016 21:26:34 +0000 (16:26 -0500)]
ceph-dev-build: give the failure script access to the NORMALIZED_* vars

In the build scripts we can write the NORMALIZED_* vars to a property
file so that if the build fails the postbuildscript can use inject those
vars and use them to properly post build info to shaman.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoMerge pull request #499 from ceph/fail-branch
Alfredo Deza [Fri, 30 Sep 2016 19:24:00 +0000 (15:24 -0400)]
Merge pull request #499 from ceph/fail-branch

we need to set variables when reporting build failures

9 years agoceph-dev-setup: on failure make sure BRANCH and SHA1 are set correctly 499/head
Andrew Schoen [Fri, 30 Sep 2016 19:08:51 +0000 (14:08 -0500)]
ceph-dev-setup: on failure make sure BRANCH and SHA1 are set correctly

When the job fails it gets fresh parameters from the ceph-dev job, so we
have to set these variables again to avoid things refs like 'origin/*'
in shaman.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoceph-dev-build: filter BRANCH in build/failure
Andrew Schoen [Fri, 30 Sep 2016 19:06:03 +0000 (14:06 -0500)]
ceph-dev-build: filter BRANCH in build/failure

When the postscriptbuild fires it passes that script fresh parameters
from ceph-dev, so we need to filter the value of BRANCH again or we get
it info in shaman that look like 'origin/*'.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoMerge pull request #498 from ceph/build-info-fix
Alfredo Deza [Fri, 30 Sep 2016 11:57:04 +0000 (07:57 -0400)]
Merge pull request #498 from ceph/build-info-fix

post build info status to shaman on failure

9 years agoceph-dev-setup: set script-only-if-failed: False 498/head
Andrew Schoen [Thu, 29 Sep 2016 21:23:24 +0000 (16:23 -0500)]
ceph-dev-setup: set script-only-if-failed: False

The default for this is True and if you want to only execute
the script on failure you need to set this to False.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoceph-dev-build: set script-only-if-failed: False
Andrew Schoen [Thu, 29 Sep 2016 21:21:57 +0000 (16:21 -0500)]
ceph-dev-build: set script-only-if-failed: False

This needs to be set because the default is True and if you want
to post on failure you have to change this value as well.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
9 years agoMerge pull request #497 from ceph/wip-jnode-rename
Alfredo Deza [Thu, 29 Sep 2016 20:00:13 +0000 (16:00 -0400)]
Merge pull request #497 from ceph/wip-jnode-rename

Rename jenkins-node module for ansible v2 compatibility

9 years agoRename jenkins-node module for ansible v2 compatibility 497/head
David Galloway [Thu, 29 Sep 2016 17:54:14 +0000 (13:54 -0400)]
Rename jenkins-node module for ansible v2 compatibility

Signed-off-by: David Galloway <dgallowa@redhat.com>
9 years agoMerge pull request #496 from ceph/ref-not-branch
Andrew Schoen [Thu, 29 Sep 2016 15:10:38 +0000 (10:10 -0500)]
Merge pull request #496 from ceph/ref-not-branch

Ref not branch and "status" not "state"

9 years agoscripts: use 'status', not 'state' 496/head
Alfredo Deza [Thu, 29 Sep 2016 15:07:43 +0000 (11:07 -0400)]
scripts: use 'status', not 'state'

Signed-off-by: Alfredo Deza <adeza@redhat.com>
9 years agoscripts: use 'ref', not 'branch'
Alfredo Deza [Thu, 29 Sep 2016 15:06:54 +0000 (11:06 -0400)]
scripts: use 'ref', not 'branch'

Signed-off-by: Alfredo Deza <adeza@redhat.com>
9 years agoMerge pull request #494 from ceph/posting-build
Andrew Schoen [Thu, 29 Sep 2016 14:49:17 +0000 (09:49 -0500)]
Merge pull request #494 from ceph/posting-build

update shaman on build status

9 years agoceph-dev-setup: define SHA1 at the very beginning so it is available when posting... 494/head
Alfredo Deza [Wed, 28 Sep 2016 21:42:05 +0000 (17:42 -0400)]
ceph-dev-setup: define SHA1 at the very beginning so it is available when posting status

Signed-off-by: Alfredo Deza <adeza@redhat.com>