Commit Graph

126 Commits

Author SHA1 Message Date
OpenStack Proposal Bot c65753dfdb Updated from OpenStack Ansible Tests
Change-Id: I477ee7fec82f24c6cb21f85e00d9d5d4bfa98813
2019-06-10 15:46:39 +00:00
OpenDev Sysadmins 6e51e5c97a 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:36:14 +00:00
Ian Wienand 3ccc6a13c2 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: I5d3a2e3c9d22e5f7bf63ec85a0b12647fe679eb7
2019-03-24 20:35:03 +00:00
huang.zhiping e4d96274f4 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: Idae0aad8505bd17cfe0d6bc81bdf03b4a41fe9ab
Story: #2002586
Task: #24319
2018-08-21 13:38:52 +00:00
fpxie 3bb2031890 Do not log passwords
This prevents data to be leaked into the callback plugin.

Change-Id: I116950c9dd6284aade0c2e514a5717dceeb981b0
(cherry picked from commit da3dd31c50)
2018-04-24 13:14:15 +00:00
James E. Blair ed6490300f Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I6745c8bb84811631dd600de44fff9a5a66d9f648
2018-03-26 11:22:52 +00:00
Jean-Philippe Evrard 95bde875f9 Fix tests repo cloning
We have a script for doing the test repo cloning, we should use
it. The script is synchronized and works well with different
branches, where the tox.ini isn't synchronized, and therefore
can lag, like it is right now, in the branch upgrades.

Change-Id: Ibb94eb78a028b28e41591c1cd9ee582a225019dc
(cherry picked from commit 571e2f6618)
2018-03-26 11:12:59 +00:00
Rick Box d8aba4d1c3 Fix for lookup and get_url occuring in different places
We use an SSH bastion host which we do our deployment through. The
deployment host doesn't have direct access to the same network as the
host. As a result the venv local checksum lookup fails.

I have described this here:

https://bugs.launchpad.net/openstack-ansible/+bug/1689283

This is a simple fix for this problem, assuming everything is good it
will need repeating in multiple places in the code base.

Change-Id: I5b1ac355370365a7895033e772b418b8c1db8f3f
(cherry picked from commit 7103d2bc59)
2018-01-08 10:55:56 +00:00
Jesse Pretorius c04c89fd1c Initial OSA zuul v3 role jobs
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.

