]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
4 years agoMerge pull request #1715 from tchaikov/wip-debian-profiles
David Galloway [Mon, 7 Dec 2020 17:26:45 +0000 (12:26 -0500)]
Merge pull request #1715 from tchaikov/wip-debian-profiles

ceph-*build: pass --profiles nocheck to pbuilder

4 years agoMerge pull request #1718 from ceph/fix-brach-api
David Galloway [Mon, 7 Dec 2020 17:26:07 +0000 (12:26 -0500)]
Merge pull request #1718 from ceph/fix-brach-api

ceph-{api,dashboard}-pr: fix source branch ref

4 years agoceph-{api,dashboard}-pr: fix source branch ref 1718/head
Ernesto Puerta [Fri, 4 Dec 2020 17:32:41 +0000 (18:32 +0100)]
ceph-{api,dashboard}-pr: fix source branch ref

Applying same change as already applied by
https://github.com/ceph/ceph-build/pull/1426. A divergence has been
observed between `make check` job (ceph-pull-request) and the `make` in
ceph-pr-api job. For the same PR:

* ceph-pull-request `make check` passes
* ceph-pr-api `make` fails

This fix has been suggested by @sebastian-philipp

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #1717 from ceph/wip-stopit-apt
David Galloway [Thu, 3 Dec 2020 21:24:36 +0000 (16:24 -0500)]
Merge pull request #1717 from ceph/wip-stopit-apt

ansible: Disable daily apt transaction on Ephemeral slaves

4 years agoansible: Disable daily apt transaction on Ephemeral slaves 1717/head
David Galloway [Thu, 3 Dec 2020 19:42:39 +0000 (14:42 -0500)]
ansible: Disable daily apt transaction on Ephemeral slaves

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoscripts/build_utils.sh: pass --profiles nocheck to pbuilder 1715/head
Kefu Chai [Wed, 2 Dec 2020 09:22:49 +0000 (17:22 +0800)]
scripts/build_utils.sh: pass --profiles nocheck to pbuilder

so we can do profile-based build on debian derivative distros.

"nocheck" is one of the registered profile names. be specifying
"nocheck", we can reduce the build depends required by building Ceph
once the related Build-Depends in debian/control are marked with "nocheck".

see https://wiki.debian.org/BuildProfileSpec

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-*build: extract build_deb into scripts/build_utils.sh
Kefu Chai [Wed, 2 Dec 2020 09:18:43 +0000 (17:18 +0800)]
ceph-*build: extract build_deb into scripts/build_utils.sh

so we can modify them in a single place

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-build: define chacra_url in 'setup_deb'
Kefu Chai [Wed, 2 Dec 2020 09:07:41 +0000 (17:07 +0800)]
ceph-build: define chacra_url in 'setup_deb'

and use this variable in build_deb. this change pave the road to a
consolidated build_deb file which can be shared by all ceph*-build jobs

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #1714 from ceph/fix_teardown
Dimitri Savineau [Fri, 27 Nov 2020 15:34:30 +0000 (10:34 -0500)]
Merge pull request #1714 from ceph/fix_teardown

ceph-ansible: fix teardown

4 years agoceph-ansible: only exclude non_container-update 1714/head
Guillaume Abrioux [Fri, 27 Nov 2020 15:30:37 +0000 (16:30 +0100)]
ceph-ansible: only exclude non_container-update

c83cd218b3a6fd387b5de2a0e9380c3fb3a26a3c excludes both `container` and
`non_container` jobs.

Only `non_container` should be excluded

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
4 years agoceph-ansible: fix teardown
Guillaume Abrioux [Fri, 27 Nov 2020 15:24:13 +0000 (16:24 +0100)]
ceph-ansible: fix teardown

If this playbook fails for some reason, it interrupts the teardown so
VMs aren't destroyed.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
4 years agoMerge pull request #1713 from ceph/ca_disable_update_5.0
Guillaume Abrioux [Fri, 27 Nov 2020 13:55:30 +0000 (14:55 +0100)]
Merge pull request #1713 from ceph/ca_disable_update_5.0

ceph-ansible: disable update scenario on octopus

