]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw: add new rgw/website suite for static website tests
authorCasey Bodley <cbodley@redhat.com>
Thu, 5 Sep 2019 19:54:10 +0000 (15:54 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 17 Sep 2019 12:24:51 +0000 (08:24 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/suites/rgw/website/% [new file with mode: 0644]
qa/suites/rgw/website/.qa [new symlink]
qa/suites/rgw/website/clusters/.qa [new symlink]
qa/suites/rgw/website/clusters/fixed-2.yaml [new symlink]
qa/suites/rgw/website/frontend [new symlink]
qa/suites/rgw/website/http.yaml [new file with mode: 0644]
qa/suites/rgw/website/overrides.yaml [new file with mode: 0644]
qa/suites/rgw/website/tasks/.qa [new symlink]
qa/suites/rgw/website/tasks/s3tests-website.yaml [new file with mode: 0644]

diff --git a/qa/suites/rgw/website/% b/qa/suites/rgw/website/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/rgw/website/.qa b/qa/suites/rgw/website/.qa
new file mode 120000 (symlink)
index 0000000..fea2489
--- /dev/null
@@ -0,0 +1 @@
+../.qa
\ No newline at end of file
diff --git a/qa/suites/rgw/website/clusters/.qa b/qa/suites/rgw/website/clusters/.qa
new file mode 120000 (symlink)
index 0000000..fea2489
--- /dev/null
@@ -0,0 +1 @@
+../.qa
\ No newline at end of file
diff --git a/qa/suites/rgw/website/clusters/fixed-2.yaml b/qa/suites/rgw/website/clusters/fixed-2.yaml
new file mode 120000 (symlink)
index 0000000..230ff0f
--- /dev/null
@@ -0,0 +1 @@
+.qa/clusters/fixed-2.yaml
\ No newline at end of file
diff --git a/qa/suites/rgw/website/frontend b/qa/suites/rgw/website/frontend
new file mode 120000 (symlink)
index 0000000..926a53e
--- /dev/null
@@ -0,0 +1 @@
+.qa/rgw_frontend
\ No newline at end of file
diff --git a/qa/suites/rgw/website/http.yaml b/qa/suites/rgw/website/http.yaml
new file mode 100644 (file)
index 0000000..24cb6fc
--- /dev/null
@@ -0,0 +1 @@
+# https tests would need to generate wildcard certificates; only test http for now
diff --git a/qa/suites/rgw/website/overrides.yaml b/qa/suites/rgw/website/overrides.yaml
new file mode 100644 (file)
index 0000000..b40a8f2
--- /dev/null
@@ -0,0 +1,25 @@
+# see http://tracker.ceph.com/issues/20360 and http://tracker.ceph.com/issues/18126
+os_type: centos
+
+overrides:
+  install:
+    flavor: notcmalloc
+  ceph:
+    conf:
+      global:
+        osd_min_pg_log_entries: 10
+        osd_max_pg_log_entries: 10
+      client:
+        debug rgw: 20
+        rgw crypt s3 kms encryption keys: testkey-1=YmluCmJvb3N0CmJvb3N0LWJ1aWxkCmNlcGguY29uZgo= testkey-2=aWIKTWFrZWZpbGUKbWFuCm91dApzcmMKVGVzdGluZwo=
+        rgw crypt require ssl: false
+        rgw enable static website: True
+      client.0:
+        rgw lc debug interval: 10
+      client.1:
+        rgw enable apis: s3website
+    rgw:
+      client.0:
+        valgrind: [--tool=memcheck, --max-threads=1024] # http://tracker.ceph.com/issues/25214
+      client.1:
+        valgrind: [--tool=memcheck, --max-threads=1024] # http://tracker.ceph.com/issues/25214
diff --git a/qa/suites/rgw/website/tasks/.qa b/qa/suites/rgw/website/tasks/.qa
new file mode 120000 (symlink)
index 0000000..fea2489
--- /dev/null
@@ -0,0 +1 @@
+../.qa
\ No newline at end of file
diff --git a/qa/suites/rgw/website/tasks/s3tests-website.yaml b/qa/suites/rgw/website/tasks/s3tests-website.yaml
new file mode 100644 (file)
index 0000000..9ca6fcf
--- /dev/null
@@ -0,0 +1,17 @@
+tasks:
+- install:
+- ceph:
+- dnsmasq:
+    client.0:
+      s3.: client.0
+      s3-website.: client.1
+- rgw:
+    client.0:
+      dns-name: s3.
+    client.1:
+      dns-s3website-name: s3-website.
+- s3tests:
+    client.0:
+      force-branch: ceph-master
+      rgw_server: client.0
+      rgw_website_server: client.1