Change-Id: Ic1524640d85e59c4337ab65f52f3faaffd9b65e8
2017-10-31 11:08:25 +00:00
OpenStack Proposal Bot 4e841533eb Updated from global requirements
Change-Id: I5c6f92ba165be511b5fde995ea89359115656cd7
2017-08-26 11:54:18 +00:00
OpenStack Proposal Bot c85c97e6b1 Updated from OpenStack Ansible Tests
Change-Id: I805123a6b56916b25aceb5f519631378d8c0495a
2017-08-24 17:11:36 +00:00
Jenkins 579b227429 Merge "Update vars and test tooling for Pike" into stable/pike 2017-08-24 08:10:36 +00:00
OpenStack Proposal Bot 412e82e262 Updated from OpenStack Ansible Tests
Change-Id: If79376d9b6e513f0b6a6069bebb80b6705676519
2017-08-23 20:38:56 +00:00
Jesse Pretorius 396517fd9d Update vars and test tooling for Pike
Change-Id: I64614134e9194ee4a58bb1b500dc338673925f0a
2017-08-23 11:44:43 +00:00
OpenStack Proposal Bot 1b9477bdb8 Updated from global requirements
Change-Id: Id0c1202b218cdd1e0200a8fbb37d52debeac5122
2017-08-18 11:38:42 +00:00
OpenStack Proposal Bot aba6f3dbf9 Updated from OpenStack Ansible Tests
Change-Id: Ie2b477ac78d50be54b02eebbd3b16cc63b2f798e
2017-08-04 15:22:45 +00:00
OpenStack Proposal Bot 25f6f84e75 Updated from OpenStack Ansible Tests
Change-Id: If288c304faf54228caebf2836a0b937ac5110a82
2017-08-03 15:27:15 +00:00
OpenStack Proposal Bot 02c66a7c99 Updated from OpenStack Ansible Tests
Change-Id: I2c598e748f9aa91cb789bea5720c06b7e1835d06
2017-07-31 19:11:41 +00:00
Jenkins c41efb0033 Merge "Updated from global requirements" 2017-07-28 18:36:01 +00:00
OpenStack Proposal Bot c65429828a Updated from OpenStack Ansible Tests
Change-Id: Ib2840b56527c671b656deebc1ec51e5f628898e9
2017-07-28 15:01:05 +00:00
OpenStack Proposal Bot b0d713363a Updated from global requirements
Change-Id: If5229c7401b7115c70bfc0119f5b143bf9657dd2
2017-07-27 19:18:16 +00:00
ZhongShengping bfc43d14e2 Update URLs in documents according to document migration
Change-Id: I0bc15ea32a4783be7813a4da86662777cc5d28b9
2017-07-14 09:46:17 +08:00
OpenStack Proposal Bot ce447eb7ad Updated from OpenStack Ansible Tests
Change-Id: Ifa0d251770cb3d5bdd3e24cb82e6a40e859ca65e
2017-07-06 21:09:02 +00:00
OpenStack Proposal Bot d775625fe7 Updated from OpenStack Ansible Tests
Change-Id: Ied38f3b5dda32b38227ff128011b8e9e6b9ec00d
2017-07-06 13:03:14 +00:00
ZhongShengping 503bfd355e Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow[0].

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: Ie52889f146600d386c0c865c8440c34870cf83a4
2017-07-03 16:24:14 +08:00
OpenStack Proposal Bot 36e7edf013 Updated from global requirements
Change-Id: Ibeec38f64f2501799ffcc74bb97e13d6e934ecc6
2017-06-27 12:18:50 +00:00
ZhongShengping e00048e68c Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: I9527fda4f8549c71779f4951137ef2419ef8a475
2017-06-26 11:40:36 +08:00
OpenStack Proposal Bot d1c0821ccd Updated from OpenStack Ansible Tests
Change-Id: I67c685beafe56940135692508cad9cc9e90146e8
2017-06-22 15:20:12 +00:00
OpenStack Proposal Bot f1155efe41 Updated from global requirements
Change-Id: I574ef0642a11ab031b7db02c79fee7bfb205310a
2017-06-12 13:00:01 +00:00
OpenStack Proposal Bot cf11941ed0 Updated from global requirements
Change-Id: I48e2b27d398d995b05ecd84d32ba0de9d6e56cb2
2017-06-10 21:45:30 +00:00
Jesse Pretorius b07289f2a2 Ensure that role tests pin pip/setuptools/wheel
Currently the role tests use whatever versions of pip,
setuptools and wheel are already installed on the host.

When a version of these tools changes it often causes
problems for our testing.

This will ensure that we use a known good set of pins
which is maintained in the general SHA bumping process.

Change-Id: I7ae52089de4f26d97d76848682fb42816a4e76c9
2017-06-04 11:23:35 +01:00
OpenStack Proposal Bot 2b257aa531 Updated from global requirements
Change-Id: Ifd81240fc69d4b433c5327aa152aa42015d59cbb
2017-06-02 22:03:55 +00:00
Andy McCrae 5a26587133 Allow the developer constraints to be adjusted
In order to do a developer mode that allows installation of packages
from local file, which take precedence over the developer_mode
constraints, we need to allow the order of the constraints to be
changed.

This patch adds a "pip_install_developer_constraints" var which is used
to set the developer mode constraints. By default this will leave the
same behaviour but will allow additional constraints to be added, or the
developermode constraints file to be overriden altogether.

Change-Id: I4022629a957a11ac90026a4df13855324db4c2a9
2017-05-26 12:04:17 +01:00
OpenStack Proposal Bot 387680ea21 Updated from global requirements
Change-Id: Idc9f4790ac945f1af21d42c6bccfc31aac549606
2017-05-17 03:55:27 +00:00
Jesse Pretorius bad9c32845 Fix role gate tests for Ansible 2.3
Add 'become' and root 'user' options to the playbook instead of using
'ansible_become' through an inventory variable.

Change-Id: I97929a66c9089363f3a89e96612d13ca1f28ab42
2017-05-16 12:38:11 +01:00
ZhongShengping 1e3a4a4463 Deprecate auth_plugin option
Option "auth_plugin" is deprecated, use option "auth_type" instead.

Change-Id: Ibe125dc89b7c59daf83b950692319ec18457d3f2
Implements: blueprint deprecate-auth-plugin
2017-03-25 12:25:28 +08:00
OpenStack Proposal Bot e343041ab9 Updated from global requirements
Change-Id: I842c1b729844e2ebaa25be23d147f34bfebc4526
2017-03-02 11:52:15 +00:00
OpenStack Proposal Bot 1fce2a3b69 Updated from global requirements
Change-Id: Iad48697dace39759e13171ee758b72b0bb29d45e
2017-02-11 17:49:23 +00:00
OpenStack Proposal Bot ce63f2735d Updated from global requirements
Change-Id: I7fe0fdca9da57a4cfe0629113743612d5b11ecaf
2017-02-10 05:56:31 +00:00
Cuong Nguyen a6eeb04728 Install python2 for Ubuntu 16.04 and CentOS 7 in Vagrant
Install python2 for Ubuntu 16.04 and CentOS 7 before executing test
script.