4 years agoceph-ansible: disable update scenario on octopus 1713/head
Guillaume Abrioux [Fri, 27 Nov 2020 13:49:48 +0000 (14:49 +0100)]
ceph-ansible: disable update scenario on octopus

`ceph-volume simple scan` in octopus is broken and make the upgrade
testing scenario failing.
Until 15.2.8 is out, which will be the next release including the fix
for this. We can't make this scenario passing the CI.
Let's disable it temporarily.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
4 years agoMerge pull request #1712 from ceph/wip-insecure
Yuri Weinstein [Wed, 25 Nov 2020 17:22:22 +0000 (09:22 -0800)]
Merge pull request #1712 from ceph/wip-insecure

build_utils: curl docker-mirror insecurely

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
4 years agobuild_utils: curl docker-mirror insecurely wip-insecure 1712/head
David Galloway [Wed, 25 Nov 2020 16:13:55 +0000 (11:13 -0500)]
build_utils: curl docker-mirror insecurely

I had initially planned on installing the self-signed cert globally but that was not advised.  See https://github.com/ceph/ceph-build/pull/1698#issuecomment-725840305

So we should curl insecurely.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1711 from ceph/guits-cv_ca
Dimitri Savineau [Mon, 23 Nov 2020 16:48:14 +0000 (11:48 -0500)]
Merge pull request #1711 from ceph/guits-cv_ca

ceph-volume: set CEPH_ANSIBLE_BRANCH properly

4 years agoceph-volume: set CEPH_ANSIBLE_BRANCH properly 1711/head
Guillaume Abrioux [Mon, 23 Nov 2020 16:45:05 +0000 (17:45 +0100)]
ceph-volume: set CEPH_ANSIBLE_BRANCH properly

At the moment it's using ceph-ansible@master to deploy octopus and
nautilus which is wrong.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
4 years agoMerge pull request #1710 from ceph/guits-fix_cv_nautilus_pr
Dimitri Savineau [Mon, 23 Nov 2020 16:24:02 +0000 (11:24 -0500)]
Merge pull request #1710 from ceph/guits-fix_cv_nautilus_pr

ceph-volume: fix nautilus PRs job

4 years agoceph-volume: fix nautilus PRs job 1710/head
Guillaume Abrioux [Mon, 23 Nov 2020 16:06:34 +0000 (17:06 +0100)]
ceph-volume: fix nautilus PRs job

ceph-volume PRs against nautilus are failing for a while because it
tries to run against centos8 while the tox environment only defines
centos7 environments.

Let's enforce `DISTRO` environment variable when `ghprbTargetBranch` is
`nautilus` so we override the environment variable injected by Jenkins.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
4 years agoMerge pull request #1692 from ceph/jan--f-patch-1
Guillaume Abrioux [Tue, 17 Nov 2020 13:08:21 +0000 (14:08 +0100)]
Merge pull request #1692 from ceph/jan--f-patch-1

ceph-volume-nightly: Drop mimic from nightlies

4 years agoMerge pull request #1708 from tchaikov/wip-revert-skip-when-not-needed
Kefu Chai [Tue, 17 Nov 2020 09:59:14 +0000 (17:59 +0800)]
Merge pull request #1708 from tchaikov/wip-revert-skip-when-not-needed

ceph-pr,api-pr: Revert" skip when not needed"

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoceph-pr,api-pr: Revert" skip when not needed" 1708/head
Kefu Chai [Tue, 17 Nov 2020 03:48:35 +0000 (11:48 +0800)]
ceph-pr,api-pr: Revert" skip when not needed"

This reverts commit ae9a52ba2faa0b7faf0b9e0c6d3fd289cdd576ea.

4 years agoMerge pull request #1593 from tchaikov/wip-enable-javapackages-tools
Kefu Chai [Mon, 16 Nov 2020 08:00:26 +0000 (16:00 +0800)]
Merge pull request #1593 from tchaikov/wip-enable-javapackages-tools

