]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
8 years agoMerge pull request #874 from ceph/defaultscenar
Andrew Schoen [Thu, 28 Sep 2017 14:56:40 +0000 (09:56 -0500)]
Merge pull request #874 from ceph/defaultscenar

ceph-ansible-prs: add two default scenarios

8 years agoceph-ansible-prs: add two default scenarios 874/head
Sébastien Han [Thu, 28 Sep 2017 13:55:16 +0000 (15:55 +0200)]
ceph-ansible-prs: add two default scenarios

Adding update_cluster and docker_cluster to test by default on each new
PR.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #873 from ceph/collocation-ceph-ansible
Sébastien Han [Thu, 28 Sep 2017 11:53:14 +0000 (13:53 +0200)]
Merge pull request #873 from ceph/collocation-ceph-ansible

ceph-ansible-prs: add collocation scenario

8 years agoceph-ansible-prs: add collocation scenario 873/head
Sébastien Han [Wed, 27 Sep 2017 16:35:09 +0000 (18:35 +0200)]
ceph-ansible-prs: add collocation scenario

Add collocation scenario for containers.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #872 from ceph/ceph-ansible-prs-update
Andrew Schoen [Wed, 27 Sep 2017 14:44:37 +0000 (09:44 -0500)]
Merge pull request #872 from ceph/ceph-ansible-prs-update

ceph-ansible-prs: setting only-trigger-phrase with a var did not work

8 years agoceph-ansible-prs: trigger phrase is now a regex 872/head
Andrew Schoen [Wed, 27 Sep 2017 14:31:17 +0000 (09:31 -0500)]
ceph-ansible-prs: trigger phrase is now a regex

You can trigger a job by using the individiual scenario name or by
commenting with 'jenkins test all' to run all the scenarios.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-ansible-prs: setting only-trigger-phrase with a var did not work
Andrew Schoen [Tue, 26 Sep 2017 20:11:06 +0000 (15:11 -0500)]
ceph-ansible-prs: setting only-trigger-phrase with a var did not work

I tried setting the value of only-trigger-phrase as a variable on the
project so we didn't have to duplicate the job template but that didn't
seem to work. Duplicating the job template does allow us to create jobs
that do not auto start when PRs are created.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #871 from ceph/ceph-ansible-prs-update
Andrew Schoen [Tue, 26 Sep 2017 19:23:55 +0000 (14:23 -0500)]
Merge pull request #871 from ceph/ceph-ansible-prs-update

ceph-ansible-prs: allow for tests to be auto started or only triggered

8 years agoceph-ansible-prs: allow for tests to be auto started or only triggered 871/head
Andrew Schoen [Tue, 26 Sep 2017 14:38:09 +0000 (09:38 -0500)]
ceph-ansible-prs: allow for tests to be auto started or only triggered

This creates two different projects, one which lists scenarios that will
auto start on every PR and another which lists scenarios that will only
start if a comment is made on the PR with its trigger phrase.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #870 from ceph/fix_teardown_leftover
Sébastien Han [Sun, 24 Sep 2017 13:03:18 +0000 (15:03 +0200)]
Merge pull request #870 from ceph/fix_teardown_leftover

ceph-ansible-prs: fix leftover

8 years agoceph-ansible-prs: fix leftover 870/head
Guillaume Abrioux [Sun, 24 Sep 2017 02:39:13 +0000 (04:39 +0200)]
ceph-ansible-prs: fix leftover

sometimes, it happens that the Jenkins Slave processes crashes before
teardown is executed (ie. `java.io.EOFException`), it means we keep
leftofver from previous build. This commit ensures before the test is
launched that no fetch directory from previous build is present.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agoMerge pull request #869 from ceph/ansible-lint
Andrew Schoen [Tue, 19 Sep 2017 22:12:38 +0000 (17:12 -0500)]
Merge pull request #869 from ceph/ansible-lint

ceph-ansible-pr-syntax-check: use ansible-lint

8 years agoceph-ansible-pr-syntax-check: use ansible-lint 869/head
Sébastien Han [Tue, 19 Sep 2017 20:49:59 +0000 (22:49 +0200)]
ceph-ansible-pr-syntax-check: use ansible-lint

