]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
7 years agoceph-volume-ansible-prs: support batch scenarios 1095/head
Alfredo Deza [Thu, 9 Aug 2018 14:29:28 +0000 (10:29 -0400)]
ceph-volume-ansible-prs: support batch scenarios

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1094 from ceph/guits-add_params_individual_scenario_testing
Sébastien Han [Tue, 7 Aug 2018 15:14:23 +0000 (17:14 +0200)]
Merge pull request #1094 from ceph/guits-add_params_individual_scenario_testing

ceph-ansible: add docker params for individual scenario testing

7 years agoceph-ansible: add docker params for individual scenario testing 1094/head
Guillaume Abrioux [Tue, 7 Aug 2018 15:02:00 +0000 (17:02 +0200)]
ceph-ansible: add docker params for individual scenario testing

So we can test a specific docker image.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1093 from ceph/guits-fix_find_latest_tag
Guillaume Abrioux [Wed, 25 Jul 2018 09:28:16 +0000 (11:28 +0200)]
Merge pull request #1093 from ceph/guits-fix_find_latest_tag

ceph-ansible-nightly: take the first tag only in find_latest_tag

7 years agoceph-ansible-nightly: take the first tag only in find_latest_tag 1093/head
Guillaume Abrioux [Wed, 25 Jul 2018 09:21:36 +0000 (11:21 +0200)]
ceph-ansible-nightly: take the first tag only in find_latest_tag

`find_latest_tag()` might return more than 1 tag if two tags match the
`jq` query in a same page of results. This breaks the nightly jobs.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1092 from ceph/wip-ceph-iscsi-cli-flake8
Jason Dillaman [Tue, 24 Jul 2018 19:11:00 +0000 (15:11 -0400)]
Merge pull request #1092 from ceph/wip-ceph-iscsi-cli-flake8

ceph-iscsi-cli-flake8: initial version

7 years agoMerge branch 'master' into wip-ceph-iscsi-cli-flake8 wip-ceph-iscsi-cli-flake8 1092/head
Jason Dillaman [Tue, 24 Jul 2018 19:06:19 +0000 (15:06 -0400)]
Merge branch 'master' into wip-ceph-iscsi-cli-flake8

7 years agoMerge pull request #1091 from ceph/wip-ceph-iscsi-config-flake8
Alfredo Deza [Tue, 24 Jul 2018 18:44:43 +0000 (14:44 -0400)]
Merge pull request #1091 from ceph/wip-ceph-iscsi-config-flake8

ceph-iscsi-config-flake8: added context to GitHub PR status

7 years agoceph-iscsi-cli-flake8: initial version
Jason Dillaman [Tue, 24 Jul 2018 18:44:43 +0000 (14:44 -0400)]
ceph-iscsi-cli-flake8: initial version

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoceph-iscsi-config-flake8: added context to GitHub PR status 1091/head
Jason Dillaman [Tue, 24 Jul 2018 18:40:13 +0000 (14:40 -0400)]
ceph-iscsi-config-flake8: added context to GitHub PR status

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #1090 from ceph/wip-ceph-iscsi-config-flake8
Jason Dillaman [Tue, 24 Jul 2018 17:39:23 +0000 (13:39 -0400)]
Merge pull request #1090 from ceph/wip-ceph-iscsi-config-flake8

ceph-iscsi-config-flake8: removed use of docker

7 years agoceph-iscsi-config-flake8: removed use of docker 1090/head
Jason Dillaman [Tue, 24 Jul 2018 16:50:34 +0000 (12:50 -0400)]
ceph-iscsi-config-flake8: removed use of docker

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #1089 from ceph/wip-ceph-iscsi-config-flake8
Alfredo Deza [Tue, 24 Jul 2018 17:27:49 +0000 (13:27 -0400)]
Merge pull request #1089 from ceph/wip-ceph-iscsi-config-flake8

ceph-iscsi-config-flake8: removed jenkins override

7 years agoceph-iscsi-config-flake8: removed jenkins override 1089/head
Jason Dillaman [Tue, 24 Jul 2018 16:50:34 +0000 (12:50 -0400)]
ceph-iscsi-config-flake8: removed jenkins override

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #1088 from ceph/wip-ceph-iscsi-config-flake8
Jason Dillaman [Tue, 24 Jul 2018 16:37:53 +0000 (12:37 -0400)]
Merge pull request #1088 from ceph/wip-ceph-iscsi-config-flake8