script/build_utils: enable javapackages-tools for building java binding

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoscript/build_utils: enable javapackages-tools for building java binding 1593/head
Kefu Chai [Mon, 16 Nov 2020 07:50:40 +0000 (15:50 +0800)]
script/build_utils: enable javapackages-tools for building java binding

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #1706 from ceph/wip-sepia-create
adam kraitman [Sun, 15 Nov 2020 12:35:45 +0000 (14:35 +0200)]
Merge pull request #1706 from ceph/wip-sepia-create

sepia-fog-images: Create FOG image template if missing

4 years agoMerge pull request #1705 from ceph/wip-exclude_region-master
Kefu Chai [Sat, 14 Nov 2020 09:15:57 +0000 (17:15 +0800)]
Merge pull request #1705 from ceph/wip-exclude_region-master

ceph-pr,api-pr: skip when not needed

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agosepia-fog-images: Create FOG image template if missing 1706/head
David Galloway [Fri, 13 Nov 2020 22:14:30 +0000 (17:14 -0500)]
sepia-fog-images: Create FOG image template if missing

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoceph-pr,api-pr: skip when not needed 1705/head
Ernesto Puerta [Fri, 13 Nov 2020 19:14:44 +0000 (20:14 +0100)]
ceph-pr,api-pr: skip when not needed

Skip running make-check and ceph-api tests when the PR only contains
changes in certain dirs (doc/, .github/) or certain extensions (.rst,
.md, .txt). In any case, a Jenkins job can still be manually triggered
(`jenkins test...`).

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #1704 from neha-ojha/wip-fix-48162
Neha Ojha [Thu, 12 Nov 2020 21:04:42 +0000 (13:04 -0800)]
Merge pull request #1704 from neha-ojha/wip-fix-48162

scripts/build_utils.sh: use correct DIST value for el7

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
4 years agoscripts/build_utils.sh: use correct DIST value for el7 1704/head
Neha Ojha [Thu, 12 Nov 2020 20:46:43 +0000 (20:46 +0000)]
scripts/build_utils.sh: use correct DIST value for el7

Fixes a3f26c8ab781a5ffe54aedf45be9e373bede4d6c, which ended up
comparing [[ el7 == centos7 ]].

Follow-on fix for: https://tracker.ceph.com/issues/48162
Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #1702 from ceph/ceph_container_inject_docker_credentials
Dimitri Savineau [Thu, 12 Nov 2020 17:51:09 +0000 (12:51 -0500)]
Merge pull request #1702 from ceph/ceph_container_inject_docker_credentials

ceph-container: inject registry credentials

4 years agoceph-container: inject registry credentials 1702/head
Dimitri Savineau [Thu, 12 Nov 2020 17:13:00 +0000 (12:13 -0500)]
ceph-container: inject registry credentials

To avoid docker hub rate limit, we should use the authenticate docker
hub user like we're currently using in the build and publish jobs.
This adds the credentials for both ceph-container-prs and
ceph-container-nightly jobs.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
4 years agoMerge pull request #1698 from ceph/wip-dockercerts
David Galloway [Thu, 12 Nov 2020 17:15:54 +0000 (12:15 -0500)]
Merge pull request #1698 from ceph/wip-dockercerts

Use internal docker registry mirror

4 years agoMerge pull request #1701 from ceph/wip-disable-leap15-on-nautilus
David Galloway [Thu, 12 Nov 2020 17:02:26 +0000 (12:02 -0500)]
Merge pull request #1701 from ceph/wip-disable-leap15-on-nautilus

ceph-dev-new-trigger: disable leap15 for nautilus

4 years agoansible: Install docker/podman and docker-mirror TLS cert 1698/head
David Galloway [Wed, 11 Nov 2020 23:40:06 +0000 (18:40 -0500)]
ansible: Install docker/podman and docker-mirror TLS cert

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoceph-dev*build: Pull centos images from our registry mirror
David Galloway [Wed, 11 Nov 2020 19:35:17 +0000 (14:35 -0500)]
ceph-dev*build: Pull centos images from our registry mirror

Since docker started rate limiting on Nov2, we've often seen errors that we hit our `pull` limit.  This should greatly reduce the number of times we're going to docker.io.  Only ephemeral builders would pull from docker.io once this is merged and those builders' IP changes when they're spun up.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1700 from tchaikov/wip-48162
Kefu Chai [Thu, 12 Nov 2020 14:37:17 +0000 (22:37 +0800)]
Merge pull request #1700 from tchaikov/wip-48162