Enhance the ceph-ansible-pr-syntax-check job by running ansible-lint as
well.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #868 from ceph/skip-tests
Andrew Schoen [Tue, 19 Sep 2017 18:55:54 +0000 (13:55 -0500)]
Merge pull request #868 from ceph/skip-tests

ceph-ansible-prs: skip-build-phrase must be a regex

8 years agoceph-ansible-prs: skip-build-phrase must be a regex 868/head
Andrew Schoen [Tue, 19 Sep 2017 18:41:24 +0000 (13:41 -0500)]
ceph-ansible-prs: skip-build-phrase must be a regex

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #867 from ceph/skip-tests
Andrew Schoen [Tue, 19 Sep 2017 18:10:07 +0000 (13:10 -0500)]
Merge pull request #867 from ceph/skip-tests

ceph-ansible-prs: adds skip-build-phrase

8 years agoceph-ansible-prs: adds skip-build-phrase 867/head
Andrew Schoen [Tue, 19 Sep 2017 17:51:37 +0000 (12:51 -0500)]
ceph-ansible-prs: adds skip-build-phrase

Adding the string 'no-tests' to either the PR title
or description will keep CI jobs from triggering on PR updates or
creation.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #866 from ceph/shrink-cont
Guillaume Abrioux [Mon, 18 Sep 2017 15:37:01 +0000 (17:37 +0200)]
Merge pull request #866 from ceph/shrink-cont

ceph-ansible-prs: add shrink mon/osd for container

8 years agoceph-ansible-prs: add shrink mon/osd for container 866/head
Sébastien Han [Mon, 18 Sep 2017 13:41:33 +0000 (15:41 +0200)]
ceph-ansible-prs: add shrink mon/osd for container

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #865 from ceph/ansible-docs
Andrew Schoen [Fri, 15 Sep 2017 14:40:13 +0000 (09:40 -0500)]
Merge pull request #865 from ceph/ansible-docs

ceph-ansible-docs: adds the stable-2.2 and stable-3.0 branches

8 years agoceph-ansible-docs: adds the stable-2.2 and stable-3.0 branches 865/head
Andrew Schoen [Fri, 15 Sep 2017 14:24:45 +0000 (09:24 -0500)]
ceph-ansible-docs: adds the stable-2.2 and stable-3.0 branches

The stable-3.0 branch has not been created yet, but putting this in
place now will ensure we get docs built when it is.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #864 from ceph/docker-tests
Alfredo Deza [Thu, 14 Sep 2017 14:46:10 +0000 (10:46 -0400)]
Merge pull request #864 from ceph/docker-tests

ceph-docker-nightly: update scenarios

8 years agoceph-docker-nightly: update scenarios 864/head
Andrew Schoen [Thu, 14 Sep 2017 14:35:38 +0000 (09:35 -0500)]
ceph-docker-nightly: update scenarios

There is no ceph_ansible2.3 factor, we shouldn't need to test kraken
anymore and luminous needed to be added.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #863 from ceph/ansible-dev-tests
Andrew Schoen [Tue, 12 Sep 2017 19:04:51 +0000 (14:04 -0500)]
Merge pull request #863 from ceph/ansible-dev-tests

ceph-ansible-prs: only run lvm_osd tests on ceph@master

8 years agoceph-ansible-prs: only run lvm_osd tests on ceph@master 863/head
Andrew Schoen [Tue, 12 Sep 2017 19:01:27 +0000 (14:01 -0500)]
ceph-ansible-prs: only run lvm_osd tests on ceph@master

These lvm_osd tests won't pass until 12.2.1 is released, but if we have
them use ceph@master then they should pass. After 12.2.1 is out we can
move these back to be a 'luminous' test.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #788 from ceph/improve_teardown
Sébastien Han [Tue, 12 Sep 2017 02:43:55 +0000 (04:43 +0200)]
Merge pull request #788 from ceph/improve_teardown

ceph-ansible-prs: improve teardown

8 years agoceph-ansible-prs: improve teardown 788/head
Guillaume Abrioux [Mon, 17 Jul 2017 07:32:00 +0000 (09:32 +0200)]
ceph-ansible-prs: improve teardown

Delete with force any `fetch/` directories that could have been left after a
build.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agoMerge pull request #862 from ceph/rm-bs-cluster
Guillaume Abrioux [Fri, 8 Sep 2017 08:53:23 +0000 (10:53 +0200)]
Merge pull request #862 from ceph/rm-bs-cluster