ceph-iscsi-config-flake8: initial version

7 years agoceph-iscsi-config-flake8: initial version 1088/head
Jason Dillaman [Tue, 24 Jul 2018 16:32:08 +0000 (12:32 -0400)]
ceph-iscsi-config-flake8: initial version

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #1084 from ceph/guits-ceph-ansible_mimic
Sébastien Han [Thu, 19 Jul 2018 14:54:29 +0000 (16:54 +0200)]
Merge pull request #1084 from ceph/guits-ceph-ansible_mimic

ceph-ansible: update the testing matrix

7 years agoceph-ansible: update the testing matrix 1084/head
Guillaume Abrioux [Thu, 19 Jul 2018 12:36:46 +0000 (14:36 +0200)]
ceph-ansible: update the testing matrix

stable-3.0 => jewel,luminous
stable-3.1 => jewel,luminous,mimic
master     => dev (last sha1 on master)

This also removes xenial_cluster scenario on PRs and leave it played
in nightly.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1085 from ceph/guits-fix_ca_prs
David Galloway [Thu, 19 Jul 2018 13:47:57 +0000 (09:47 -0400)]
Merge pull request #1085 from ceph/guits-fix_ca_prs

ceph-ansible-prs: fix a typo

7 years agoceph-ansible-prs: fix a typo 1085/head
Guillaume Abrioux [Thu, 19 Jul 2018 13:43:24 +0000 (15:43 +0200)]
ceph-ansible-prs: fix a typo

`$scenario` gets set by the last iteration in the loop above.
The actual value we want is `$SCENARIO`.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1083 from ceph/wip-cansible-stable3
Guillaume Abrioux [Wed, 18 Jul 2018 16:25:00 +0000 (18:25 +0200)]
Merge pull request #1083 from ceph/wip-cansible-stable3

ceph-ansible: Just pass LVM scenarios if the branch is stable-3.0

7 years agoceph-ansible: Just pass LVM scenarios if the branch is stable-3.0 1083/head
David Galloway [Wed, 18 Jul 2018 15:40:08 +0000 (11:40 -0400)]
ceph-ansible: Just pass LVM scenarios if the branch is stable-3.0

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1082 from ceph/wip-cansible-stable2
Guillaume Abrioux [Wed, 18 Jul 2018 15:37:27 +0000 (17:37 +0200)]
Merge pull request #1082 from ceph/wip-cansible-stable2

ceph-ansible: Stop hardcoding ansible version in scenarios

7 years agoceph-ansible: Stop hardcoding ansible version in scenarios 1082/head
David Galloway [Tue, 10 Jul 2018 16:17:33 +0000 (12:17 -0400)]
ceph-ansible: Stop hardcoding ansible version in scenarios

We'll set the ansible version in each ceph-ansible branch's respective
requirements.txt.

For example, master will use ansible2.5 and stable-3.{1,2} will use ansible2.4.

The only reason the ansible version was in each scenario name was so it
could get passed to tox.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1081 from ceph/wip-sepia-unlock
Zack Cerza [Tue, 17 Jul 2018 20:41:23 +0000 (14:41 -0600)]
Merge pull request #1081 from ceph/wip-sepia-unlock

sepia-fog-images: Unpause queue and leave systems up

7 years agosepia-fog-images: Unpause queue and leave systems up 1081/head
David Galloway [Tue, 17 Jul 2018 20:32:53 +0000 (16:32 -0400)]
sepia-fog-images: Unpause queue and leave systems up

We don't need to mark the systems down.  If there's something wrong with
them, we'll find it during teuthology tests.

I also forgot to unpause the queue in the event of a job failure so I've
added that too.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1080 from ceph/wip-jessie-key
Alfredo Deza [Tue, 17 Jul 2018 15:59:25 +0000 (11:59 -0400)]
Merge pull request #1080 from ceph/wip-jessie-key

build_utils.sh: Use archive keyring for Jessie

