Commit Graph

21 Commits

Author SHA1 Message Date
Guilherme Steinmüller b9a2cc75ab Retire openstack-ansible-os_almanach
Change-Id: I5fb5593772c41f5c18154c7ac77a12bfa79de625
2019-04-24 16:40:02 -04:00
melissaml 298bee214d Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: I2e0bf82c4a4d696067c2b1c1d2381a0f15f1d6b4
2018-11-08 19:59:25 +08:00
caoyuan 3cd7fbdc28 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: I739584e0f4585832dbc5ee37a82eda5582866023
2018-08-15 14:39:52 +08:00
Jean-Philippe Evrard be6bbec459 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: Ie5d46021a433be3bf40243546ca1e10f05e2fe8e
2018-07-12 16:59:17 +02:00
Mohammed Naser cd0281752c OSA0003: Password should not be logged
The password is currently logged in the tests which is failing
the linter tests.

Change-Id: I33e84b312e24db07fe9e875ca1546bf9f917cca8
2018-05-07 15:34:40 -04:00
Jesse Pretorius c9e7d54212 Remove tests-repo-clone.sh
Now that run_tests.sh handles the tests repo clone, we can
remove the use of the older tests-repo-clone.sh script.

Change-Id: I7c2b38c7cb07da34bb435e99a0eae1ec0eba5899
2018-03-28 10:12:49 +01:00
Zuul b54685ecb5 Merge "ansible-role-requirements: Use systemd_service role from openstack namespace" 2018-03-25 17:05:12 +00:00
Jesse Pretorius 5a4538e688 ansible-role-requirements: Use systemd_service role from openstack namespace
In order to ensure that the updated role is used for tests,
we adjust the a-r-r file to pull from the correct repo.

Change-Id: I5e7db93dee0f328fa2f6ab57b7c568f699501fdb
2018-03-25 16:18:36 +01:00
Jesse Pretorius 354e0800ff ansible-role-requirements: Add common python_venv_build role
In order to allow tests to work as the use of the common
role is implemented in the various roles, we pre-implement
the addition of the role into the a-r-r file.

Change-Id: Id5547ea9f48c0250330956d6b8463a4e315f92f7
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-03-24 23:18:45 +00:00
Jesse Pretorius 73a3cd6877 ansible-role-requirements: Add common systemd_service role
In order to allow tests to work with https://review.openstack.org/551028
merged, add the role to the a-r-r file.

Change-Id: I7533eab9e1665592c6028a7fa5fef01c28ec5611
2018-03-13 16:48:51 +00:00
OpenStack Proposal Bot 6397c60348 Updated from OpenStack Ansible Tests
Change-Id: I5f099270e8205d360445a888996da422a8485798
2018-02-14 20:04:42 +00:00
Jesse Pretorius 705339b5e8 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.

The meta-deps never appeared to be used, meaning that the
openstack_openrc role was never used either, and given that
vars are missing to make that work, the role dep has been
removed.

The requirement for httplib2 to use the get_uri module was
removed in Ansible 2.1 [1], so the installation of that for
functional testing has also been removed.

The requirements.txt was not used anywhere, so it's been
removed. The test-requirements.txt has been updated.

[1] http://docs.ansible.com/ansible/latest/uri_module.html#notes
Depends-On: I0391ec310c4eede436011a48490e3c524c8ddf4d
Change-Id: I186b3d7a17f964192b593d2f8734b3458a3cb671
2017-11-03 13:41:58 +00:00
OpenStack Proposal Bot 55ea1deb64 Updated from OpenStack Ansible Tests
Change-Id: I32a5ef5580621ab147c25656da98f2b7cdb05e43
2017-10-12 20:44:03 +00:00
Frédéric Guillot 8cf7a102f7 Update to Almanach 4.0.9
Change-Id: Ife6d2ed182bc4d34b998b0e3078140e75e262d79
2017-05-24 13:24:52 -04:00
Jesse Pretorius 8c1815194f 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.

Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
Depends-On: I5da7802d61d2ab6b03908138e3a3ed2db22e3d29
Change-Id: Ie027302841a31913ca98dfcb2a6d227986f434ae
2017-05-16 11:27:05 +00:00
Jesse Pretorius 31621c2699 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: Ia041b0a921600f941f21b83ab511ee7edaaeb0ab
2017-05-16 12:09:24 +01:00
Frédéric Guillot 19f4aa01f3 Update role for Almanach 4.0.3
Change-Id: Iafd1e77646c6bdde81116aad7899d1d85f976bc1
2017-01-23 15:55:05 -05:00
Frédéric Guillot bde023eee8 Make config files compatible with Almanach 3.3.x
Change-Id: I87becaf01439ba6397d7b9e02c91546dfb4dd1e1
2016-11-08 13:13:22 -05:00
Frédéric Guillot 837e546212 Make project compatible with CI infra
Change-Id: I5a6e77b98566ee7086f2d9b68d3ac55747ad2778
2016-10-31 14:27:36 -04:00
Frédéric Guillot f9760d8c98 Make the role compatible with Ubuntu Xenial 2016-10-05 13:02:06 -04:00
Frédéric Guillot 7610442766 Use OpenStack project layout 2016-10-04 11:43:09 -04:00