]>
git.apps.os.sepia.ceph.com Git - ceph-build.git/log
Alfredo Deza [Fri, 24 Aug 2018 18:27:41 +0000 (14:27 -0400)]
Merge pull request #1110 from ceph/wip-target-branch
ceph-volume-ansible-prs: require ghprbTargetBranch when manually triggering
Alfredo Deza [Fri, 24 Aug 2018 18:18:55 +0000 (14:18 -0400)]
ceph-volume-ansible-prs: require ghprbTargetBranch when manually triggering
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Patrick Donnelly [Fri, 24 Aug 2018 16:56:05 +0000 (09:56 -0700)]
Merge pull request #1109 from ajarr/nfs-ganesha-lttng
nfs-ganesha: build with LTTNG
Ramana Raja [Fri, 24 Aug 2018 13:31:42 +0000 (19:01 +0530)]
nfs-ganesha: for shaman, build with LTTNG
... and install required LTTNG libraries
Signed-off-by: Ramana Raja <rraja@redhat.com>
Alfredo Deza [Fri, 24 Aug 2018 13:16:38 +0000 (09:16 -0400)]
Merge pull request #1108 from ceph/ceph-volume-tests
ceph-volume: deploy the target branch, not the source branch
Andrew Schoen [Fri, 24 Aug 2018 12:54:46 +0000 (08:54 -0400)]
ceph-volume-ansible-prs: disable centos7 tests
We're having infrastructure issues with OVH and the centos7 vagrant
vm kernel panics after booting. Disabling these for now until the issue
can be resolved.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 22 Aug 2018 19:38:47 +0000 (15:38 -0400)]
ceph-volume-ansible-prs: deploy the target branch, not the source branch
We're going to start deploying the target branch, the branch we're
merging PRs into, instead of the source branch. This way we don't have to
wait on packages as we can assume there is somethign already available
for the target branch. The ceph-volume code we're testing will be
rsynced to the testing nodes from the source branch.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Fri, 24 Aug 2018 11:21:35 +0000 (13:21 +0200)]
Merge pull request #1107 from ceph/wip-no-ovh
ceph-ansible: Run all tests on smithi
David Galloway [Thu, 23 Aug 2018 18:46:05 +0000 (14:46 -0400)]
ceph-ansible: Run all tests on smithi
OVH nodes cause vagrant boxes to kernel panic
Signed-off-by: David Galloway <dgallowa@redhat.com>
Erwan Velu [Wed, 22 Aug 2018 11:26:45 +0000 (13:26 +0200)]
Merge pull request #1104 from ceph/ceph-release
Ceph release
Sébastien Han [Wed, 22 Aug 2018 09:30:53 +0000 (11:30 +0200)]
ceph-ansible-pr-syntax-chec: add test_ceph_release_in_ceph_default
function
This new function searches for statements like ' -
ceph_release_num[ceph_release] ' in the ceph-defaults role. These must
never be used since the ceph_release is set by role running after
ceph-defaults.
However, the ceph-ansible ci passes this variable when running so it's
always defined, even before ceph-defaults runs. This is particularity
from our CI. So this is done, our Ci won't complain but general users
will end with an error like "'dict object' has no attribute" since the
variable does not exist at the time of the ceph-defaults play.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Wed, 22 Aug 2018 09:29:11 +0000 (11:29 +0200)]
ceph-ansible-pr-syntax-chec: use the two new functions
The code now uses git_diff_to_head and match_file functions.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Wed, 22 Aug 2018 09:25:52 +0000 (11:25 +0200)]
ceph-ansible-pr-syntax-check: add two functions to search files
Adding 2 new functions:
* git_diff_to_head which prints the diff for the current new code
* match_file which searches and print a particular file that was
modified by the current code.
Signed-off-by: Sébastien Han <seb@redhat.com>
David Galloway [Tue, 21 Aug 2018 11:54:18 +0000 (07:54 -0400)]
Merge pull request #1102 from ceph/pipeline-osd
ceph-ansible-pipeline: reduce pipeline workload
Sébastien Han [Mon, 20 Aug 2018 10:40:15 +0000 (12:40 +0200)]
ceph-ansible-pipeline: reduce pipeline workload
We now play the OSD scenarios only when
roles/ceph-defaults/tasks/facts.yml|roles/ceph-osd|ceph-validate are
touched.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Mon, 20 Aug 2018 08:45:40 +0000 (10:45 +0200)]
Merge pull request #1101 from ceph/ceph-ansible-pr-syntax-check-version
ceph-ansible-pr-syntax-check: use latest ansible version
Sébastien Han [Mon, 20 Aug 2018 08:39:21 +0000 (10:39 +0200)]
ceph-ansible-pr-syntax-check: use latest ansible version
There is no reason to pin to an old ansible version. Since this is doing
syntax checking we should have the latest Ansible version to compare
against our latest ceph-ansible code.
Signed-off-by: Sébastien Han <seb@redhat.com>
Andrew Schoen [Fri, 17 Aug 2018 19:53:52 +0000 (19:53 +0000)]
Merge pull request #1100 from ceph/cv-batch-nightly
ceph-volume-nightly add batch tests for master
Alfredo Deza [Wed, 15 Aug 2018 11:29:00 +0000 (07:29 -0400)]
ceph-volume-nightly add batch tests for master
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Erwan Velu [Tue, 14 Aug 2018 14:09:31 +0000 (16:09 +0200)]
Merge pull request #1099 from ceph/capital-letters-additions-only
ceph-ansible-pr-syntax-check: do not check for removed lines
Sébastien Han [Mon, 13 Aug 2018 16:36:09 +0000 (18:36 +0200)]
ceph-ansible-pr-syntax-check: do not check for removed lines
The git show was returning - and + lines, we only want to check for
lines that were added not removed.
Signed-off-by: Sébastien Han <seb@redhat.com>
Alfredo Deza [Mon, 13 Aug 2018 14:27:05 +0000 (10:27 -0400)]
Merge pull request #1098 from ceph/wip-cv-batch-underscores
ceph-volume-ansible-prs: use underscores for scenarios
Alfredo Deza [Mon, 13 Aug 2018 12:51:56 +0000 (08:51 -0400)]
ceph-volume-ansible-prs: use underscores for scenarios
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sébastien Han [Mon, 13 Aug 2018 12:56:24 +0000 (14:56 +0200)]
Merge pull request #1097 from ceph/capital-letters
ceph-ansible-pr-syntax-check: add cbheck for coding convention
Sébastien Han [Mon, 13 Aug 2018 12:34:52 +0000 (14:34 +0200)]
ceph-ansible-pr-syntax-check: add cbheck for coding convention
One of our convention in ceph-ansible is to not use capital letters in
task's name. So let's hardcode it in the initial phase of the pipeline.
ALso, this will let user discover what's wrong without us doing the
review and finding the problem.
Signed-off-by: Sébastien Han <seb@redhat.com>
Andrew Schoen [Thu, 9 Aug 2018 15:23:26 +0000 (15:23 +0000)]
Merge pull request #1095 from ceph/wip-cv-batch
ceph-volume-ansible-prs: support batch scenarios
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>
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
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>
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
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>
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
Jason Dillaman [Tue, 24 Jul 2018 19:06:19 +0000 (15:06 -0400)]
Merge branch 'master' into wip-ceph-iscsi-cli-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
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>
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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>
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>
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>
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
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
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>
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
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>
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
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>
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
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>
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.
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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>
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>
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>
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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
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>
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