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:
Martin Kopec 2021-10-18 09:14:43 +00:00
parent 6a31474ecc
commit e5a1eb4c87
4 changed files with 14 additions and 14 deletions

View File

@ -22,9 +22,9 @@
parent: devstack parent: devstack
description: A job for refstack-client on a devstack environment description: A job for refstack-client on a devstack environment
required-projects: required-projects:
- osf/refstack-client - openinfra/refstack-client
- x/ansible-role-refstack-client - openinfra/ansible-role-refstack-client
- osf/python-tempestconf - openinfra/python-tempestconf
- openstack/devstack - openstack/devstack
- openstack/requirements - openstack/requirements
# NOTE until refstack-client installs plugins from local source # NOTE until refstack-client installs plugins from local source
@ -42,10 +42,10 @@
- zuul: openstack/devstack - zuul: openstack/devstack
vars: vars:
zuul_copy_output: zuul_copy_output:
"{{ zuul.projects['opendev.org/osf/refstack-client'].src_dir }}/etc/accounts.yaml": logs "{{ zuul.projects['opendev.org/openinfra/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/openinfra/refstack-client'].src_dir }}/etc/tempest.conf": logs
"{{ zuul.projects['opendev.org/osf/refstack-client'].src_dir }}/.tempest/.stestr/": logs "{{ zuul.projects['opendev.org/openinfra/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 }}/.tempest/tempest.log": logs
devstack_plugins: devstack_plugins:
heat: https://opendev.org/openstack/heat heat: https://opendev.org/openstack/heat
designate: https://opendev.org/openstack/designate designate: https://opendev.org/openstack/designate

View File

@ -1,7 +1,7 @@
# ansible-role-refstack-client # ansible-role-refstack-client
## About ## 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. 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 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 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 ## Example
To run the role from the repository: 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 $ cd ansible-role-refstack-client
$ mkdir roles && ln -s $(pwd) roles/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: 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: 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: 2. You can verify that the plugin is imported by:
``` ```

View File

@ -23,8 +23,8 @@
- name: Run ansible-role-refstack-client - name: Run ansible-role-refstack-client
include_tasks: ../tasks/main.yaml include_tasks: ../tasks/main.yaml
vars: vars:
refstack_client_source: "/home/zuul/{{ zuul.projects['opendev.org/osf/refstack-client'].src_dir }}" refstack_client_source: "/home/zuul/{{ zuul.projects['opendev.org/openinfra/refstack-client'].src_dir }}"
tempestconf_source: "/home/zuul/{{ zuul.projects['opendev.org/osf/python-tempestconf'].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_credentials: "{{ devstack_base_dir }}/devstack/openrc demo demo"
source_admin_credentials: "{{ devstack_base_dir }}/devstack/openrc admin admin" source_admin_credentials: "{{ devstack_base_dir }}/devstack/openrc admin admin"
# not all backends support shrinking shares, LVM one which is used in # not all backends support shrinking shares, LVM one which is used in

View File

@ -9,7 +9,7 @@
- name: Clone refstack-client - name: Clone refstack-client
git: git:
repo: 'https://opendev.org/osf/refstack-client.git' repo: 'https://opendev.org/openinfra/refstack-client.git'
dest: "{{ refstack_client_source }}" dest: "{{ refstack_client_source }}"
version: "{{ refstack_client_version }}" version: "{{ refstack_client_version }}"
when: local_refstack_found.matched == 0 when: local_refstack_found.matched == 0
@ -27,7 +27,7 @@
- name: Clone py2 python-tempestconf - name: Clone py2 python-tempestconf
git: 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" dest: "{{ refstack_client_source }}/.tempestconf_source"
version: "2.5.0" version: "2.5.0"
when: when: