Merge "CI: run S3 cross-compat tests as part of DSVM jobs"

This commit is contained in:
Zuul
2025-05-28 18:05:47 +00:00
committed by Gerrit Code Review
2 changed files with 17 additions and 1 deletions

View File

@@ -242,7 +242,7 @@
COLUMNS: 240 COLUMNS: 240
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt' tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'
# This tox env get run twice; once for Keystone and once for tempauth # This tox env get run twice; once for Keystone and once for tempauth
tox_envlist: func tox_envlist: func,s3api
devstack_localrc: devstack_localrc:
SWIFT_HASH: changeme SWIFT_HASH: changeme
# We don't need multiple replicas to run purely functional tests. # We don't need multiple replicas to run purely functional tests.

View File

@@ -21,6 +21,14 @@
value: example.com value: example.com
become: true become: true
- name: Turn on s3_acl_tests_disabled in test.conf (for Keystone tests)
ini_file:
path: /etc/swift/test.conf
section: s3api_test
option: s3_acl_tests_disabled
value: true
become: true
- name: Set storage_domain in test/sample.conf (for tempauth tests) - name: Set storage_domain in test/sample.conf (for tempauth tests)
ini_file: ini_file:
path: "{{ ansible_env.HOME }}/{{ zuul.project.src_dir }}/test/sample.conf" path: "{{ ansible_env.HOME }}/{{ zuul.project.src_dir }}/test/sample.conf"
@@ -29,6 +37,14 @@
value: example.com value: example.com
become: true become: true
- name: Turn on s3_acl_tests_disabled in test/sample.conf (for tempauth tests)
ini_file:
path: "{{ ansible_env.HOME }}/{{ zuul.project.src_dir }}/test/sample.conf"
section: s3api_test
option: s3_acl_tests_disabled
value: true
become: true
- name: Enable object versioning - name: Enable object versioning
ini_file: ini_file:
path: /etc/swift/proxy-server.conf path: /etc/swift/proxy-server.conf