Commit Graph

421 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov f72de305b8 Retire openstack-ansible-repo_build role
As repo_build role has been succesfully replaced with
python_venv_build role, we have no need in it's futher maintaining and
releasing.

Depends-On: https://review.opendev.org/717715
Change-Id: Iaf1d6da8192afbbd18c64e2b58d54fa5804fe43c
2020-04-06 14:30:36 +03:00
Zuul 1bf48763f2 Merge "repo_build: Do not sync links directory between repo_containers" 2020-03-19 12:16:15 +00:00
Zuul 373f7846b3 Merge "repo_build: take distro version into account" 2020-03-19 12:16:14 +00:00
Erik Berg d5e33c8afa repo_build: take distro version into account
When introducing a new repo_container with a different distro, using
the same directory for symlinks can result in weird builds. We should
prevent the links directory to be copied all willy-nilly, as suggested
here;

https://review.opendev.org/#/c/712784/
https://review.opendev.org/#/c/712787/

But we can further prevent bad builds by separating under distro-arch
under links with this patch.

Depends-On: Ieca6ec9bf898432c76c019a1d2d97c280cd85dce
Change-Id: I4ae6737f1ded4cbb680a380c8c309a0f5bf64723
2020-03-16 17:24:58 +01:00
Erik Berg 9e6f1169b6 repo_build: determine if there was a change when syncing files
If we sync a couple of item.paths over to the repo_all[0]. There is
definitely a change happening, so setting changed_when to false is
not correct.

During the with_items loop you can check each individual task under
the "register: _variable". After the task has completed with all
items, they're bundled up into _variable.results for future
processing.

rsync reports changes to stdout, and will remain empty if there are
none. So we can just check for stdout.

Depends-On: Ieca6ec9bf898432c76c019a1d2d97c280cd85dce
Change-Id: I2cf628d322e09ab7a0dc12557b07b1ab8d174b99
2020-03-14 15:32:44 +01:00
Erik Berg 4bd52916e7 repo_build: Do not sync links directory between repo_containers
The links directory is only used by repo_build when creating requirement
wheels. The repo_build process builds wheels for it's own distro/arch combo
in serial. So in a mixed environment, where you might have ubuntu-16.04-x86_64
and ubuntu-18.04-x86_64 repo_containers, heck even centos-7-x86_64 for that
matter, copying the links pointing to pools/distro-arch over to another
repo_container creating wheels for a different distro/arch leads to bad builds
getting deployed later.

We also need to prevent the later lsync config from spreading these out
https://review.opendev.org/#/c/705390/

We can prevent this mix-up from happening even further by setting
repo_build_global_links_path: "{{ repo_build_base_path }}/links/{{ repo_build_os_distro_version }}"
as suggested in https://review.opendev.org/#/c/708115/