7 years agobuild_utils.sh: Use archive keyring for Jessie 1080/head
David Galloway [Wed, 11 Jul 2018 15:35:43 +0000 (11:35 -0400)]
build_utils.sh: Use archive keyring for Jessie

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1079 from ceph/guits-fix_ceph-container_nightlies
Erwan Velu [Fri, 13 Jul 2018 15:26:44 +0000 (17:26 +0200)]
Merge pull request #1079 from ceph/guits-fix_ceph-container_nightlies

ceph-container: add a nightly flag

7 years agoceph-container: add a nightly flag 1079/head
Guillaume Abrioux [Fri, 13 Jul 2018 12:49:11 +0000 (14:49 +0200)]
ceph-container: add a nightly flag

In addition to
ceph/ceph-container@fa0a1483d59c5a30e99f379e12a24239f91e7980

Adding this environment variable allows tests/tox.sh in ceph/ceph-container to
know whether we are running in a nightly job.

This is needed because ceph-container project checks if some code has
been changed, if no, test is not run.
Since in nightlies job will always enter this condition we must have a
way to be aware if we are running a nightly so we can skip this test.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1078 from tchaikov/wip-no-sudo
Alfredo Deza [Thu, 12 Jul 2018 15:13:27 +0000 (11:13 -0400)]
Merge pull request #1078 from tchaikov/wip-no-sudo

build_utils: should not use "sudo" in pbuilder hook script

7 years agobuild_utils: should not use "sudo" in pbuilder hook script 1078/head
Kefu Chai [Thu, 12 Jul 2018 13:15:10 +0000 (21:15 +0800)]
build_utils: should not use "sudo" in pbuilder hook script

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1076 from tchaikov/wip-import-pub-key-without-hkp-server
Kefu Chai [Thu, 12 Jul 2018 03:29:10 +0000 (11:29 +0800)]
Merge pull request #1076 from tchaikov/wip-import-pub-key-without-hkp-server

build_utils: import ubuntu-toolchain-r's key without keyserver

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agobuild_utils: import ubuntu-toolchain-r's key without keyserver 1076/head
Kefu Chai [Mon, 9 Jul 2018 15:08:41 +0000 (23:08 +0800)]
build_utils: import ubuntu-toolchain-r's key without keyserver

we are running into following error recently

gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
gpgkeys: key 1E9377A2BA9EF27F can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver helper general error
gpg: keyserver communications error: unknown pubkey algorithm
gpg: keyserver receive failed: unknown pubkey algorithm

so use the local copy of the pubkey instead

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1073 from ceph/evelu-ccache2
Kefu Chai [Thu, 5 Jul 2018 06:58:56 +0000 (14:58 +0800)]
Merge pull request #1073 from ceph/evelu-ccache2

ceph-pull-requests: Simplifying run-make-check call

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-pull-requests: Simplifying run-make-check call 1073/head
Erwan Velu [Wed, 4 Jul 2018 07:59:56 +0000 (09:59 +0200)]
ceph-pull-requests: Simplifying run-make-check call

Once https://github.com/ceph/ceph/pull/22847 will be merged, this commit
will remove all the custom hacks from this script as they moved directly
in ./run-make-check.sh

7 years agoMerge pull request #1070 from ceph/return-0
Erwan Velu [Tue, 3 Jul 2018 12:53:12 +0000 (14:53 +0200)]
Merge pull request #1070 from ceph/return-0

ceph-ansible-pr-syntax-check: force return 0

7 years agoceph-ansible-pr-syntax-check: force return 0 1070/head
Sébastien Han [Tue, 3 Jul 2018 12:49:15 +0000 (14:49 +0200)]
ceph-ansible-pr-syntax-check: force return 0

If the test succeeds we return 0.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1069 from ceph/do-not-return
Erwan Velu [Tue, 3 Jul 2018 12:31:43 +0000 (14:31 +0200)]
Merge pull request #1069 from ceph/do-not-return

ceph-ansible-pr-syntax-check: return 1 only on failure

7 years agoceph-ansible-pr-syntax-check: return 1 only on failure 1069/head
Sébastien Han [Tue, 3 Jul 2018 12:12:12 +0000 (14:12 +0200)]
ceph-ansible-pr-syntax-check: return 1 only on failure

