154 Commits

Author SHA1 Message Date
Jesse Pretorius
22b34fbf86 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: I3103b032d8847eeb044d87e0ed7950c9078e18a1
2017-10-17 20:52:06 +00:00
OpenStack Proposal Bot
3a016ab97b Updated from OpenStack Ansible Tests
Change-Id: I397fe8ba216254ba814869fbfa3834fc3c884310
2017-10-12 20:44:59 +00:00
Jean-Philippe Evrard
7fa4d657be Add OpenStack-Ansible metadata
We need to add openstack ansible information in the role
metadata to be able to track role maturity. With it,
we can create a role maturity table and take decisions about
role deprecations.

Change-Id: Ibd95d93c3ad1b754a49b6bc635f36fe8ee48d7b2
2017-10-11 09:06:21 +00:00
OpenStack Proposal Bot
7867e8218b Updated from global requirements
Change-Id: I670c9d8ddf9b1372817f747d5178d3cd090a1d72
2017-09-16 23:20:24 +00:00
Jenkins
94cd8f2256 Merge "Updated from global requirements" 2017-09-13 18:10:32 +00:00
OpenStack Proposal Bot
cd6193e48e Updated from global requirements
Change-Id: I70049d513f6e195b6a56cbf0224bbdc72d3356a5
2017-09-13 12:59:07 +00:00
OpenStack Proposal Bot
55fa31b61d Updated from OpenStack Ansible Tests
Change-Id: Iba59414495eec6b7404802031a5b31be913acf86
2017-09-12 23:55:41 +00:00
OpenStack Proposal Bot
dcfee8a524 Updated from OpenStack Ansible Tests
Change-Id: I63358ae97b959213a01e4f348d92081895453d42
2017-09-11 21:14:08 +00:00
OpenStack Proposal Bot
8a872872bb Updated from OpenStack Ansible Tests
Change-Id: I880c0115d19debafb00d0ece65aed7a14ad3cd66
2017-08-31 15:19:41 +00:00
OpenStack Proposal Bot
d2e8c571a1 Updated from OpenStack Ansible Tests
Change-Id: I36c5f88f287c0a52ed5713e61066a313fc763c72
2017-08-24 13:58:20 +00:00
Jenkins
935e41f30f Merge "Update reno for stable/pike" 2017-08-18 16:32:46 +00:00
be7b94fd14 Update reno for stable/pike
Change-Id: I7ae84ad1f374d1dedc0bd08598854581fbb1a557
2017-08-18 12:38:29 +00:00
OpenStack Proposal Bot
b530ed82d2 Updated from global requirements
Change-Id: Ib741ab86001ef13ddc867b1508185c3f3eb37a4b
2017-08-18 11:38:24 +00:00
OpenStack Proposal Bot
67a3b84c99 Updated from OpenStack Ansible Tests
Change-Id: I9f4a1dab5fe4c0307753e68bd34a36e1d9337e5a
16.0.0.0rc1
2017-08-04 15:22:27 +00:00
OpenStack Proposal Bot
ffe290ca61 Updated from OpenStack Ansible Tests
Change-Id: Iea143b7bf7e163e74bed099311ad67c023a5499f
2017-08-03 15:26:59 +00:00
OpenStack Proposal Bot
1b1a4c526d Updated from OpenStack Ansible Tests
Change-Id: I6b541949e179e2cf1cca055699c944b6f4b757b3
2017-07-31 19:11:25 +00:00
Jenkins
fff19e8e54 Merge "Updated from global requirements" 2017-07-28 18:35:56 +00:00
OpenStack Proposal Bot
7bd67ca60d Updated from OpenStack Ansible Tests
Change-Id: I5a349e16e95945c427793743a98fdf1718d6e3e1
2017-07-28 15:00:49 +00:00
OpenStack Proposal Bot
528089664d Updated from global requirements
Change-Id: I71f9af4bd5a34f803fc1215d77c74492695e1f89
2017-07-27 19:17:58 +00:00
ZhongShengping
df6ffda04b Update URLs in documents according to document migration
Change-Id: Ib13bb08e67f9c273b3cd97384987ef5b85eb44a0
16.0.0.0b3
2017-07-14 09:45:12 +08:00
OpenStack Proposal Bot
7c65365aec Updated from OpenStack Ansible Tests
Change-Id: Id355f0de7c5857cdb6adcd3d29da236baa64b99c
2017-07-06 21:08:48 +00:00
OpenStack Proposal Bot
ba12900dba Updated from OpenStack Ansible Tests
Change-Id: I07b5718e90311d3cdf62add866d83b45985f8c50
2017-07-06 13:02:59 +00:00
ZhongShengping
e45463109d 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: Ibe45903eba62be86ed0678ce3479cd2826930b50
2017-07-03 16:45:15 +08:00
OpenStack Proposal Bot
9125458265 Updated from global requirements
Change-Id: I00c10105e1b39eee1c7e7885c8e7ad047379362c
2017-06-27 12:18:31 +00:00
ZhongShengping
e868358f0e 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: Ied6e76840d00fcd52e01434fcacd641051ac0757
2017-06-26 11:38:17 +08:00
OpenStack Proposal Bot
df7dfdc2b3 Updated from OpenStack Ansible Tests
Change-Id: I17c7e76c3e67c4775aa41903060ec273696a6ac9
2017-06-22 15:19:58 +00:00
OpenStack Proposal Bot
209619562d Updated from global requirements
Change-Id: Ib8aee61099c72a0820296e9e6a818ada895cca2c
2017-06-12 12:59:43 +00:00
OpenStack Proposal Bot
ff854d212b Updated from global requirements
Change-Id: I2a06e5ce5c1bf3db08d3a806bed97a9250b47eea
2017-06-10 21:45:10 +00:00
Jesse Pretorius
bcd0ab8bc9 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: I2ca6f08645a15e0b7393f378324dd9919170b7c6
2017-06-04 11:22:38 +01:00
OpenStack Proposal Bot
a1291a9f78 Updated from global requirements
Change-Id: Ic2bea0102d736bf5bd913c07c9f977239e86ae0b
2017-06-02 22:03:38 +00:00
Andy McCrae
a1ca8da03c 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: Ic1e11482673df6da3a13c63947ccd27711a1248a
16.0.0.0b2
2017-05-26 11:53:55 +01:00
Jesse Pretorius
997a03aa81 Add venv_tag local fact
In order to make it easier to detect the currently deployed
venv for a service, and therefore allow smarter decisions
for things like upgrading, we implement the venv tag as a
local fact.