This is probably only relevant for stable/rocky.
Depends-On: Ieca6ec9bf898432c76c019a1d2d97c280cd85dce
Change-Id: I3bd6d3d987e32ee11c5f1fcb5c1b4b0fc797e7f9
2020-03-13 12:51:52 +01:00
Erik Berg fd4b607820 repo_build: update tests to opendev.org
Change-Id: Ieca6ec9bf898432c76c019a1d2d97c280cd85dce
2020-03-13 12:48:26 +01:00
OpenStack Proposal Bot 957039ea29 Updated from OpenStack Ansible Tests
Change-Id: Ie710aadecc02c27e12a35e2b20a8a3448f1db890
2019-11-21 16:36:51 +00:00
Zuul 699df05d80 Merge "Update master for stable/train" 2019-10-24 10:43:31 +00:00
OpenStack Proposal Bot f63a498b6f Updated from OpenStack Ansible Tests
Change-Id: I1e32d38171aaebcc06555071476a83a7a5991bd7
2019-10-23 17:26:59 +00:00
OpenStack Release Bot d0e9c0f708 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I910dc1663e1d86b2169e14dac22e2069be716784
Sem-Ver: feature
2019-10-22 19:04:03 +00:00
OpenStack Proposal Bot cde6958ac4 Updated from OpenStack Ansible Tests
Change-Id: I8f497f6f2a025994a3ca4c7ae31c3f4b663cb057
2019-08-20 03:07:21 +00:00
Zuul 4271f8365b Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-08-15 00:57:58 +00:00
OpenStack Proposal Bot 23bbbab45a Updated from OpenStack Ansible Tests
Change-Id: I4c7ff9b0de0aaaab72aa8705edf7db60139480c0
2019-07-30 19:46:03 +00:00
OpenStack Proposal Bot 16766ed4a6 Updated from OpenStack Ansible Tests
Change-Id: Ie3de03b94b235a7781e0b9a0236352ba13e5b731
2019-07-20 09:40:37 +00:00
OpenStack Proposal Bot bdc48423d5 Updated from OpenStack Ansible Tests
Change-Id: I331e1bddd5892228e7208e31a5aa59772fe6a1c8
2019-07-18 22:20:49 +00:00
Zuul cff89f7a6b Merge "Cap sphinx for py2 to match global requirements" 2019-07-10 18:58:59 +00:00
melissaml 421a45eff4 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Icb4bf535394637e3179998c28c652b771e221900
2019-07-10 21:55:51 +08:00
OpenStack Proposal Bot dd09ba6ad7 Updated from OpenStack Ansible Tests
Change-Id: I80a42f77aeca7358e81e040da89ab024a00cc662
2019-06-27 10:24:07 +00:00
zhangboye de9b35da95 Cap sphinx for py2 to match global requirements
Change-Id: Ic7ffd036f881b8b75063f0a0ee213568d122e047
2019-06-06 17:54:50 +08:00
OpenStack Proposal Bot 578ebff774 Updated from OpenStack Ansible Tests
Change-Id: I97ac8f179ddf5cdb7646757412c3ebed71ae9d52
2019-05-09 11:36:01 +00:00
Zuul b21e773cb5 Merge "Add bugs url link to README.rst" 2019-04-24 19:30:35 +00:00
Zuul 001ba7f454 Merge "fix tox python3 overrides" 2019-04-24 19:22:17 +00:00
Zuul ade1fd791f Merge "missing document start "---"" 2019-04-24 19:09:43 +00:00
OpenStack Proposal Bot 9401ad0e76 Updated from OpenStack Ansible Tests
Change-Id: I004cbcb83eca7f3214c3825fdb33701769c477ee
2019-04-23 00:51:13 +00:00
Dmitriy Rabotjagov 155b2b08b0 debian: add support
This patch adds support for this role to be able to deploy on
Debian Stretch.

Change-Id: I8b580d5afc62e819851a17f42bb0bb01ec3c4b76
2019-04-22 20:29:42 +03:00
OpenDev Sysadmins 32e7296b69 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:42:45 +00:00
OpenStack Release Bot 535ef05594 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I9ec8b24a1a3c8e7c0cc02a5f19772f6a4191431f
Sem-Ver: feature
2019-04-08 09:23:15 +00:00
Mohammed Naser 0ddff07dbc docs: drop sphinxmark
sphinxmark is no longer compatible with the latest release of Sphinx
which is causing all of our documentation jobs to fail.  This patch
removes it as our current usage of openstacktheme for documentation
already provides watermarks for current branch and notices for which
branch the documentation covers.

Change-Id: Ibb247856868a59ee93f8717053c1a5e0aa1284f2
2019-04-04 05:03:50 +00:00
OpenStack Proposal Bot eb8550d188 Updated from OpenStack Ansible Tests
Change-Id: I6d2343343dcab0f7e674f643dc983160b20b1fb6
2019-03-22 22:08:01 +00:00
Dmitriy Rabotjagov e14e33328a Fix map filter usage with urlsplit
As urlsplit is filter as well, so we need to quote it for applying
to all items. Otherwise 'urlsplit' undefined variable error is raised.

Change-Id: Ie4a51b177fb7f8e28c8c7dfb080960d6734ee21f
Related-Bug: #1820830
Co-Authored-By: Nicolas Bock <nicolasbock@gmail.com>
2019-03-22 14:35:52 +02:00
Georgina Shippey dcd9469411 Replace usage of netloc filters to urlsplit
Remove the references to netorigin and netloc_no_port as they will
be taken out from openstack-ansible-plugins