This was a leftover from an initial attempt with if combinaison. We now
return 1 only if the test line fails.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1068 from ceph/syntax-head-3
Erwan Velu [Tue, 3 Jul 2018 10:38:48 +0000 (12:38 +0200)]
Merge pull request #1068 from ceph/syntax-head-3

ceph-ansible-pr-syntax-check: remove merge commit from count

7 years agoceph-ansible-pr-syntax-check: remove merge commit from count 1068/head
Sébastien Han [Tue, 3 Jul 2018 10:18:30 +0000 (12:18 +0200)]
ceph-ansible-pr-syntax-check: remove merge commit from count

When counting the number of commit you must remove the merge commit so
we get the right number of commits.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1067 from ceph/syntax-head-2
Guillaume Abrioux [Tue, 3 Jul 2018 08:41:52 +0000 (10:41 +0200)]
Merge pull request #1067 from ceph/syntax-head-2

Syntax head 2

7 years agoceph-ansible-pr-syntax-check: use target branch to compare 1067/head
Sébastien Han [Tue, 3 Jul 2018 08:26:43 +0000 (10:26 +0200)]
ceph-ansible-pr-syntax-check: use target branch to compare

We must use the target branch as a reference when we try to find the
number of commits pushed.
We use 'ghprbTargetBranch' env variable, which comes  from jenkins's
injectedEnvVars.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoRevert "ceph-ansible-pr-syntax-check: use master instead of HEAD"
Sébastien Han [Tue, 3 Jul 2018 08:25:09 +0000 (10:25 +0200)]
Revert "ceph-ansible-pr-syntax-check: use master instead of HEAD"

This reverts commit 7c971b82771ef6766206b7ef0716a8705fdbe649.
Because this is the wrong fix, if you push a PR on a stable branch, the
comparaison will happen against master, we don't want that.

7 years agoMerge pull request #1066 from ceph/syntax-head
Guillaume Abrioux [Tue, 3 Jul 2018 07:40:07 +0000 (09:40 +0200)]
Merge pull request #1066 from ceph/syntax-head

ceph-ansible-pr-syntax-check: use master instead of HEAD

7 years agoceph-ansible-pr-syntax-check: use master instead of HEAD 1066/head
Sébastien Han [Tue, 3 Jul 2018 07:35:44 +0000 (09:35 +0200)]
ceph-ansible-pr-syntax-check: use master instead of HEAD

origin/HEAD does not exist so let's use origin/master instead. This
prevents the following error:

bad revision 'origin/HEAD'

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1065 from ceph/collect-ceph-volume-logs
Alfredo Deza [Mon, 2 Jul 2018 22:06:36 +0000 (18:06 -0400)]
Merge pull request #1065 from ceph/collect-ceph-volume-logs

scripts: collect all logs in /var/log/ceph on ansible failures

7 years agoscripts: collect all logs in /var/log/ceph on ansible failures 1065/head
Andrew Schoen [Mon, 2 Jul 2018 21:48:00 +0000 (16:48 -0500)]
scripts: collect all logs in /var/log/ceph on ansible failures

On the jobs that use ceph-ansible to test ceph logs are collected from
the vms on failure. However, if the cluster name was not ceph the find
command would fail to collect any ceph-volume logs.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #1064 from ceph/wip-no-ask
David Galloway [Mon, 2 Jul 2018 15:23:52 +0000 (11:23 -0400)]
Merge pull request #1064 from ceph/wip-no-ask

ceph-pull-requests: Automatically rebuild w/o asking params

7 years agoceph-pull-requests: Automatically rebuild w/o asking params 1064/head
David Galloway [Mon, 2 Jul 2018 14:53:20 +0000 (10:53 -0400)]
ceph-pull-requests: Automatically rebuild w/o asking params

This will carry over our custom sha1 variable when "Rebuild" is clicked.
Previously, it was possible to click "Rebuild," and leave the `sha1`
variable empty which caused every branch/PR to get built.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1063 from ceph/signof-pipeline
Erwan Velu [Mon, 2 Jul 2018 14:45:23 +0000 (16:45 +0200)]
Merge pull request #1063 from ceph/signof-pipeline