ceph-dev-*-build: reset CI_CONTAINER when building octopus for el7

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
4 years agoceph-dev-new-trigger: disable leap15 for nautilus 1701/head
Kyr Shatskyy [Thu, 12 Nov 2020 14:29:23 +0000 (15:29 +0100)]
ceph-dev-new-trigger: disable leap15 for nautilus

We do not need for now opensuse-15.1 builds, since
support of it is limited.

The current version of Leap is 15.2 and the 15.1
is going to be EOL, thus we are not going to spend
resources on it.

We can disable it back if required in future.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
4 years agoceph-dev-*-build: reset CI_CONTAINER when building octopus for el7 1700/head
Kefu Chai [Thu, 2 Jul 2020 13:29:15 +0000 (21:29 +0800)]
ceph-dev-*-build: reset CI_CONTAINER when building octopus for el7

because the consumers of ceph container images are referencing the
required images using
"${CONTAINER_REPO_HOSTNAME}/${CONTAINER_REPO_ORGANIZATION}/ceph:${SHA1}".
see ceph-container/contrib/build-push-ceph-container-imgs.sh.

but in a recent change, we push both the images built for el7 and for
el8 with the same tag. and the last one wins. this breaks the tests
which expect the cephadm and other tools included in an image built for
el8. but these tools are not included by el7 because of the missing
dependencies.

so we have at least two options

- stop building octopus+el7 container images
- use a different tag for octopus+el7 to avoid the racing and name collision.

before the 2nd change lands on ceph-container, we should have the 1st
one in ceph-build to unblock the builds of octopus.

Fixes: https://tracker.ceph.com/issues/48162
Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #1695 from ceph/wip-osc-build-root-typo
David Galloway [Fri, 6 Nov 2020 18:02:43 +0000 (13:02 -0500)]
Merge pull request #1695 from ceph/wip-osc-build-root-typo

ansible: fix osc build-root typo for opensuse worker

4 years agoansible: fix osc build-root typo for opensuse worker 1695/head
Kyr Shatskyy [Fri, 6 Nov 2020 16:46:52 +0000 (17:46 +0100)]
ansible: fix osc build-root typo for opensuse worker

Fixes: https://tracker.ceph.com/issues/48141
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
4 years agoMerge pull request #1685 from ceph/wip-change-osc-builroot
David Galloway [Thu, 5 Nov 2020 14:42:42 +0000 (09:42 -0500)]
Merge pull request #1685 from ceph/wip-change-osc-builroot

ceph-dev-build: Change build path for Leap builds

4 years agoMerge pull request #1694 from tchaikov/wip-seastar-allocator
Kefu Chai [Wed, 4 Nov 2020 07:24:02 +0000 (15:24 +0800)]
Merge pull request #1694 from tchaikov/wip-seastar-allocator

ceph-*-setup: use default allocator for crimson flavor

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoceph-dev-build: Change build path for Leap builds 1685/head
David Galloway [Thu, 15 Oct 2020 17:43:44 +0000 (13:43 -0400)]
ceph-dev-build: Change build path for Leap builds

Previously, packages were being written to `/var/tmp` which does not live on the intended 1TB SSD.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoceph-*-setup: use default allocator for crimson flavor 1694/head
Kefu Chai [Thu, 29 Oct 2020 09:00:06 +0000 (17:00 +0800)]
ceph-*-setup: use default allocator for crimson flavor

since we've merged https://github.com/ceph/ceph/pull/37887

This reverts commit 3aa35a92b466212c0c3c715781a8aab8a5e0136c.

4 years agoMerge pull request #1628 from tchaikov/wip-images-with-flavors
David Galloway [Wed, 28 Oct 2020 14:39:33 +0000 (10:39 -0400)]
Merge pull request #1628 from tchaikov/wip-images-with-flavors

ceph-*-build: pass CONTAINER_FLAVOR to build-push-ceph-container-imgs.sh

