]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/orch/cephadm: add 8.stream + container_tools
authorSage Weil <sage@newdream.net>
Mon, 8 Nov 2021 17:01:45 +0000 (11:01 -0600)
committerAdam King <adking@redhat.com>
Mon, 7 Feb 2022 22:49:02 +0000 (17:49 -0500)
Signed-off-by: Sage Weil <sage@newdream.net>
Conflicts:
qa/suites/rados/cephadm/upgrade/1-start-distro/1-start-centos_8.stream_container-tools.yaml

qa/distros/podman/centos_8.stream_container_tools.yaml [new file with mode: 0644]
qa/suites/rados/cephadm/smoke/distro/centos_8.stream_container_tools.yaml [new symlink]
qa/suites/rados/cephadm/upgrade/1-start-distro/1-start-centos_8.stream_container-tools.yaml [new file with mode: 0644]
qa/suites/rados/cephadm/workunits/0-distro/centos_8.stream_container_tools.yaml [new symlink]

diff --git a/qa/distros/podman/centos_8.stream_container_tools.yaml b/qa/distros/podman/centos_8.stream_container_tools.yaml
new file mode 100644 (file)
index 0000000..4a9578e
--- /dev/null
@@ -0,0 +1,14 @@
+os_type: centos
+os_version: "8.stream"
+overrides:
+  selinux:
+    whitelist:
+      - scontext=system_u:system_r:logrotate_t:s0
+
+tasks:
+- pexec:
+    all:
+    - sudo cp /etc/containers/registries.conf /etc/containers/registries.conf.backup
+    - sudo dnf -y  module reset container-tools
+    - sudo dnf -y  module install container-tools
+    - sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf
diff --git a/qa/suites/rados/cephadm/smoke/distro/centos_8.stream_container_tools.yaml b/qa/suites/rados/cephadm/smoke/distro/centos_8.stream_container_tools.yaml
new file mode 120000 (symlink)
index 0000000..7a86f96
--- /dev/null
@@ -0,0 +1 @@
+.qa/distros/podman/centos_8.stream_container_tools.yaml
\ No newline at end of file
diff --git a/qa/suites/rados/cephadm/upgrade/1-start-distro/1-start-centos_8.stream_container-tools.yaml b/qa/suites/rados/cephadm/upgrade/1-start-distro/1-start-centos_8.stream_container-tools.yaml
new file mode 100644 (file)
index 0000000..539a47b
--- /dev/null
@@ -0,0 +1,13 @@
+tasks:
+- cephadm:
+    image: docker.io/ceph/ceph:v15.2.9
+    cephadm_branch: v15.2.9
+    cephadm_git_url: https://github.com/ceph/ceph
+    # avoid --cap-add=PTRACE + --privileged for older cephadm versions
+    allow_ptrace: false
+os_type: centos
+os_version: "8.stream"
+overrides:
+  selinux:
+    whitelist:
+      - scontext=system_u:system_r:logrotate_t:s0
diff --git a/qa/suites/rados/cephadm/workunits/0-distro/centos_8.stream_container_tools.yaml b/qa/suites/rados/cephadm/workunits/0-distro/centos_8.stream_container_tools.yaml
new file mode 120000 (symlink)
index 0000000..7a86f96
--- /dev/null
@@ -0,0 +1 @@
+.qa/distros/podman/centos_8.stream_container_tools.yaml
\ No newline at end of file