ceph-ansible-pr-syntax-check: add sign-off check

7 years agoceph-ansible-pr-syntax-check: add sign-off check 1063/head
Sébastien Han [Mon, 2 Jul 2018 14:02:35 +0000 (16:02 +0200)]
ceph-ansible-pr-syntax-check: add sign-off check

We now fail if the commits don't contain a Signed-off-by certificate.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1061 from joscollin/wip-cobertura-fail-fix
Dan Mick [Sat, 30 Jun 2018 01:30:28 +0000 (18:30 -0700)]
Merge pull request #1061 from joscollin/wip-cobertura-fail-fix

ceph-build/cobertura: set *auto-update to false

7 years agoceph-build/cobertura: set *auto-update to false 1061/head
Jos Collin [Sat, 30 Jun 2018 01:12:50 +0000 (06:42 +0530)]
ceph-build/cobertura: set *auto-update to false

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #1060 from ceph/wip-fix-pipeline
Sébastien Han [Fri, 29 Jun 2018 15:49:43 +0000 (17:49 +0200)]
Merge pull request #1060 from ceph/wip-fix-pipeline

ceph-ansible-pipeline: Fix stable-3.0 phase conditional steps

7 years agoceph-ansible-pipeline: Fix stable-3.0 phase conditional steps 1060/head
David Galloway [Fri, 29 Jun 2018 14:54:28 +0000 (10:54 -0400)]
ceph-ansible-pipeline: Fix stable-3.0 phase conditional steps

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1058 from ceph/evelu-cache
Kefu Chai [Fri, 29 Jun 2018 01:37:10 +0000 (09:37 +0800)]
Merge pull request #1058 from ceph/evelu-cache

ceph-pull-requests: Improving ccache efficiency

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-pull-requests: Improving ccache efficiency 1058/head
Erwan Velu [Thu, 28 Jun 2018 13:31:11 +0000 (15:31 +0200)]
ceph-pull-requests: Improving ccache efficiency

As of today, ccache is installed by run-make-check but the statistics
reports almost no cache it (<1%) and even worse, this is slowing down
the whole process. The needed time to setup the cache isn't compensated
by the reuse of the cache as every build is rebuilding the cache. This
is leading to a 10% loss of the compilation time.

So the question, is why does two consecutives builds doesn't reuse the
cache. Its usually a matter of variables introduces on each builds like
a sha1 or a __DATE__ or __TIME__ in a header.

As per
https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal, several
tools from the tool chain (like compilers or make tools) are able to use
theses variables to enforce a particular timestamp at build time.

This commit also add a "-D ENABLE_GIT_VERSION=OFF" to avoid having the
commit id in the ceph_ver.h header. Not having the git versioning inside
the CI job is not a by deal as the binaries will be destroyed after the
build procedure.

These changes avoid introducing small variations in the source code
which breaks the build cache (ccache). The expected result is to get a
80 or 90% cache hit between two very close builds.

Signed-off-by: Erwan Velu <erwan@redhat.com>
7 years agoMerge pull request #1042 from a2batic/test1
Jos Collin [Thu, 28 Jun 2018 11:15:48 +0000 (16:45 +0530)]
Merge pull request #1042 from a2batic/test1

mgr/dashboard: Adds unit test coverage report

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agomgr/dashboard: Adds unit test coverage report 1042/head
a2batic [Wed, 6 Jun 2018 19:40:40 +0000 (01:10 +0530)]
mgr/dashboard: Adds unit test coverage report
Enable plugin 'Cobertura' to generate code coverage report, for every PR for ceph-dashboard frontend unit test.
Cobertura jenkins plugin: https://wiki.jenkins.io/display/JENKINS/Cobertura+Plugin

Fixes: http://tracker.ceph.com/issues/24377
Signed-off-by: Kanika Murarka <kmurarka@redhat.com>
7 years agoMerge pull request #1057 from ceph/wip-arm-name
David Galloway [Wed, 27 Jun 2018 17:38:41 +0000 (13:38 -0400)]
Merge pull request #1057 from ceph/wip-arm-name

ceph-pull-requests-arm64: Normalize name to appease JJB

