Reflect x/ to openinfra/ namespace move
Lately ansible-role-refstack-client got moved from x/ namespace to openinfra/ [1] one, this commit reflects that change. [1] https://review.opendev.org/c/openstack/project-config/+/765787 Change-Id: Ifba099ebac6ae4498cc088cb1062dc895e3b443a
This commit is contained in:
parent
6a31474ecc
commit
e5a1eb4c87
14
.zuul.yaml
14
.zuul.yaml
@ -22,9 +22,9 @@
|
||||
parent: devstack
|
||||
description: A job for refstack-client on a devstack environment
|
||||
required-projects:
|
||||
- osf/refstack-client
|
||||
- x/ansible-role-refstack-client
|
||||
- osf/python-tempestconf
|
||||
- openinfra/refstack-client
|
||||
- openinfra/ansible-role-refstack-client
|
||||
- openinfra/python-tempestconf
|
||||
- openstack/devstack
|
||||
- openstack/requirements
|
||||
# NOTE until refstack-client installs plugins from local source
|
||||
@ -42,10 +42,10 @@
|
||||
- zuul: openstack/devstack
|
||||
vars:
|
||||
zuul_copy_output:
|
||||
"{{ zuul.projects['opendev.org/osf/refstack-client'].src_dir }}/etc/accounts.yaml": logs
|
||||
"{{ zuul.projects['opendev.org/osf/refstack-client'].src_dir }}/etc/tempest.conf": logs
|
||||
"{{ zuul.projects['opendev.org/osf/refstack-client'].src_dir }}/.tempest/.stestr/": logs
|
||||
"{{ zuul.projects['opendev.org/osf/refstack-client'].src_dir }}/.tempest/tempest.log": logs
|
||||
"{{ zuul.projects['opendev.org/openinfra/refstack-client'].src_dir }}/etc/accounts.yaml": logs
|
||||
"{{ zuul.projects['opendev.org/openinfra/refstack-client'].src_dir }}/etc/tempest.conf": logs
|
||||
"{{ zuul.projects['opendev.org/openinfra/refstack-client'].src_dir }}/.tempest/.stestr/": logs
|
||||
"{{ zuul.projects['opendev.org/openinfra/refstack-client'].src_dir }}/.tempest/tempest.log": logs
|
||||
devstack_plugins:
|
||||
heat: https://opendev.org/openstack/heat
|
||||
designate: https://opendev.org/openstack/designate
|
||||
|
@ -1,7 +1,7 @@
|
||||
# ansible-role-refstack-client
|
||||
|
||||
## About
|
||||
It's an ansible playbook for running [refstack-client](https://opendev.org/osf/refstack-client).
|
||||
It's an ansible playbook for running [refstack-client](https://opendev.org/openinfra/refstack-client).
|
||||
It can be useful in automation where this role can be included in other playbooks.
|
||||
The role is importable to [Infrared](https://github.com/redhat-openstack/infrared.git) as an infrared
|
||||
plugin, so right after Infrared deploys an environment, this role can be executed to ensure the
|
||||
@ -42,7 +42,7 @@ deployment is working by passing refstack tests.
|
||||
## Example
|
||||
To run the role from the repository:
|
||||
```
|
||||
$ git clone https://opendev.org/x/ansible-role-refstack-client.git
|
||||
$ git clone https://opendev.org/openinfra/ansible-role-refstack-client.git
|
||||
$ cd ansible-role-refstack-client
|
||||
$ mkdir roles && ln -s $(pwd) roles/ansible-role-refstack-client
|
||||
```
|
||||
@ -69,7 +69,7 @@ $ ansible-playbook playbook.yaml
|
||||
Run the following steps to run the plugin:
|
||||
1. Install infrared and add ansible-role-refstack-client plugin by providing the url to this repo:
|
||||
```
|
||||
(infrared)$ ir plugin add https://opendev.org/x/ansible-role-refstack-client.git --src-path infrared_plugin
|
||||
(infrared)$ ir plugin add https://opendev.org/openinfra/ansible-role-refstack-client.git --src-path infrared_plugin
|
||||
```
|
||||
2. You can verify that the plugin is imported by:
|
||||
```
|
||||
|
@ -23,8 +23,8 @@
|
||||
- name: Run ansible-role-refstack-client
|
||||
include_tasks: ../tasks/main.yaml
|
||||
vars:
|
||||
refstack_client_source: "/home/zuul/{{ zuul.projects['opendev.org/osf/refstack-client'].src_dir }}"
|
||||
tempestconf_source: "/home/zuul/{{ zuul.projects['opendev.org/osf/python-tempestconf'].src_dir }}"
|
||||
refstack_client_source: "/home/zuul/{{ zuul.projects['opendev.org/openinfra/refstack-client'].src_dir }}"
|
||||
tempestconf_source: "/home/zuul/{{ zuul.projects['opendev.org/openinfra/python-tempestconf'].src_dir }}"
|
||||
source_credentials: "{{ devstack_base_dir }}/devstack/openrc demo demo"
|
||||
source_admin_credentials: "{{ devstack_base_dir }}/devstack/openrc admin admin"
|
||||
# not all backends support shrinking shares, LVM one which is used in
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
- name: Clone refstack-client
|
||||
git:
|
||||
repo: 'https://opendev.org/osf/refstack-client.git'
|
||||
repo: 'https://opendev.org/openinfra/refstack-client.git'
|
||||
dest: "{{ refstack_client_source }}"
|
||||
version: "{{ refstack_client_version }}"
|
||||
when: local_refstack_found.matched == 0
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
- name: Clone py2 python-tempestconf
|
||||
git:
|
||||
repo: 'https://git.openstack.org/osf/python-tempestconf.git'
|
||||
repo: 'https://git.openstack.org/openinfra/python-tempestconf.git'
|
||||
dest: "{{ refstack_client_source }}/.tempestconf_source"
|
||||
version: "2.5.0"
|
||||
when:
|
||||
|
Loading…
x
Reference in New Issue
Block a user