[CI] Drop test config workaround in standalone jobs

devstack seems to honor local.conf's test-config
properly now, and this workaround is no longer
necessary.

Change-Id: I4f52a9f2a7a2ca12083c47766615ec2e8fdd4a49
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This commit is contained in:
Goutham Pacha Ravi 2023-08-14 15:01:11 -07:00
parent efbad5d8dc
commit f60b52515b
4 changed files with 0 additions and 37 deletions

View File

@ -5,7 +5,6 @@
- hosts: tempest
roles:
- setup-tempest-run-dir
- set-tempest-config
- setup-tempest-data-dir
- acl-devstack-files
- run-tempest

View File

@ -1,19 +0,0 @@
set-tempest-config
==================
This is a workaround for the `merge_config_file <https://opendev
.org/openstack/devstack/src/commit/76d7d7c90c3979c72404fddd31ee884c8bfdb1ec
/inc/meta-config#L82>`_ routine that doesn't working correctly on jobs based on
the "devstack-minimal" profile.
**Role Variables**
.. zuul:rolevar:: devstack_base_dir
:default: /opt/stack
The devstack base directory.
.. zuul:rolevar:: devstack_local_conf_path
:default: "{{ devstack_base_dir }}/devstack/local.conf"
Where to find the local.conf file

View File

@ -1,3 +0,0 @@
---
devstack_base_dir: /opt/stack
devstack_local_conf_path: "{{ devstack_base_dir }}/devstack/local.conf"

View File

@ -1,14 +0,0 @@
- name: Install required pip packages
pip:
name: devstack-tools
state: "latest"
virtualenv: /var/tmp/venv
- name: Copy tempest config
shell: >-
. /var/tmp/venv/bin/activate && \
dsconf extract {{ devstack_local_conf_path }} \
test-config \
'$TEMPEST_CONFIG' \
{{ devstack_base_dir }}/tempest/etc/tempest.conf
become: yes