7 years agoceph-pull-requests-arm64: Normalize name to appease JJB 1057/head
David Galloway [Wed, 27 Jun 2018 14:50:23 +0000 (10:50 -0400)]
ceph-pull-requests-arm64: Normalize name to appease JJB

Not sure why '!!python/unicode' was there originally but the current
version of JJB doesn't like it.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1055 from ceph/wip-ansible-nostable
Sébastien Han [Tue, 26 Jun 2018 14:40:32 +0000 (16:40 +0200)]
Merge pull request #1055 from ceph/wip-ansible-nostable

ceph-ansible-pipeline: Skip *lvm* scenarios if merging into stable-3.0

7 years agoceph-ansible-pipeline: Skip *lvm* scenarios if merging into stable-3.0 1055/head
David Galloway [Tue, 26 Jun 2018 14:24:08 +0000 (10:24 -0400)]
ceph-ansible-pipeline: Skip *lvm* scenarios if merging into stable-3.0

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1054 from ceph/wip-ansible-condition
Sébastien Han [Mon, 25 Jun 2018 16:41:39 +0000 (18:41 +0200)]
Merge pull request #1054 from ceph/wip-ansible-condition

ceph-ansible-pipeline: Only run next phase on SUCCESS

7 years agoceph-ansible-pipeline: Only run next phase on SUCCESS 1054/head
David Galloway [Mon, 25 Jun 2018 16:17:13 +0000 (12:17 -0400)]
ceph-ansible-pipeline: Only run next phase on SUCCESS

I think I misunderstood the jjb syntax before.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1053 from ceph/group-vars-fix
Guillaume Abrioux [Mon, 25 Jun 2018 16:17:44 +0000 (18:17 +0200)]
Merge pull request #1053 from ceph/group-vars-fix

ceph-ansible-pr-syntax-check: fix grep error

7 years agoceph-ansible-pr-syntax-check: fix grep error 1053/head
Sébastien Han [Mon, 25 Jun 2018 16:12:05 +0000 (18:12 +0200)]
ceph-ansible-pr-syntax-check: fix grep error

If grep fails the script exits because of the set -e so let's use ||
true to workaround that issue.

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1052 from ceph/group-vars
Guillaume Abrioux [Mon, 25 Jun 2018 14:45:37 +0000 (16:45 +0200)]
Merge pull request #1052 from ceph/group-vars

ceph-ansible-pr-syntax-check: add group_vars check

7 years agoceph-ansible-pr-syntax-check: add group_vars check 1052/head
Sébastien Han [Mon, 25 Jun 2018 09:09:19 +0000 (11:09 +0200)]
ceph-ansible-pr-syntax-check: add group_vars check

This commit does 2 things:

* split the structure of the script to use functions
* add a function to test if group_vars weren't generated

Signed-off-by: Sébastien Han <seb@redhat.com>
7 years agoMerge pull request #1050 from ceph/guits_update_ceph-ansible_nightlies
Andrew Schoen [Wed, 20 Jun 2018 15:56:40 +0000 (15:56 +0000)]
Merge pull request #1050 from ceph/guits_update_ceph-ansible_nightlies

ceph-ansible: update nightlies definition

7 years agoceph-ansible: update nightlies definition 1050/head
Guillaume Abrioux [Tue, 19 Jun 2018 11:26:25 +0000 (13:26 +0200)]
ceph-ansible: update nightlies definition

- remove testing of stable-2.2 against ceph jewel
- add testing of stable-3.1 against luminous
- update testing of stable-3.0 against luminous:
  - remove lvm scenarios

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1051 from ceph/guits-change_osd_bs_project_ceph-ansible
David Galloway [Wed, 20 Jun 2018 13:43:53 +0000 (09:43 -0400)]
Merge pull request #1051 from ceph/guits-change_osd_bs_project_ceph-ansible

ceph-ansible: move bluestore_osds_container in ceph-ansible-prs-auto

7 years agoceph-ansible: move bluestore_osds_container in ceph-ansible-prs-auto 1051/head
Guillaume Abrioux [Wed, 20 Jun 2018 13:11:51 +0000 (15:11 +0200)]
ceph-ansible: move bluestore_osds_container in ceph-ansible-prs-auto