ceph-ansible-prs: remove bluestore_docker_cluster

8 years agoceph-ansible-prs: remove bluestore_docker_cluster 862/head
Sébastien Han [Fri, 8 Sep 2017 08:48:59 +0000 (10:48 +0200)]
ceph-ansible-prs: remove bluestore_docker_cluster

We don't need to bootstrap a full cluster to bootstrap bluestore. We
have individual scenarios for that.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #861 from ceph/wip-lab-cop-2
Gregory Meno [Wed, 6 Sep 2017 14:01:35 +0000 (07:01 -0700)]
Merge pull request #861 from ceph/wip-lab-cop-2

fix syntax error

8 years agofix syntax error wip-lab-cop-2 861/head
Gregory Meno [Wed, 6 Sep 2017 13:58:41 +0000 (06:58 -0700)]
fix syntax error

Signed-off-by: Gregory Meno <gmeno@redhat.com>
8 years agoMerge pull request #860 from ceph/wip-lab-cop-2
Gregory Meno [Tue, 5 Sep 2017 21:48:57 +0000 (14:48 -0700)]
Merge pull request #860 from ceph/wip-lab-cop-2

checkout teuthology

8 years agocheckout teuthology 860/head
Gregory Meno [Tue, 5 Sep 2017 21:45:55 +0000 (14:45 -0700)]
checkout teuthology

Signed-off-by: Gregory Meno <gmeno@redhat.com>
8 years agoMerge pull request #859 from ceph/wip-lab-cop-2
Gregory Meno [Tue, 5 Sep 2017 21:01:27 +0000 (14:01 -0700)]
Merge pull request #859 from ceph/wip-lab-cop-2

change this job to be manually triggered

8 years agochange this job to be manually triggered 859/head
Gregory Meno [Tue, 5 Sep 2017 18:45:26 +0000 (11:45 -0700)]
change this job to be manually triggered

Signed-off-by: Gregory Meno <gmeno@redhat.com>
8 years agoMerge pull request #858 from ceph/wip-kernel-xml-notags
Alfredo Deza [Fri, 1 Sep 2017 16:51:46 +0000 (12:51 -0400)]
Merge pull request #858 from ceph/wip-kernel-xml-notags

kernel: use raw xml for configuring scm module

8 years agokernel: use raw xml for configuring scm module 858/head
Ilya Dryomov [Fri, 1 Sep 2017 16:14:30 +0000 (18:14 +0200)]
kernel: use raw xml for configuring scm module

kernel-trigger job needs to specify do-not-fetch-tags, otherwise
cloning fails, "No changes" is reported and nothing gets triggered (see
commit b34f8fa ("kernel: do not fetch git tags") for more details).
do-not-fetch-tags was added to jenkins-job-builder in commit
badab0264717 ("Add do-not-fetch-tags to CloneOption for Git"), which
isn't in any tag.  The version we get from pypi, 2.0.0.0b2, simply
ignores it, leaving us with no kernel builds.

Use raw xml generated with jenkins-job-builder's master to get
<noTags>true</noTags> up there after all.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #857 from ceph/wip-tcmu-runner
Jason Dillaman [Fri, 1 Sep 2017 14:01:17 +0000 (10:01 -0400)]
Merge pull request #857 from ceph/wip-tcmu-runner

tcmu-runner: convert all dashes to period in revision

8 years agotcmu-runner: convert all dashes to period in revision 857/head
Jason Dillaman [Fri, 1 Sep 2017 14:00:23 +0000 (10:00 -0400)]
tcmu-runner: convert all dashes to period in revision

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #856 from ceph/wip-tcmu-runner
Jason Dillaman [Fri, 1 Sep 2017 13:46:07 +0000 (09:46 -0400)]
Merge pull request #856 from ceph/wip-tcmu-runner

tcmu-runner: handle vX.Y.Z-rcX git tag formats

8 years agotcmu-runner: handle vX.Y.Z-rcX git tag formats 856/head
Jason Dillaman [Fri, 1 Sep 2017 13:43:17 +0000 (09:43 -0400)]
tcmu-runner: handle vX.Y.Z-rcX git tag formats

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #855 from ceph/wip-tcmu-runner
Jason Dillaman [Fri, 1 Sep 2017 13:04:17 +0000 (09:04 -0400)]
Merge pull request #855 from ceph/wip-tcmu-runner

