Commit Graph

105 Commits

Author SHA1 Message Date
Zuul 0b23881bdd Merge "Retire openstack-ansible-os_searchlight" 2019-04-24 20:48:09 +00:00
OpenDev Sysadmins 8750b0aaed 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:45:00 +00:00
Guilherme Steinmüller d5244c86ef Retire openstack-ansible-os_searchlight
Change-Id: Ie7c495b997ea91b1bcccfc031b60284e30d9c6f6
2019-04-17 23:49:05 +00:00
OpenStack Release Bot c9b275c190 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: I029585dc95b4835b62666a598bf16a3c4707effb
Sem-Ver: feature
2019-04-08 09:21:17 +00:00
Mohammed Naser 9b4ef1865b 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: I0e0259a16d2290687440a6f456c89d596a6645b5
2019-04-04 08:58:58 +00:00
Zuul da1cae804f Merge "Replace openstack.org git:// URLs with https://" 2019-03-25 05:10:54 +00:00
Ian Wienand 815b20a3fc Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I9701692270a6443d77e8e28bb00d682d33710751
2019-03-24 20:35:02 +00:00
OpenStack Proposal Bot 2d0a0c47e7 Updated from OpenStack Ansible Tests
Change-Id: Ib36d83b4ee07823c0566e65ef15e2e4698251a18
2019-03-22 22:05:26 +00:00
OpenStack Proposal Bot 8a8a992c39 Updated from OpenStack Ansible Tests
Change-Id: Ib0813bd37089db9720f3a31c323decdc7ffcad57
2019-02-27 06:06:29 +00:00
melissaml ba29419f00 fix url in doc
Change-Id: I7e4c1609083e85f967a40b5fd4e6068ac4e098f3
2018-12-26 15:44:34 +08:00
ZhongShengping a121916fbe 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: I3d49874d581c1b8f507324e1a6a9a2354012302b
2018-12-05 09:14:36 +08:00
Zuul 78c990b7dd Merge "Add bugs url link to README" 2018-11-30 20:27:08 +00:00
Jesse Pretorius f3e86a3382 Enable overriding the service setup host python interpreter
In order to enable the service setup host python interpreter to
be changed easily, we make it a variable. This will be useful
when someone sets the service setup host to be the utility
container, because we'll be able to set this var by default.

Change-Id: Ie6b2baecdc4260fe814ffd0b62555532c3f677a6
2018-11-30 16:40:31 +00:00
Jesse Pretorius 9f3324c8c8 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: I20d7b4a3afc39ca11f7c48a1cce71119e36bd750
2018-10-22 12:55:21 +01:00
OpenStack Proposal Bot 8b20b1fe6e Updated from OpenStack Ansible Tests
Change-Id: I161098bfe18be911912052505920b4e470a3f012
2018-10-02 14:54:54 +00:00
Zuul 451b07e9c2 Merge "fix tox python3 overrides" 2018-09-29 16:48:07 +00:00
OpenStack Proposal Bot c842addb8f Updated from OpenStack Ansible Tests
Change-Id: Ifd98c18796a52db2986dffc4d5d82deb8bc81df7
2018-09-29 04:55:57 +00:00
OpenStack Proposal Bot af31119d03 Updated from OpenStack Ansible Tests
Change-Id: I1d3b0edc01dd67003658cacbd444a22ed25aa147
2018-09-28 06:21:42 +00:00
ShangXiao dbf313b8b4 Add bugs url link to README
Change-Id: I7599a2630c8f290d1f70ebb79704edda81a755e1
2018-09-27 03:12:36 +00:00
Doug Hellmann 17ebcf95bd 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: Iddcb3eae340033353c5d4dcabd067ac27703539e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:44:20 -04:00
inspurericzhang dd93ddd650 [Trivial Fix] Replace Chinese punctuation with English punctuation
Curly quotes(Chinese punctuation) usually input from Chinese input method.
When read from english context, it makes some confusion.

Change-Id: Ibc5c31e5d48113deef2eadec93fe114b473f0cc0
2018-09-06 11:26:13 +08:00
Jesse Pretorius 9aa42e5bea Use a common python build/install role
In order to radically simplify how we prepare the service
venvs, we use a common role to do the wheel builds and the
venv preparation. This makes the process far simpler to
understand, because the role does its own building and
installing. It also reduces the code maintenance burden,
because instead of duplicating the build processes in the
repo_build role and the service role - we only have it all
done in a single place.