The file used to store facts will be the same for all
OpenStack services, with each service using its own section.

Example:

"ansible_local": {
    "openstack_ansible": {
        "rally": {
            "venv_tag": "14.2.1"
        }
    }
}

Change-Id: Icdc4a3bf4e802d8065105155aad207192d2df266
2017-05-22 16:07:53 +00:00
OpenStack Proposal Bot
bda907746d Updated from global requirements
Change-Id: I8e2d1e631458c92e4a8d15b34af3dc05c019fbbe
2017-05-17 03:55:14 +00:00
Rick Box
65383e885d 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: Ifeb9be248764abd091392a793954173f866ac708
2017-05-10 14:12:44 +01:00
Jenkins
7e4a5590ab Merge "Use zuul-cloner for tests repo in OpenStack-CI" 2017-05-08 15:56:28 +00:00
Jesse Pretorius
cab2a12c46 Use zuul-cloner for tests repo in OpenStack-CI
When executing the tests repo clone in OpenStack-CI,
use zuul-cloner instead of git to enable cross-repo
testing. This ensures that if a dependent patch from
the tests repo is noted using 'Depends-On: <change-id>'
in the commit message, that patch will be included.

Change-Id: Ia14642622b7dab5eecff0bca7c8cff8763c16d92
Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
2017-05-04 16:53:00 +01:00
Jesse Pretorius
fdc4458b74 Use package module to install distro packages
Consolidate distro package install tasks into a
single task using the package module. Tidy up
some other tasks to reduce task file sprawl and
consolidate some task actions.

The minimum Ansible version is raised to 2.2 due to a
known bug [1] in Ansible's apt module which does not
update the cache properly if the cache update and the
install are combined in a single task.

[1] https://github.com/ansible/ansible-modules-core/issues/1497

Change-Id: I95e02c2786b3a21b6188a5930fb827b6ab04fadb
2017-05-02 12:14:14 +00:00
Jesse Pretorius
c61017d758 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: I530293245724949dc172dfa95a820db32b6a665c
2017-05-02 13:13:29 +01:00
Logan V
96153c5b32 Install python2-pyOpenSSL package on CentOS
Package pyOpenSSL is obsoleted by python2-pyOpenSSL.

Change-Id: Ib7c2158098e800096e85a87c27489fc44064ebce
16.0.0.0b1
2017-03-03 12:49:51 -06:00
OpenStack Proposal Bot
555b80a8f4 Updated from global requirements
Change-Id: Ie8f90743ec92b0fda4e8443b9d66a822c8548863
2017-03-02 11:52:02 +00:00
OpenStack Proposal Bot
ae98d1e8e7 Updated from global requirements
Change-Id: I9f81594297d51721ccf9d09749a71689efa154dd
2017-02-11 17:49:10 +00:00
OpenStack Proposal Bot
37b0cfa515 Updated from global requirements
Change-Id: Ie7926eacfc0bbbb3125a5181bc6bde40bf405b39
2017-02-10 05:56:18 +00:00
Cuong Nguyen
c754941f7c 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: I457b4be9e143328e07b4c8160925cc44237938df
2017-02-07 10:59:44 +07:00
Jenkins
b95cbd2d6e Merge "Update reno for stable/ocata" 2017-02-06 09:22:10 +00:00
gecong1973
852b4299b0 Use https instead of http for git.openstack.org
TrivialFix

Change-Id: Icc03742921f7a177ac7e7d0faf33d0f7916ff9e5
2017-02-06 11:11:33 +08:00
e3a82d661d Update reno for stable/ocata
Change-Id: I85093905af020faaf937f03502dc6c12f2bacfc5
2017-02-03 18:58:42 +00:00
Jenkins
dc9dd4f772 Merge "Clean up developer mode logic" 15.0.0.0rc1 15.0.0.0b3 2017-01-19 14:54:49 +00:00
Logan V
c295b18a79 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: I6939e47455898c07003f1b480e6d65b5d06e4c68
2017-01-18 13:37:28 +00:00
Jenkins
15a087ba75 Merge "Update and clean up run_tests.sh" 2017-01-16 18:37:56 +00:00
Jenkins
c8310d96be Merge "Bring consistency to tags" 2017-01-16 18:27:06 +00:00