tcmu-runner: adjust build flags to match brew environment

8 years agotcmu-runner: adjust build flags to match brew environment 855/head
Jason Dillaman [Fri, 1 Sep 2017 13:00:09 +0000 (09:00 -0400)]
tcmu-runner: adjust build flags to match brew environment

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #853 from ceph/wip-no-installer
Alfredo Deza [Thu, 31 Aug 2017 17:26:50 +0000 (13:26 -0400)]
Merge pull request #853 from ceph/wip-no-installer

Deprecate ceph-installer tests

8 years agoDeprecate ceph-installer tests 853/head
David Galloway [Wed, 30 Aug 2017 22:42:07 +0000 (18:42 -0400)]
Deprecate ceph-installer tests

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #850 from ceph/ansible-dev-tests
Andrew Schoen [Thu, 31 Aug 2017 15:39:40 +0000 (10:39 -0500)]
Merge pull request #850 from ceph/ansible-dev-tests

ceph-ansible-prs: adds the dev-ansible2.3-centos7_cluster scenario

8 years agoceph-ansible-prs: adds the dev-ansible2.3-centos7_cluster scenario 850/head
Andrew Schoen [Wed, 30 Aug 2017 19:55:42 +0000 (14:55 -0500)]
ceph-ansible-prs: adds the dev-ansible2.3-centos7_cluster scenario

This test will install the latest master version of ceph from shaman.ceph.com
to verify that dev installs still work.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #852 from ceph/wip-nightly-22
Andrew Schoen [Wed, 30 Aug 2017 23:23:09 +0000 (18:23 -0500)]
Merge pull request #852 from ceph/wip-nightly-22

Only test using ansible 2.3

8 years agoOnly test using ansible 2.3 wip-nightly-22 852/head
David Galloway [Wed, 30 Aug 2017 22:35:38 +0000 (18:35 -0400)]
Only test using ansible 2.3

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #851 from ceph/shrink
Sébastien Han [Wed, 30 Aug 2017 22:20:21 +0000 (00:20 +0200)]
Merge pull request #851 from ceph/shrink

ceph-ansible-prs: add shrink mon and osd scenario

8 years agoceph-ansible-prs: add shrink mon and osd scenario 851/head
Sébastien Han [Wed, 30 Aug 2017 22:16:02 +0000 (00:16 +0200)]
ceph-ansible-prs: add shrink mon and osd scenario

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #849 from ceph/add-switch-to-containers
Sébastien Han [Wed, 30 Aug 2017 11:10:15 +0000 (13:10 +0200)]
Merge pull request #849 from ceph/add-switch-to-containers

ceph-ansible-prs: add switch_to_containers scenario

8 years agoceph-ansible-prs: add switch_to_containers scenario 849/head
Sébastien Han [Wed, 30 Aug 2017 11:07:37 +0000 (13:07 +0200)]
ceph-ansible-prs: add switch_to_containers scenario

The CI will now test migration from non-containerized to containerized
scenario.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #848 from ceph/wip-tcmu-runner
Jason Dillaman [Tue, 29 Aug 2017 18:30:10 +0000 (14:30 -0400)]
Merge pull request #848 from ceph/wip-tcmu-runner

tcmu-runner: removed duplicate DIST axis

8 years agotcmu-runner: cleanup shaman.repo using bash trap 848/head
Jason Dillaman [Tue, 29 Aug 2017 18:24:03 +0000 (14:24 -0400)]
tcmu-runner: cleanup shaman.repo using bash trap

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agotcmu-runner: removed duplicate DIST axis
Jason Dillaman [Tue, 29 Aug 2017 18:12:30 +0000 (14:12 -0400)]
tcmu-runner: removed duplicate DIST axis

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #847 from ceph/wip-tcmu-runner
Jason Dillaman [Tue, 29 Aug 2017 00:06:36 +0000 (20:06 -0400)]
Merge pull request #847 from ceph/wip-tcmu-runner

tcmu-runner: updated libtcmu package contents