We also change the role venv tag var to use the integrated
build's common venv tag so that we can remove the role's
venv tag in group_vars in the integrated build. This reduces
memory consumption and also reduces the duplication.

This is by no means the final stop in the simplification
process, but it is a step forward. The will be work to follow
which:

1. Replaces 'developer mode' with an equivalent mechanism
   that uses the common role and is simpler to understand.
   We will also simplify the provisioning of pip install
   arguments when doing this.

Depends-On: https://review.openstack.org/598957
Change-Id: I97a614422490e7bff3bbe5f651387fbeb092aeda
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-09-03 11:08:51 +00:00
Zuul 9dfab48d48 Merge "fix tox python3 overrides" 2018-08-23 03:48:05 +00:00
huang.zhiping ae21047e94 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I0d8714cafb6a885bf42263cfecd481f2438b8912
Story: #2002586
Task: #24319
2018-08-21 13:22:04 +00:00
huang.zhiping 36a0318f9c import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Iad078d6502c1f72acf761f093ea8141d604bd2f3
Story: #2002586
Task: #24319
2018-08-21 13:18:00 +00:00
Zuul 83faf6b6f5 Merge "Trvial: Fix the pep8 warning" 2018-08-17 05:12:20 +00:00
Zuul 34300ad874 Merge "Use the TESTING_BRANCH env var for constraints" 2018-08-17 05:12:20 +00:00
Zuul 4514513ff2 Merge "remove unnecessary '='" 2018-08-17 04:43:19 +00:00
Jesse Pretorius 61b75692bb Use the TESTING_BRANCH env var for constraints
The TESTING_BRANCH environment variable is provided by the
run_tests.sh script and is derived from the .gitreview file.

This ensures that once the master branch becomes a stable
branch, the constraints from the stable branch in the
integrated repository will automatically get used once the
.gitreview file is updated.

To ensure that the required environment variables are present
we export them appropriately in run_tests.sh and modify the
tox configuration to pass them into the tox test.

Change-Id: I62bdba6d6cdb4bb6bafe8a8f323922dbf818280f
Needed-By: https://review.openstack.org/579371
2018-08-16 18:25:12 +01:00
caoyuan 24d67e5e75 use include_tasks instead of include
include is marked as deprecated since ansible 2.4[0]

Switch to include_tasks or import_playbook as necessary