4 years agoRevert "ceph-dev-*-build: reset CI_CONTAINER when building nautilus" 1628/head
Kefu Chai [Tue, 21 Jul 2020 03:27:31 +0000 (11:27 +0800)]
Revert "ceph-dev-*-build: reset CI_CONTAINER when building nautilus"

This reverts commit d86ed63576a7dcc213c211b7678da2af6b6de108.

if we are able to build container images for nautilus on centos7 and
centos8, there is no need to skip this step.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-*-build: pass CONTAINER_FLAVOR to build-push-ceph-container-imgs.sh
Kefu Chai [Tue, 21 Jul 2020 03:17:48 +0000 (11:17 +0800)]
ceph-*-build: pass CONTAINER_FLAVOR to build-push-ceph-container-imgs.sh

so we can specify the distro and its version

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #1693 from ceph/ceph_container_flake8_selinux
Dimitri Savineau [Tue, 27 Oct 2020 20:55:01 +0000 (16:55 -0400)]
Merge pull request #1693 from ceph/ceph_container_flake8_selinux

ceph-container-flake8: add selinux flag to volume

4 years agoceph-container-flake8: add selinux flag to volume 1693/head
Dimitri Savineau [Tue, 27 Oct 2020 19:30:01 +0000 (15:30 -0400)]
ceph-container-flake8: add selinux flag to volume

Without the selinux flag on the container volume, the flake8 command
fails with:

E902 IOError: [Errno 13] Permission denied: '/envglobals.py'

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
4 years agoDrop mimic from nightlies 1692/head
Jan Fajerski [Tue, 27 Oct 2020 14:19:30 +0000 (15:19 +0100)]
Drop mimic from nightlies

Not sure anyone is interested in these, they are currently broken.

4 years agoMerge pull request #1691 from huww98/patch-1
Kefu Chai [Tue, 27 Oct 2020 12:58:55 +0000 (20:58 +0800)]
Merge pull request #1691 from huww98/patch-1

Fix Signed-off-by check with non-ASCII names

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoFix Signed-off-by check with non-ASCII names 1691/head
胡玮文 [Tue, 27 Oct 2020 11:16:19 +0000 (19:16 +0800)]
Fix Signed-off-by check with non-ASCII names

Blocking https://github.com/ceph/ceph/pull/37810 https://github.com/ceph/ceph/pull/37849

4 years agoMerge pull request #1690 from ceph/wip-pipeline-master
Kefu Chai [Sat, 24 Oct 2020 02:18:17 +0000 (10:18 +0800)]
Merge pull request #1690 from ceph/wip-pipeline-master

ceph: multibranch: trust contributors' forks

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoceph: multibranch: trust contributors' forks 1690/head
Ernesto Puerta [Fri, 23 Oct 2020 17:48:47 +0000 (19:48 +0200)]
ceph: multibranch: trust contributors' forks

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #1687 from ceph/wip-docsdocs
David Galloway [Thu, 22 Oct 2020 16:26:28 +0000 (12:26 -0400)]
Merge pull request #1687 from ceph/wip-docsdocs

ceph-pr-render-docs: Use RTD URL

4 years agoMerge pull request #1689 from ceph/ceph_container_lint_rm_option
Guillaume Abrioux [Wed, 21 Oct 2020 19:22:30 +0000 (21:22 +0200)]
Merge pull request #1689 from ceph/ceph_container_lint_rm_option

ceph-container-lint: use --rm docker option

4 years agoceph-container-lint: use --rm docker option 1689/head
Dimitri Savineau [Wed, 21 Oct 2020 19:12:12 +0000 (15:12 -0400)]
ceph-container-lint: use --rm docker option

The container lint job, which run shellcheck in a docker container,
doesn't use the --rm docker option so the container aren't removed
after their execution.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
4 years agoceph-pr-render-docs: Use RTD URL 1687/head
David Galloway [Wed, 21 Oct 2020 12:44:26 +0000 (08:44 -0400)]
ceph-pr-render-docs: Use RTD URL

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1686 from tchaikov/wip-ceph-pr-commits
David Galloway [Tue, 20 Oct 2020 13:56:06 +0000 (09:56 -0400)]
Merge pull request #1686 from tchaikov/wip-ceph-pr-commits