we are seeing this scenario failing because of the race condition,
moving it to a project which requires smithi nodes should help.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1049 from ceph/rm-ceph-disk-master
Alfredo Deza [Tue, 19 Jun 2018 22:34:03 +0000 (18:34 -0400)]
Merge pull request #1049 from ceph/rm-ceph-disk-master

ceph-volume-nightly: remove master from simple, ceph-disk no longer available

7 years agoceph-volume-nightly: remove master from simple, ceph-disk no longer available 1049/head
Alfredo Deza [Tue, 19 Jun 2018 22:31:13 +0000 (18:31 -0400)]
ceph-volume-nightly: remove master from simple, ceph-disk no longer available

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1048 from ceph/ceph-deploy-distros
Alfredo Deza [Tue, 19 Jun 2018 18:38:48 +0000 (14:38 -0400)]
Merge pull request #1048 from ceph/ceph-deploy-distros

ceph-deploy-build: remove centos6

7 years agoceph-deploy-build: remove centos6 1048/head
Alfredo Deza [Tue, 19 Jun 2018 17:59:22 +0000 (13:59 -0400)]
ceph-deploy-build: remove centos6

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #1047 from ceph/wip-allow-all
Guillaume Abrioux [Mon, 18 Jun 2018 15:54:28 +0000 (17:54 +0200)]
Merge pull request #1047 from ceph/wip-allow-all

ceph-ansible-*: permit-all to prevent github comment flood

7 years agoceph-ansible-*: permit-all to prevent github comment flood 1047/head
David Galloway [Mon, 18 Jun 2018 15:50:40 +0000 (11:50 -0400)]
ceph-ansible-*: permit-all to prevent github comment flood

See https://github.com/jenkinsci/ghprb-plugin/issues/608

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1046 from ceph/guits-revert_80f02250028c
Sébastien Han [Mon, 18 Jun 2018 12:18:30 +0000 (08:18 -0400)]
Merge pull request #1046 from ceph/guits-revert_80f02250028c

Revert "ceph-ansible-prs: run 'auto' scenarios on smithi or ovh"

7 years agoRevert "ceph-ansible-prs: run 'auto' scenarios on smithi or ovh" 1046/head
Guillaume Abrioux [Fri, 15 Jun 2018 21:13:13 +0000 (23:13 +0200)]
Revert "ceph-ansible-prs: run 'auto' scenarios on smithi or ovh"

This reverts commit 80f02250028ce5daae6eed3717787732d06302d1.

7 years agoMerge pull request #1045 from ceph/wip-ansible-pipeline3
David Galloway [Fri, 15 Jun 2018 18:46:30 +0000 (14:46 -0400)]
Merge pull request #1045 from ceph/wip-ansible-pipeline3

ceph-ansible-pipeline: Implement additional phases

7 years agoceph-ansible-pipeline: Implement additional phases 1045/head
David Galloway [Thu, 14 Jun 2018 20:26:00 +0000 (16:26 -0400)]
ceph-ansible-pipeline: Implement additional phases

1) Docs and yaml linter (always)
2) Check each infrastructure playbook and run if modified
3) centos7 and docker clusters
4) All other scenarios if basic cluster tests pass

Phases 3 and 4 will NOT be run if infrastructure-playbooks were
modified.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1044 from ceph/wip-ansible-pipeline
David Galloway [Sun, 10 Jun 2018 23:54:27 +0000 (19:54 -0400)]
Merge pull request #1044 from ceph/wip-ansible-pipeline

Implement ceph-ansible pipeline

7 years agoLet ceph-ansible-pipeline trigger ceph-ansible-* jobs 1044/head
David Galloway [Fri, 1 Jun 2018 17:52:55 +0000 (13:52 -0400)]
Let ceph-ansible-pipeline trigger ceph-ansible-* jobs

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoAdd ceph-ansible master multijob
David Galloway [Fri, 1 Jun 2018 14:19:45 +0000 (10:19 -0400)]
Add ceph-ansible master multijob

This job will trigger docs, syntax check, and if they pass, then the
actual ceph-ansible jobs will run.