[0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated

Change-Id: I8dbe7ca1354c204d17f2f4bc0ac3be23f4a7cdc9
2018-08-15 16:59:05 +08:00
OpenStack Release Bot 5803dda74f Update reno for stable/rocky
Change-Id: I54470cb554ca43ca187481b2fbfbb911e631cd71
2018-08-10 16:48:19 +00:00
Jonathan Rosser 37bc206de4 Switch to using project-templates
In order to have more centralized configuration, switch the role
to use the project-template instead.

This role is very special in that none of the functional tests are
voting.

Depends-On: https://review.openstack.org/588962
Change-Id: Ib26b42aa4d74beaecf9c06cc3114eee32fffb01b
2018-08-06 16:47:53 +00:00
wangqi 970111be59 Trvial: Fix the pep8 warning
The yaml should start with "---"# 请为您的变更输入提交说明。以 '#' 开始的行将被忽略,而一个空的提交

Change-Id: If27537b613c9759e2d9f5a76cc78a1317ef131e2
2018-08-06 07:55:05 +00:00
wangqi ac961860a3 remove unnecessary '='
Change-Id: I4423a4ce108c67dc5a17689471b47008658fd40d
2018-07-31 06:21:26 +00:00
Jesse Pretorius 76421ccb31 Clean up vars, tests and overrides
1. It would appear that searchlight does not make use of rabbitmq,
   so we remove the vhost/user setup and vars.
2. The searchlight_requirements_git_repo repo was cloned, but not
   used anywhere. This is a relic of the past and has now been
   removed.
3. The service URI defaults use the load balancer addresses, so
   so instead of overriding all the URI's we simply set the load
   balancer addresses.
4. The 'functional test' installed curl, but didn't use it. It
   used a var to refer to the correct port. This requires the
   duplicating of the var in overrides which is a bit over the top.

Change-Id: Ibd4fd8564ae5f858a2a2676d35de417e673c483c
2018-07-29 15:16:03 +01:00
Zuul c51053f2e9 Merge "Add source code repository notes link to README" 2018-07-25 08:07:22 +00:00
melissaml 9cc0e05934 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: I875b1dfdf082964d6c81e860b6b1fe3e140241fc
2018-07-23 18:55:42 +08:00
Zuul ff3be7e3d9 Merge "Remove the unnecessary space" 2018-07-20 15:39:46 +00:00
LeopardMa 02c4cdf053 Add source code repository notes link to README
Change-Id: Ida5132ae145b960c3cef1cbc74541db996010f5a
2018-07-16 22:26:38 -04:00
Jesse Pretorius 70016bb4ee Execute service setup against a delegated host using Ansible built-in modules
In order to reduce the packages required to pip install on to the hosts,
we allow the service setup to be delegated to a specific host, defaulting
to the deploy host. We also switch as many tasks as possible to using the
built-in Ansible modules which make use of the shade library.

The 'virtualenv' package is now installed appropriately by the openstack_hosts
role, so there's no need to install it any more. The 'httplib2' package is a
legacy Ansible requirement for the get_url/get_uri module which is no longer
needed. The keystone client library is not required any more now that we're
using the upstream modules. As there are no required packages left, the task
to install them is also removed.

Change-Id: I81bb3f872dc93e54861cb720e3b37ab7660a074a
2018-07-14 14:00:14 +00:00
Jean-Philippe Evrard cdfac3eaca Fix usage of "|" for tests
With the more recent versions of ansible, we should now use
"is" instead of the "|" sign for the tests.

This should fix it.

Change-Id: I032103fdc1fa2bb8599db3f113fb4fc7203a5672
2018-07-12 17:02:05 +02:00
zhulingjie d43aec724c Remove the unnecessary space
Change-Id: Ia68b4a4a183afdbcb0f9fa4c065f186c0cd6e1c1
2018-07-11 23:16:43 -04:00
jacky06 d5356a8bcd Update the project home to https
Change-Id: I52dac7f0f6a87f27347c8858a9f05ae976020c1a
2018-07-05 21:34:22 -04:00
Heba Naser 9d25ece794 Use tests repo for common role test requirements
Using tox for requirements management requires in-repo
requirements files for all our repositories. Rather than
do that, we make use of the tests repo to capture our
common requirements and use this to install them.

This reduces our review requirement rate and simplifies
maintenance for us for the tox config. It also makes it
usable with 'Depends-On', which is marvellous!

The tox requirements definitions for docs/releasenotes
builds are left in-place as those are standard entries
across the community. If that changes at some point, we
can re-assess those entries too.

Depends-On: https://review.openstack.org/579208
Change-Id: Ia3b65cfc2362bbc09f7dc3fff3d767a649fea9f8
2018-07-02 13:00:52 -04:00
Zuul 445882e22e Merge "Fix the home-page link" 2018-06-25 15:19:44 +00:00
ZhijunWei b6051338fc Fix the home-page link
Change-Id: Iccb0636cfc36da543a9fc115e6f02690fa08e21e
2018-06-22 23:35:53 -04:00
wangqi 28915bb77f add doc、releasenotes and home link in readme.rst
Change-Id: If945e717e57c30a942bcebd4bdc2e8a6cd16c242
2018-06-19 06:29:58 +00:00
Mohammed Naser 066d21b2d8 Switch non-voting jobs to use Zuul stanza
The extra jobs that we have are not something that is needed, we simply can
set the jobs to non-voting in the project definition and avoid having non
voting jobs.

Change-Id: Iaaa440373172dcc89c052dbb7a0bfa2f876e0561
2018-06-13 21:40:08 -04:00
zhulingjie 15135e07da Fix the ansible role aim to searchlight
Change-Id: Iae6db33dd04446f0e17ffc640776974dd3f11196
2018-06-12 11:24:02 -04:00
OpenStack Proposal Bot cc30b3747f Updated from OpenStack Ansible Tests
Change-Id: Iba852ff49a35ba2477d3b7e200dde6127b6b1632
2018-06-06 00:43:55 +00:00