Now using ansible 2.4's urlsplit filter as a replacement.

Change-Id: I94302ced3e5d6faa4d8748590f323e89d9b7280c
Related-Bug: #1820830
2019-03-21 15:08:52 +00:00
OpenStack Proposal Bot 6638604edf Updated from OpenStack Ansible Tests
Change-Id: Icb3762bfbf5612de77660ee8865a8a8136afeb20
2019-02-27 06:07:49 +00:00
huang.zhiping ff7c76e3e5 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I67f6301eb296fae9fedfea189ceeef42c59280d8
Closes-Bug:  #1801657
2019-01-12 03:26:21 +00:00
zhouxinyong dbaadbaa2e Add bugs url link to README.rst
Change-Id: I1596081cd208dba94733383cfc086bccc08a8c3a
2019-01-03 10:24:32 +08:00
Zuul 6cfcecf157 Merge "Fix ansible deprecation warnings" 2018-12-18 10:59:07 +00:00
ZhongShengping 4bf81a57e4 Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: I5ee27402ee5e4c006b9ee11d59e1246714c56f63
2018-12-05 09:15:28 +08:00
Jonathan Rosser 8634532731 Fix ansible deprecation warnings
===
[DEPRECATION WARNING]: Using tests as filters is deprecated.
Instead of using `result|search` use `result is search`. This
feature will be removed in version 2.9.
===

Change-Id: If7ca8c8e749209ca3e021fd4604ff809d9e3a5db
2018-12-03 17:18:45 +00:00
Jesse Pretorius ecff328ed6 Ensure pip/setuptools/wheel are up to date in the wheel build venv
To ensure consistency, we make sure that the venv used for the wheel
build has an up to date and the right versions of pip/setuptools/wheel.

Change-Id: Iac3e5054b5ef482bba2954e40c2c4d32a7f863df
2018-11-02 15:01:35 +00:00
wangqi b59026d98a missing document start "---"
Change-Id: I32076d155ae0a1ff73d99fad74a1b40513bf63a3
2018-10-30 08:04:13 +00:00
Markos Chandras 420b98ead4 SUSE: Add support for openSUSE Leap 15
Change-Id: I1d6782b6fcbcc788930d9a0f3e4a434cb801cf00
2018-10-23 12:44:06 +01:00
Jimmy McCrory 0b6f76e22c Set container_name as host_var in test inventory
The connection plugin no longer falls back on using the
inventory_hostname as the container_name. Set container_name as a host
var for each container in the test inventory.

Change-Id: I74031a2bcafda1a24d7c767218a3b050ae63bc46
2018-10-20 15:28:29 -07:00
Zuul 7da3112269 Merge "Update repo_build test-vars data" 2018-10-09 17:11:19 +00:00
OpenStack Proposal Bot 3124fcdb30 Updated from OpenStack Ansible Tests
Change-Id: Ibaa5fb901f64046d2ed98fcfd7870ec8b0a0ce11
2018-10-02 14:56:08 +00:00
Zuul a084670123 Merge "fix tox python3 overrides" 2018-09-29 16:40:30 +00:00
OpenStack Proposal Bot 993e9ffe84 Updated from OpenStack Ansible Tests
Change-Id: I44fb5a7384fcc513c7e793e3cf8dce3c07ca885e
2018-09-29 04:56:58 +00:00
OpenStack Proposal Bot 31d981871f Updated from OpenStack Ansible Tests
Change-Id: Ib9ec72074b40a69914ec1ab47bb9b00426cde7bd
2018-09-28 06:23:04 +00:00
Jesse Pretorius c2a506f390 Update repo_build test-vars data
This updates the repo_build data to the current
package list output from the py_pkgs lookup.

Change-Id: Ib7b1dde1851db6b67cf65dce515795f779024a9b
2018-09-27 13:40:33 +01:00
Zuul b94fb9541c Merge "add the project source code repository" 2018-09-27 03:26:57 +00:00
Zuul d3871c2a86 Merge "Add the project source code repository in README" 2018-09-27 03:26:57 +00:00