]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/distros: add ubuntu 20.04 targets
authorSage Weil <sage@newdream.net>
Sat, 23 Jan 2021 17:20:52 +0000 (11:20 -0600)
committerDeepika Upadhyay <dupadhya@redhat.com>
Tue, 22 Jun 2021 14:50:54 +0000 (20:20 +0530)
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 24c2d2b1244d95c232f927dad1417717a2768ece)

qa/distros/all/ubuntu_20.04.yaml [new file with mode: 0644]
qa/distros/all/ubuntu_20.04_podman.yaml [new file with mode: 0644]

diff --git a/qa/distros/all/ubuntu_20.04.yaml b/qa/distros/all/ubuntu_20.04.yaml
new file mode 100644 (file)
index 0000000..f203982
--- /dev/null
@@ -0,0 +1,2 @@
+os_type: ubuntu
+os_version: "20.04"
diff --git a/qa/distros/all/ubuntu_20.04_podman.yaml b/qa/distros/all/ubuntu_20.04_podman.yaml
new file mode 100644 (file)
index 0000000..bd57bbf
--- /dev/null
@@ -0,0 +1,12 @@
+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