8 years agotcmu-runner: updated libtcmu package contents 847/head
Jason Dillaman [Tue, 29 Aug 2017 00:03:13 +0000 (20:03 -0400)]
tcmu-runner: updated libtcmu package contents

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #846 from ceph/wip-tcmu-runner
Jason Dillaman [Mon, 28 Aug 2017 23:57:56 +0000 (19:57 -0400)]
Merge pull request #846 from ceph/wip-tcmu-runner

tcmu-runner: added missing distro release

8 years agotcmu-runner: added missing distro release 846/head
Jason Dillaman [Mon, 28 Aug 2017 23:15:14 +0000 (19:15 -0400)]
tcmu-runner: added missing distro release

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #845 from ceph/wip-tcmu-runner
Jason Dillaman [Mon, 28 Aug 2017 23:07:21 +0000 (19:07 -0400)]
Merge pull request #845 from ceph/wip-tcmu-runner

tcmu-runner: remove shaman repo file after build

8 years agotcmu-runner: remove shaman repo file after build 845/head
Jason Dillaman [Mon, 28 Aug 2017 23:04:24 +0000 (19:04 -0400)]
tcmu-runner: remove shaman repo file after build

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #844 from ceph/wip-tcmu-runner
Jason Dillaman [Mon, 28 Aug 2017 23:00:38 +0000 (19:00 -0400)]
Merge pull request #844 from ceph/wip-tcmu-runner

tcmu-runner: remove UAPI patch and add Ceph repo for build

8 years agotcmu-runner: remove UAPI patch and add Ceph repo for build 844/head
Jason Dillaman [Mon, 28 Aug 2017 22:55:14 +0000 (18:55 -0400)]
tcmu-runner: remove UAPI patch and add Ceph repo for build

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #843 from ceph/wip-hudsonurl
Andrew Schoen [Mon, 28 Aug 2017 22:28:28 +0000 (17:28 -0500)]
Merge pull request #843 from ceph/wip-hudsonurl

ceph-docker: run flake8 and lint jobs on 2.jenkins

8 years agoceph-docker: just check if jenkins HUDSON_URL var is set 843/head
David Galloway [Thu, 24 Aug 2017 17:12:29 +0000 (13:12 -0400)]
ceph-docker: just check if jenkins HUDSON_URL var is set

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #842 from ceph/disk-auto
Alfredo Deza [Thu, 24 Aug 2017 14:41:07 +0000 (10:41 -0400)]
Merge pull request #842 from ceph/disk-auto

ceph-ansible-prs: add disk autodiscovery scenario

8 years agoceph-ansible-prs: add disk autodiscovery scenario 842/head
Sébastien Han [Thu, 24 Aug 2017 13:16:35 +0000 (15:16 +0200)]
ceph-ansible-prs: add disk autodiscovery scenario

Seconds https://github.com/ceph/ceph-ansible/pull/1803

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #839 from ceph/wip-nfs-ganesha-stable
Alfredo Deza [Wed, 23 Aug 2017 16:01:40 +0000 (12:01 -0400)]
Merge pull request #839 from ceph/wip-nfs-ganesha-stable

nfs-ganesha-stable: fixes to get build scripts working

8 years agoMerge branch 'master' into wip-nfs-ganesha-stable 839/head
Ali Maredia [Wed, 23 Aug 2017 15:59:18 +0000 (11:59 -0400)]
Merge branch 'master' into wip-nfs-ganesha-stable

8 years agonfs-ganesha-stable: fixes to get build scripts working
Ali Maredia [Tue, 22 Aug 2017 18:05:25 +0000 (14:05 -0400)]
nfs-ganesha-stable: fixes to get build scripts working

-ntirpc scm wasn't applying properly
-clean up ntirpc directory
-various pbuilder related fixes
-directory ownership fix for creating local ntirpc repo

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agoMerge pull request #841 from ktdreyer/readme-test
Ali Maredia [Wed, 23 Aug 2017 15:58:52 +0000 (11:58 -0400)]
Merge pull request #841 from ktdreyer/readme-test

README: more context for what "jenkins-jobs test" does

8 years agoREADME: more context for what "jenkins-jobs test" does 841/head
Ken Dreyer [Wed, 23 Aug 2017 15:47:00 +0000 (09:47 -0600)]
README: more context for what "jenkins-jobs test" does

Give developers a hint about what to look for in the output of
"jenkins-jobs test".

