Browse Source

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.
changes/80/654780/1
OpenDev Sysadmins 2 years ago
parent
commit
4c66f5cf82
  1. 2
      .gitreview
  2. 16
      .zuul.yaml
  3. 4
      playbooks/python-tempestconf-tempest-devstack.yaml
  4. 4
      playbooks/python-tempestconf-tempest-packstack.yaml
  5. 2
      roles/generate-accounts-file/tasks/main.yaml
  6. 2
      roles/generate-tempestconf-file-cloud/tasks/main.yaml
  7. 2
      roles/generate-tempestconf-file/tasks/main.yaml

2
.gitreview

@ -1,4 +1,4 @@
[gerrit]
host=review.openstack.org
host=review.opendev.org
port=29418
project=openstack/python-tempestconf.git

16
.zuul.yaml

@ -40,19 +40,19 @@
- openstack/manila-tempest-plugin
- openstack/python-tempestconf
- openstack/tempest
- openstack-dev/devstack
- openstack/devstack
roles:
- zuul: openstack/python-tempestconf
- zuul: openstack/tempest
- zuul: openstack-dev/devstack
- zuul: openstack/devstack
vars:
zuul_copy_output:
'{{ devstack_base_dir }}/tempest/tempest.log': logs
'{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
'{{ zuul.project.src_dir }}/etc/accounts.yaml': logs
devstack_plugins:
manila: https://git.openstack.org/openstack/manila
manila-ui: https://git.openstack.org/openstack/manila-ui
manila: https://opendev.org/openstack/manila
manila-ui: https://opendev.org/openstack/manila-ui
devstack_localrc:
MANILA_USE_UWSGI: False
MANILA_USE_MOD_WSGI: False
@ -67,16 +67,16 @@
parent: packstack-allinone
description: Base job for python-tempestconf on packstack environment
required-projects:
- openstack/packstack
- x/packstack
- openstack/python-tempestconf
- openstack/tempest
- openstack-dev/devstack
- openstack/devstack
post-run: playbooks/upload-logs.yaml
roles:
- zuul: openstack/packstack
- zuul: x/packstack
- zuul: openstack/python-tempestconf
- zuul: openstack/tempest
- zuul: openstack-dev/devstack
- zuul: openstack/devstack
vars:
tempest_concurrency: 2
scenario: scenario000

4
playbooks/python-tempestconf-tempest-devstack.yaml

@ -1,6 +1,6 @@
- hosts: all
roles:
# the role is inherited from openstack-dev/devstack project
# the role is inherited from openstack/devstack project
- run-devstack
- hosts: tempest
@ -8,7 +8,7 @@
# It's important that OS_AUTH_URL is in this format:
# <protocol>://<host>/identity/v3
# In some cases it can be only: <protocol>://<host>:5000
# https://github.com/openstack-dev/devstack/blob/2c9343e5db44fa7a41ca6924737331dd9088ef8f/openrc#L87-L89
# https://github.com/openstack/devstack/blob/2c9343e5db44fa7a41ca6924737331dd9088ef8f/openrc#L87-L89
# (mkopec) That would end up with an HTTP MaxRetryError to <host>:5000,
# therefor OS_AUTH_URL is defined manually
set_auth_url: "OS_AUTH_URL=$SERVICE_PROTOCOL://$SERVICE_HOST/identity/v3"

4
playbooks/python-tempestconf-tempest-packstack.yaml

@ -3,12 +3,12 @@
test_demo_user: "{{ test_demo is defined }}"
tasks:
# packstack-integration-tempest role is inherited from
# openstack/packstack project
# x/packstack project
- name: Install packstack allinone
include_role:
name: packstack-integration-tempest
# setup-tempest-user, setup-stack-user and setup-devstack-source-dirs
# are inherited from openstack-dev/devstack
# are inherited from openstack/devstack
- name: Setup Stack user
include_role:
name: setup-stack-user

2
roles/generate-accounts-file/tasks/main.yaml

@ -77,4 +77,4 @@
when: accounts_file_destination is defined
vars:
tempest_src_relative_path: "{{ zuul.projects['git.openstack.org/openstack/tempest'].src_dir }}"
tempest_src_relative_path: "{{ zuul.projects['opendev.org/openstack/tempest'].src_dir }}"

2
roles/generate-tempestconf-file-cloud/tasks/main.yaml

@ -99,4 +99,4 @@
cat {{ tempestconf_src_relative_path }}/etc/cloud_tempest.conf
vars:
tempestconf_src_relative_path: "{{ zuul.projects['git.openstack.org/openstack/python-tempestconf'].src_dir }}"
tempestconf_src_relative_path: "{{ zuul.projects['opendev.org/openstack/python-tempestconf'].src_dir }}"

2
roles/generate-tempestconf-file/tasks/main.yaml

@ -68,4 +68,4 @@
when: output_path is defined
vars:
tempestconf_src_relative_path: "{{ zuul.projects['git.openstack.org/openstack/python-tempestconf'].src_dir }}"
tempestconf_src_relative_path: "{{ zuul.projects['opendev.org/openstack/python-tempestconf'].src_dir }}"
Loading…
Cancel
Save