ceph-pr-commits: use origin/master as the base commit

4 years agoceph-pr-commits: use origin/master as the base commit 1686/head
Kefu Chai [Fri, 16 Oct 2020 08:26:06 +0000 (16:26 +0800)]
ceph-pr-commits: use origin/master as the base commit

instead of using `${sha1}^1...${sha1}^2` use
`origin/master...origin/pr/${ghprbPullId}/head` for getting the range of
commits introduced by a PR. as per `man git-diff`

> "git diff A...B" is equivalent to "git diff $(git-merge-base A B) B".

and `origin/${ghprbTargetBranch}` and `origin/pr/${ghprbPullId}/head` are fetched by
the ghprb-plugin plugin, so it's safe to use them. see
https://plugins.jenkins.io/ghprb/

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #1683 from ceph/wip-sha1
Kefu Chai [Sat, 10 Oct 2020 03:26:31 +0000 (11:26 +0800)]
Merge pull request #1683 from ceph/wip-sha1

ceph-pr-commits: Use sha1 instead of GIT_COMMIT

Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-pr-commits: Use sha1 instead of GIT_COMMIT 1683/head
David Galloway [Fri, 9 Oct 2020 13:54:28 +0000 (09:54 -0400)]
ceph-pr-commits: Use sha1 instead of GIT_COMMIT

I think GIT_COMMIT is the merge commit.  Everything Kefu and I could find indicated it should be valid to use here.

Switching to ${sha1} works though.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1682 from tchaikov/wip-ceph-pr-commits-decode
Kefu Chai [Fri, 9 Oct 2020 03:10:00 +0000 (11:10 +0800)]
Merge pull request #1682 from tchaikov/wip-ceph-pr-commits-decode

ceph-pr-commits: skip non-ascii chars

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
4 years agoceph-pr-commits: skip non-ascii chars 1682/head
Kefu Chai [Wed, 7 Oct 2020 09:03:08 +0000 (17:03 +0800)]
ceph-pr-commits: skip non-ascii chars

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #1681 from ceph/wip-bump-jjb
David Galloway [Tue, 6 Oct 2020 17:31:31 +0000 (13:31 -0400)]
Merge pull request #1681 from ceph/wip-bump-jjb

jjb: Unpin jjb version

4 years agojjb: Unpin jjb version 1681/head
David Galloway [Tue, 6 Oct 2020 17:24:16 +0000 (13:24 -0400)]
jjb: Unpin jjb version

Pinning it keeps biting us more often than fixing/updating job yamls would.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1668 from ceph/wip-pipeline-master
David Galloway [Tue, 6 Oct 2020 17:01:20 +0000 (13:01 -0400)]
Merge pull request #1668 from ceph/wip-pipeline-master

ceph: enable multibranch pipeline

4 years agoMerge pull request #1678 from tchaikov/wip-drop-bashism
Kefu Chai [Tue, 6 Oct 2020 16:54:15 +0000 (00:54 +0800)]
Merge pull request #1678 from tchaikov/wip-drop-bashism

ceph-perf-pull-requests: s/source/./

Reviewed-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1680 from tchaikov/wip-ceph-pr-commits-junit
Kefu Chai [Tue, 6 Oct 2020 16:43:22 +0000 (00:43 +0800)]
Merge pull request #1680 from tchaikov/wip-ceph-pr-commits-junit

ceph-pr-commits: skip test for doc only changes

Reviewed-by: Zack Cerza <zack@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
4 years agoceph-pr-commits: add a doc_test checking title of commit message 1680/head
Kefu Chai [Tue, 6 Oct 2020 16:14:15 +0000 (00:14 +0800)]
ceph-pr-commits: add a doc_test checking title of commit message

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-pr-commits: port test_commits.py to py3
Kefu Chai [Tue, 6 Oct 2020 15:20:32 +0000 (23:20 +0800)]
ceph-pr-commits: port test_commits.py to py3

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-pr-commits: skip "code_test" tests for commits changing "doc/"
Kefu Chai [Tue, 6 Oct 2020 15:16:03 +0000 (23:16 +0800)]
ceph-pr-commits: skip "code_test" tests for commits changing "doc/"

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-pr-commits: add "code_test" for test_signed_off_by() test
Kefu Chai [Tue, 6 Oct 2020 15:13:41 +0000 (23:13 +0800)]
ceph-pr-commits: add "code_test" for test_signed_off_by() test