8 years agoMerge pull request #840 from ceph/ansible-pr-scenarios
Andrew Schoen [Wed, 23 Aug 2017 14:51:58 +0000 (09:51 -0500)]
Merge pull request #840 from ceph/ansible-pr-scenarios

ceph-ansible-prs: adds the lvm_osds and purge_lvm_osds scenarios

8 years agoceph-ansible-prs: adds the lvm_osds and purge_lvm_osds scenarios ansible-pr-scenarios 840/head
Andrew Schoen [Wed, 23 Aug 2017 14:20:57 +0000 (09:20 -0500)]
ceph-ansible-prs: adds the lvm_osds and purge_lvm_osds scenarios

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #825 from ceph/wip-jenkins-refactor
Alfredo Deza [Tue, 22 Aug 2017 14:44:09 +0000 (10:44 -0400)]
Merge pull request #825 from ceph/wip-jenkins-refactor

Updates to ansible-jenkins role

8 years agoansible: Manage Jenkins service defaults w/ ansible wip-jenkins-refactor 825/head
David Galloway [Wed, 9 Aug 2017 14:35:05 +0000 (10:35 -0400)]
ansible: Manage Jenkins service defaults w/ ansible

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: Add README for ansible-jenkins role
David Galloway [Fri, 4 Aug 2017 20:27:35 +0000 (16:27 -0400)]
ansible: Add README for ansible-jenkins role

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: jenkins-cli no longer deemed secure
David Galloway [Fri, 4 Aug 2017 20:04:38 +0000 (16:04 -0400)]
ansible: jenkins-cli no longer deemed secure

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: Add warning about restarting Jenkins to playbook
David Galloway [Fri, 4 Aug 2017 19:48:58 +0000 (15:48 -0400)]
ansible: Add warning about restarting Jenkins to playbook

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: Manage Jenkins auth with github-oauth
David Galloway [Fri, 4 Aug 2017 19:34:33 +0000 (15:34 -0400)]
ansible: Manage Jenkins auth with github-oauth

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: Update Jenkins plugins tasks
David Galloway [Fri, 4 Aug 2017 15:28:47 +0000 (11:28 -0400)]
ansible: Update Jenkins plugins tasks

 - Have to enable CLI to use jenkins-cli
 - Now compatible with ansible > v2

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: Add ufw to jenkins masters
David Galloway [Thu, 3 Aug 2017 20:55:23 +0000 (16:55 -0400)]
ansible: Add ufw to jenkins masters

The jenkins-cli is used to initially configure the Jenkins service.  As
of recent versions, however, anonymous cli access isn't allowed unless
useSecurity is set to false in Jenkins' config.xml.  This opens Jenkins
to the world of course.

By creating some firewall rules, we can just disable nginx, turn of
auth, allow only localhost access to port 8080 and safely make changes using
jenkins-cli.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: Force jenkins nginx symlink
David Galloway [Thu, 3 Aug 2017 17:30:22 +0000 (13:30 -0400)]
ansible: Force jenkins nginx symlink

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: Add letsencrypt support for jenkins master role
David Galloway [Thu, 3 Aug 2017 16:16:39 +0000 (12:16 -0400)]
ansible: Add letsencrypt support for jenkins master role

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: Update jenkins nginx reverse proxy config
David Galloway [Thu, 3 Aug 2017 15:59:42 +0000 (11:59 -0400)]
ansible: Update jenkins nginx reverse proxy config

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: Remove SSL stuff. We'll do this with letsencrypt
David Galloway [Thu, 3 Aug 2017 15:51:54 +0000 (11:51 -0400)]
ansible: Remove SSL stuff.  We'll do this with letsencrypt

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: Unnecessary config for ssh user
David Galloway [Thu, 3 Aug 2017 15:43:33 +0000 (11:43 -0400)]
ansible: Unnecessary config for ssh user

Role assumes the jenkins_master target has been configured with the
ceph-sepia-secrets ansible_managed and common roles.  These roles create
a cm user and already set up TTY-less sudo access.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: Rename ansible-reserved port var to jenkins_port
David Galloway [Thu, 3 Aug 2017 15:35:48 +0000 (11:35 -0400)]
ansible: Rename ansible-reserved port var to jenkins_port

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoansible: Refactor jenkins master role
David Galloway [Thu, 3 Aug 2017 15:31:32 +0000 (11:31 -0400)]
ansible: Refactor jenkins master role