Change-Id: Iecc04347a3c6a14cb55878fd399f917c07bf3e74
2017-02-09 10:18:44 +07:00
gecong1973 e595724fe5 Use https instead of http for git.openstack.org
TrivialFix

Change-Id: Ib1bcb6ae5e2ef97579d39bceb93bf076c2492099
2017-02-06 11:39:31 +08:00
Logan V 541537405d Clean up developer mode logic
Fixes the ability to deploy a venv in cases where:
1) developer_mode is not enabled
2) A cached venv is not downloaded from the repo server

Additional cleanup to the developer_mode venv deployment
logic is implemented by adding a *_venv_download var
which is used to decouple developer_mode from the
cached venv extraction process so that a deployer
can force venv builds in-place (disable cached
venv usage) without enabling developer mode
constraints.

Change-Id: Id41f3963f4be4444dca8362e6f71f537f01429f2
2017-01-13 19:52:42 -06:00
Major Hayden e672bb29df Update and clean up run_tests.sh
The run_tests.sh script fails when it is run multiple times on CentOS.
The `bindep` run returns an empty list of packages and then `yum`
exits with an error since no packages were provided to install.

This patch checks the length of the `bindep` output and skips the `yum`
installation when the package list is empty.

The patch also cleans up some of the old cruft left over from previous
scripts and avoids repetition.

Change-Id: Icca27d370bb4fce00474eee57073b29c52f2d011
Signed-off-by: Major Hayden <major@mhtx.net>
2017-01-06 16:51:29 +00:00
gecong1973 f2b3ad95d3 Delete deprecated Hacking in tox.ini
Some hacking have been removed,so we can delete them.
More details:
     https://github.com/openstack-dev/hacking/blob/master/setup.cfg

Change-Id: I04e6e910995a274960ad1f975f50dd048defdd0b
2016-12-05 09:52:09 +08:00
OpenStack Proposal Bot 5fc33428bc Updated from global requirements
Change-Id: Ia426b7e929164485879e9c1b9fd38f2200409385
2016-12-02 05:11:19 +00:00
Jean-Philippe Evrard c45bf8e267 Point roles docs bugs to openstack-ansible LP
Currently when clicking on the small bug in the roles'
docs, we land on openstack-manuals launchpad.

This should solve it.

Change-Id: Ie8857c0697350d5e51a7eab218ca6849ca068caa
2016-12-01 14:05:21 +00:00
Flavio Percoco ca07c9d2a6 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/c49c82425b9ef92d81a4b91bd3fca431

Change-Id: Ic210a59ceb30d61a659038f27a04cc10f67c885a
2016-11-25 16:30:37 +01:00
Jesse Pretorius a713e95929 Reinitialize venv upon install
Reinitializes (copies python, etc binaries) into the venv when
dropping a new venv into place. This is needed because the Python
binary packaged with the venv may not match the Python running on
the host it is being installed to. (ie. in the case of a Xenial
repo container and a Trusty target host.)

Change-Id: I4ea706ac12e37c42eec41d5d734ad95cdcef9e58
Partial-Bug: #1637509
2016-11-16 09:14:46 +00:00
Jesse Pretorius fd78cdf252 Remove join filter from pip module tasks
Ansible 2.2 now treats the 'name' argument for the pip module
as a list, removing the need for us to implement the join
filter to optimise the install execution.

Change-Id: Ifbeae6a808f6c8be34cd7bb4d3a8d8e7ba1e5c9d
2016-11-09 21:35:43 +00:00
Jesse Pretorius 038e3c1cf6 Use updated get_url module checksum functionality
Starting in Ansible 2.0, the get_url [1] module provides the
ability for a checksum to be provided to the get_url module
which will be verified against the local destination file
and the task skipped if it matches.

[1] http://docs.ansible.com/ansible/get_url_module.html

This patch implements the use of this functionality.

The ability to ignore a venv download failure is also removed
as this is not necessary or desirable. It is better for the
download to fail and the playbook execution to stop immediately
so that the failure point is exposed.

Change-Id: Ibe9d3a98e663cb1c1d7ae07aa10c9cee8e6aba3f
2016-11-07 17:39:13 +00:00