this test should only apply to changes which modifies code. for the doc
only changes, we should skip this test for lowering the bar for
contributors willing to improve the document.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-perf-pull-requests: s/source/./ 1678/head
Kefu Chai [Tue, 6 Oct 2020 10:40:36 +0000 (18:40 +0800)]
ceph-perf-pull-requests: s/source/./

turns out we have ubuntu test nodes labeled with "performance", and
they use dash for "sh", and jenkins use "sh" for running the embedded
scripts.

let's avoid bashism, and use "." instead.

this change is a follow-up of 4e0a8987c7d19004d33c153b107057f684b547de

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #1677 from ceph/wip-dpkg-a
David Galloway [Mon, 5 Oct 2020 18:39:10 +0000 (14:39 -0400)]
Merge pull request #1677 from ceph/wip-dpkg-a

ceph-pr-api: Clean dpkg db on job abort

4 years agoceph-pr-api: Clean dpkg db on job abort 1677/head
David Galloway [Mon, 5 Oct 2020 16:33:55 +0000 (12:33 -0400)]
ceph-pr-api: Clean dpkg db on job abort

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1676 from ceph/wip-xml-signed
Kefu Chai [Mon, 5 Oct 2020 14:47:02 +0000 (22:47 +0800)]
Merge pull request #1676 from ceph/wip-xml-signed

ceph-pr-commits: Allow empty junit results

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-pr-commits: Allow empty junit results 1676/head
David Galloway [Mon, 5 Oct 2020 14:35:27 +0000 (10:35 -0400)]
ceph-pr-commits: Allow empty junit results

report.xml wasn't getting written for docs-only changes because the job `exit 0`s.  The junit plugin was failing the build in those instances but we don't need or want it to.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1675 from ceph/guits-remove_ooo_collocation
Guillaume Abrioux [Sun, 4 Oct 2020 08:26:37 +0000 (10:26 +0200)]
Merge pull request #1675 from ceph/guits-remove_ooo_collocation

ceph-ansible: remove ooo_collocation

4 years agoceph-ansible: remove ooo_collocation 1675/head
Guillaume Abrioux [Sun, 4 Oct 2020 08:22:34 +0000 (10:22 +0200)]
ceph-ansible: remove ooo_collocation

This job is not needed anymore, we already have 'collocation' for that.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
4 years agoceph: add multibranch pipeline 1668/head
Ernesto Puerta [Mon, 28 Sep 2020 15:54:29 +0000 (17:54 +0200)]
ceph: add multibranch pipeline

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #1672 from tchaikov/wip-ceph-deploy-tag
Kefu Chai [Thu, 1 Oct 2020 15:54:23 +0000 (23:54 +0800)]
Merge pull request #1672 from tchaikov/wip-ceph-deploy-tag

ceph-deploy-tag: use ceph-build:origin/master

Reviewed-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1674 from dmick/master
David Galloway [Thu, 1 Oct 2020 15:51:34 +0000 (11:51 -0400)]
Merge pull request #1674 from dmick/master

ceph-dev{,-new}-build: add SHA1 to build name

4 years agoceph-deploy-build: inject chacractl credentials 1672/head
Kefu Chai [Thu, 1 Oct 2020 11:46:24 +0000 (19:46 +0800)]
ceph-deploy-build: inject chacractl credentials

otherwise we would have

requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://chacra.ceph.com/binaries/ceph-deploy/test/c6ff0a05523cdeda86ebac732dd186620261dc01/centos/7/source/