- Spacing/tabs/syntax/quoting
- Updated for compatibility with ansible > v2
- Only support Ubuntu Xenial for now

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #836 from ceph/wip-docs-override
Alfredo Deza [Tue, 22 Aug 2017 14:39:32 +0000 (10:39 -0400)]
Merge pull request #836 from ceph/wip-docs-override

Build ceph-ansible docs on jenkins.ceph.com

8 years agoBuild ceph-ansible docs on jenkins.ceph.com 836/head
David Galloway [Thu, 17 Aug 2017 14:37:24 +0000 (10:37 -0400)]
Build ceph-ansible docs on jenkins.ceph.com

Because docs.ceph.com is a slave of jenkins.ceph.com

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #838 from ceph/wip-kernel-no-tags
Alfredo Deza [Tue, 22 Aug 2017 11:31:40 +0000 (07:31 -0400)]
Merge pull request #838 from ceph/wip-kernel-no-tags

kernel: do not fetch git tags

8 years agokernel: do not fetch git tags 838/head
Ilya Dryomov [Tue, 22 Aug 2017 08:57:12 +0000 (10:57 +0200)]
kernel: do not fetch git tags

After a recent jenkins/plugins update, jenkins started listing tags and
attempting git rev-parse ^{commit} on them:

  Seen branch in repository origin/wip-tighter-types
  Seen 39 remote branches
  > git tag -l # timeout=10
  > git rev-parse refs/tags/v4.7-rc7^{commit} # timeout=10
  > git rev-parse refs/tags/v2.6.30-rc7^{commit} # timeout=10

On the Linux kernel repo, this eventually fails with:

  > git rev-parse refs/tags/v2.6.11^{commit} # timeout=10
  FATAL: Command "git rev-parse refs/tags/v2.6.11^{commit}" returned status code 128:
  stdout: refs/tags/v2.6.11^{commit}
  stderr: error: refs/tags/v2.6.11^{commit}: expected commit type, but
  the object dereferences to tree type

Only "trigger" jobs seem to be affected, but we don't really need tags,
so don't fetch them for both kernel-trigger and kernel.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #837 from ceph/pr-docs-cython
Andrew Schoen [Thu, 17 Aug 2017 22:32:53 +0000 (17:32 -0500)]
Merge pull request #837 from ceph/pr-docs-cython

ceph-pr-docs: install cython, remove python-sphinx

8 years agoceph-pr-docs: install cython, remove python-sphinx pr-docs-cython 837/head
Alfredo Deza [Thu, 17 Aug 2017 12:26:14 +0000 (08:26 -0400)]
ceph-pr-docs: install cython, remove python-sphinx

cython is needed for generating docs from pyx docstrings and
python-sphinx is not needed because it is installed in a virtualenv by
the admin/build-doc script

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #812 from ceph/wip-nfs-ganesha-stable
Alfredo Deza [Thu, 17 Aug 2017 16:37:10 +0000 (12:37 -0400)]
Merge pull request #812 from ceph/wip-nfs-ganesha-stable

nfs-ganesha-stable: add seperate libntirpc packages

8 years agonfs-ganesha-stable: debian builds using external ntirpc 812/head
Ali Maredia [Wed, 16 Aug 2017 17:12:19 +0000 (13:12 -0400)]
nfs-ganesha-stable: debian builds using external ntirpc

- add option to switch nfs-ganesha-debian branch on
nfs-ganesha builds for shaman
- change build_debian to use an external ntirpc for
it's builds

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agoMerge pull request #823 from ceph/wip-multimaster
Andrew Schoen [Wed, 16 Aug 2017 17:14:32 +0000 (12:14 -0500)]
Merge pull request #823 from ceph/wip-multimaster

Move ceph-ansible and ceph-docker builds to 2.jenkins.ceph.com

8 years agoMove ceph-ansible and ceph-docker builds to 2.jenkins.ceph.com 823/head
David Galloway [Tue, 8 Aug 2017 21:01:05 +0000 (17:01 -0400)]
Move ceph-ansible and ceph-docker builds to 2.jenkins.ceph.com

Signed-off-by: David Galloway <dgallowa@redhat.com>