The ceph-ansible-prs-auto project has to move to this job config in order for
the pipeline to start the appropriate jobs for PRs.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1043 from ceph/guits-run_ceph-ansible_prs_ovh-smithi
Sébastien Han [Fri, 8 Jun 2018 08:57:36 +0000 (16:57 +0800)]
Merge pull request #1043 from ceph/guits-run_ceph-ansible_prs_ovh-smithi

ceph-ansible-prs: run 'auto' scenarios on smithi or ovh

7 years agoceph-ansible-prs: run 'auto' scenarios on smithi or ovh 1043/head
Guillaume Abrioux [Thu, 7 Jun 2018 08:30:40 +0000 (10:30 +0200)]
ceph-ansible-prs: run 'auto' scenarios on smithi or ovh

This is slowing down CI testing because we can't run more than 1 or 2
PRs at a time. Since I'm not sure if it's still worth to limit these
scenarios to be run only on smithi node, let's try to temporary remove
this limitation.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
7 years agoMerge pull request #1038 from ceph/wip-no-docs
David Galloway [Thu, 7 Jun 2018 15:31:58 +0000 (11:31 -0400)]
Merge pull request #1038 from ceph/wip-no-docs

ceph-ansible-prs: Don't run auto job if only docs were modified

7 years agoceph-ansible-prs: Don't run auto job if only docs were modified 1038/head
David Galloway [Fri, 1 Jun 2018 21:13:42 +0000 (17:13 -0400)]
ceph-ansible-prs: Don't run auto job if only docs were modified

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #1041 from tchaikov/wip-build_utils.sh-cleanup
Kefu Chai [Wed, 6 Jun 2018 14:59:53 +0000 (22:59 +0800)]
Merge pull request #1041 from tchaikov/wip-build_utils.sh-cleanup

build_utils.sh: do not try to check non-existent file's size

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agobuild_utils.sh: do not try to check non-existent file's size 1041/head
Kefu Chai [Wed, 6 Jun 2018 04:37:11 +0000 (12:37 +0800)]
build_utils.sh: do not try to check non-existent file's size

it's distracting to read the red alert in jenkins' log like

du: cannot access '/srv/debian-base/xenial.tgz': No such file or
directory

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1040 from ceph/ceph-ansible-prs-dev
Alfredo Deza [Tue, 5 Jun 2018 15:29:23 +0000 (11:29 -0400)]
Merge pull request #1040 from ceph/ceph-ansible-prs-dev

build_utils: when running dev-* scenarios set release to nautilus

7 years agoceph-build-pull-requests: pin urllib3 to 1.22 1040/head
Andrew Schoen [Tue, 5 Jun 2018 14:47:13 +0000 (09:47 -0500)]
ceph-build-pull-requests: pin urllib3 to 1.22

We need to do this because jenkins-job-builder installs requests, and if
we don't pin here a version of urllib3 is installed that is incompatible
with the version of requests that jenkins-job-builder requires which is
urllib3<1.23,>=1.21.1

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agobuild_utils: when running dev-* scenarios set release to nautilus
Andrew Schoen [Tue, 5 Jun 2018 13:54:29 +0000 (08:54 -0500)]
build_utils: when running dev-* scenarios set release to nautilus

When running dev-* tests for ceph-ansible PRs we were setting
CEPH_STABLE_RELEASE to 'dev' which is not an actual release and our
functional tests break because of that.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #1039 from ceph/ceph-ansible-prs-dev
Andrew Schoen [Mon, 4 Jun 2018 19:48:56 +0000 (19:48 +0000)]
Merge pull request #1039 from ceph/ceph-ansible-prs-dev

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

7 years agoceph-ansible-prs: adds the dev-ansible2.4-centos7_cluster scenario 1039/head
Andrew Schoen [Mon, 4 Jun 2018 19:15:44 +0000 (14:15 -0500)]
ceph-ansible-prs: adds the dev-ansible2.4-centos7_cluster scenario

This will allow us to test dev installs with a large cluster and many
node types.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #1037 from ceph/guits-followup_1036
Erwan Velu [Fri, 1 Jun 2018 08:10:45 +0000 (10:10 +0200)]
Merge pull request #1037 from ceph/guits-followup_1036

ceph-ansible: followup on #1036