when posting the created package to chacra

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoscripts/build_utils: remove duplicated get_rpm_dist()
Kefu Chai [Thu, 1 Oct 2020 10:33:02 +0000 (18:33 +0800)]
scripts/build_utils: remove duplicated get_rpm_dist()

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-deploy-*: install build deps for python3
Kefu Chai [Thu, 1 Oct 2020 10:15:27 +0000 (18:15 +0800)]
ceph-deploy-*: install build deps for python3

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-deploy-build: build on bionic and centos8 for python3 package
Kefu Chai [Thu, 1 Oct 2020 07:23:11 +0000 (15:23 +0800)]
ceph-deploy-build: build on bionic and centos8 for python3 package

* s/xenial/bionic/ for building python3 package
* add centos8

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-deploy-tag: use ceph-build:origin/master
Kefu Chai [Thu, 1 Oct 2020 06:55:35 +0000 (14:55 +0800)]
ceph-deploy-tag: use ceph-build:origin/master

otherwise it fails when trying to use the release.yml playbook:

ERROR! the playbook: release.yml could not be found
Build step 'Execute shell' marked build as failure

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #1673 from ceph/revert-1648-wip-junit_dashboard-master
Ernesto Puerta [Thu, 1 Oct 2020 09:26:55 +0000 (11:26 +0200)]
Merge pull request #1673 from ceph/revert-1648-wip-junit_dashboard-master

Revert "test: analyze JUnit results in PR jobs"

4 years agoceph-dev{,-new}-build: add SHA1 to build name 1674/head
Dan Mick [Thu, 1 Oct 2020 09:22:33 +0000 (09:22 +0000)]
ceph-dev{,-new}-build: add SHA1 to build name

Signed-off-by: Dan Mick <dmick@redhat.com>
4 years agoRevert "test: analyze JUnit results in PR jobs" 1673/head
Ernesto Puerta [Thu, 1 Oct 2020 09:14:49 +0000 (11:14 +0200)]
Revert "test: analyze JUnit results in PR jobs"

4 years agoMerge pull request #1671 from ceph/wip-signed-docs
David Galloway [Wed, 30 Sep 2020 17:49:36 +0000 (13:49 -0400)]
Merge pull request #1671 from ceph/wip-signed-docs

ceph-pr-commits: Don't require signed commits for doc/ dir

4 years agoceph-pr-commits: Don't require signed commits for doc/ dir 1671/head
David Galloway [Wed, 30 Sep 2020 16:24:36 +0000 (12:24 -0400)]
ceph-pr-commits: Don't require signed commits for doc/ dir

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1648 from ceph/wip-junit_dashboard-master
David Galloway [Wed, 30 Sep 2020 15:38:48 +0000 (11:38 -0400)]
Merge pull request #1648 from ceph/wip-junit_dashboard-master

test: analyze JUnit results in PR jobs

4 years agoMerge pull request #1670 from dmick/master
David Galloway [Wed, 30 Sep 2020 14:51:17 +0000 (10:51 -0400)]
Merge pull request #1670 from dmick/master

ceph-dev, ceph-dev-new: get shorter branch name, add SHA1 to build name

4 years agotest: add JUnit result analysis to jobs 1648/head
Ernesto Puerta [Mon, 24 Aug 2020 15:59:27 +0000 (17:59 +0200)]
test: add JUnit result analysis to jobs

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoceph-dev, ceph-dev-new: add SHA1 to build names 1670/head
Dan Mick [Tue, 29 Sep 2020 19:51:28 +0000 (19:51 +0000)]
ceph-dev, ceph-dev-new: add SHA1 to build names

Signed-off-by: Dan Mick <dmick@redhat.com>
4 years agoceph-dev, ceph-dev-new: copy branch artifact too for short name
Dan Mick [Tue, 29 Sep 2020 08:29:14 +0000 (08:29 +0000)]
ceph-dev, ceph-dev-new: copy branch artifact too for short name

BRANCH is set by the github plugin to, say, origin/master.  The
-setup jobs change that back to just 'master', so, copy their
saved env-setting artifact 'branch' as well so the parent job
can also use the short branch name in its build name.

Signed-off-by: Dan Mick <dmick@redhat.com>
4 years agoMerge pull request #1669 from dmick/master
David Galloway [Tue, 29 Sep 2020 21:39:53 +0000 (17:39 -0400)]
Merge pull request #1669 from dmick/master

ceph-dev, ceph-dev-new: copyartifact permission: no spaces