The current centos/rhel version of podman (2.2.1) is broken.
- create new qa/distros/podman/* files that install kubic podman
- include centos/rhel variants
- adjust cephadm jobs to use new yaml files
- remove old qa/distros/all/*_podman.yaml files
trivial fix: we do not have cephadm/thrash suite in octopus(removed)
- distro(from octopus) renamed to 0-distro(from pacific)
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit
11beb7287084b56ac7cbd45ac3d28b3d9fa4cc5b)
+++ /dev/null
-os_type: ubuntu
-os_version: "18.04"
-
-# feel free to remove this test, if Kubic project is no longer maintained.
-tasks:
-- exec:
- all:
- - curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/Release.key | sudo apt-key add -
- - echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
- - sudo apt update
- - sudo apt -y install podman
- - echo -e "[[registry]]\nlocation = 'docker.io'\n\n[[registry.mirror]]\nlocation='docker-mirror.front.sepia.ceph.com:5000'\n" | sudo tee /etc/containers/registries.conf
+++ /dev/null
-os_type: ubuntu
-os_version: "20.04"
-
-# feel free to remove this test, if Kubic project is no longer maintained.
-tasks:
-- exec:
- all:
- - curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/Release.key | sudo apt-key add -
- - echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
- - sudo apt update
- - sudo apt -y install podman
- - echo -e "[[registry]]\nlocation = 'docker.io'\n\n[[registry.mirror]]\nlocation='docker-mirror.front.sepia.ceph.com:5000'\n" | sudo tee /etc/containers/registries.conf
--- /dev/null
+os_type: centos
+os_version: "8.2"
+overrides:
+ selinux:
+ whitelist:
+ - scontext=system_u:system_r:logrotate_t:s0
+
+tasks:
+- exec:
+ all:
+ - sudo dnf -y module disable container-tools
+ - sudo dnf -y install 'dnf-command(copr)'
+ - sudo dnf -y copr enable rhcontainerbot/container-selinux
+ - sudo curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_8/devel:kubic:libcontainers:stable.repo
+ - sudo dnf remove -y podman
+ - sudo dnf -y install podman
--- /dev/null
+os_type: rhel
+os_version: "8.3"
+overrides:
+ selinux:
+ whitelist:
+ - scontext=system_u:system_r:logrotate_t:s0
+
+tasks:
+- exec:
+ all:
+ - sudo dnf -y module disable container-tools
+ - sudo dnf -y install 'dnf-command(copr)'
+ - sudo dnf -y copr enable rhcontainerbot/container-selinux
+ - sudo curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_8/devel:kubic:libcontainers:stable.repo
+ - sudo dnf remove -y podman
+ - sudo dnf -y install podman
--- /dev/null
+os_type: ubuntu
+os_version: "18.04"
+
+# feel free to remove this test, if Kubic project is no longer maintained.
+tasks:
+- exec:
+ all:
+ - curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/Release.key | sudo apt-key add -
+ - echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
+ - sudo apt update
+ - sudo apt -y install podman
+ - echo -e "[[registry]]\nlocation = 'docker.io'\n\n[[registry.mirror]]\nlocation='docker-mirror.front.sepia.ceph.com:5000'\n" | sudo tee /etc/containers/registries.conf
--- /dev/null
+os_type: ubuntu
+os_version: "20.04"
+
+# feel free to remove this test, if Kubic project is no longer maintained.
+tasks:
+- exec:
+ all:
+ - curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/Release.key | sudo apt-key add -
+ - echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
+ - sudo apt update
+ - sudo apt -y install podman
+ - echo -e "[[registry]]\nlocation = 'docker.io'\n\n[[registry.mirror]]\nlocation='docker-mirror.front.sepia.ceph.com:5000'\n" | sudo tee /etc/containers/registries.conf
--- /dev/null
+os_type: ubuntu
+os_version: "20.04"
+
+# feel free to remove this test, if Kubic project is no longer maintained.
+tasks:
+- exec:
+ all:
+ - curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_20.04/Release.key | sudo apt-key add -
+ - echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:testing.list
+ - sudo apt update
+ - sudo apt -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install podman
+ - echo -e "[[registry]]\nlocation = 'docker.io'\n\n[[registry.mirror]]\nlocation='docker-mirror.front.sepia.ceph.com:5000'\n" | sudo tee /etc/containers/registries.conf
+++ /dev/null
-.qa/distros/all/centos_8.0.yaml
\ No newline at end of file
+++ /dev/null
-.qa/distros/supported/centos_latest.yaml
\ No newline at end of file
+++ /dev/null
-.qa/distros/supported/rhel_latest.yaml
\ No newline at end of file
--- /dev/null
+.qa/distros/podman/ubuntu_20.04_kubic_stable.yaml
\ No newline at end of file
--- /dev/null
+.qa/distros/podman/ubuntu_20.04_kubic_testing.yaml
\ No newline at end of file
+++ /dev/null
-.qa/distros/all/ubuntu_20.04_podman.yaml
\ No newline at end of file
--- /dev/null
+../smoke/distro/
\ No newline at end of file
+++ /dev/null
-../.qa
\ No newline at end of file
+++ /dev/null
-.qa/distros/all/centos_8.0.yaml
\ No newline at end of file
+++ /dev/null
-.qa/distros/supported/centos_latest.yaml
\ No newline at end of file
+++ /dev/null
-.qa/distros/supported/rhel_latest.yaml
\ No newline at end of file
+++ /dev/null
-.qa/distros/all/ubuntu_18.04.yaml
\ No newline at end of file
--- /dev/null
+../.qa
\ No newline at end of file
--- /dev/null
+.qa/distros/podman/ubuntu_20.04_kubic_stable.yaml
\ No newline at end of file
--- /dev/null
+.qa/distros/podman/ubuntu_20.04_kubic_testing.yaml
\ No newline at end of file
+++ /dev/null
-../.qa
\ No newline at end of file
+++ /dev/null
-.qa/distros/supported/centos_latest.yaml
\ No newline at end of file
+++ /dev/null
-.qa/distros/all/ubuntu_18.04_podman.yaml
\ No newline at end of file