From 55518208ab6d93ccbe7a971f306f549e34b7741f Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 7 Feb 2020 17:49:39 -0600 Subject: [PATCH] qa/suites/rados/cephadm: move ubuntu_18.04_podman to shared location Also set the registries.conf file so we can pull from docker.io. Signed-off-by: Sage Weil --- qa/distros/all/ubuntu_18.04_podman.yaml | 11 +++++++++++ .../cephadm/smoke/distro/ubuntu_18.04_podman.yaml | 11 +---------- .../cephadm/with-work/distro/ubuntu_18.04_podman.yaml | 11 +---------- .../cephadm/workunits/distro/ubuntu_18.04_podman.yaml | 11 +---------- 4 files changed, 14 insertions(+), 30 deletions(-) create mode 100644 qa/distros/all/ubuntu_18.04_podman.yaml mode change 100644 => 120000 qa/suites/rados/cephadm/smoke/distro/ubuntu_18.04_podman.yaml mode change 100644 => 120000 qa/suites/rados/cephadm/with-work/distro/ubuntu_18.04_podman.yaml mode change 100644 => 120000 qa/suites/rados/cephadm/workunits/distro/ubuntu_18.04_podman.yaml diff --git a/qa/distros/all/ubuntu_18.04_podman.yaml b/qa/distros/all/ubuntu_18.04_podman.yaml new file mode 100644 index 0000000000000..6bb83b2b0eb17 --- /dev/null +++ b/qa/distros/all/ubuntu_18.04_podman.yaml @@ -0,0 +1,11 @@ +os_type: ubuntu +os_version: "18.04" + +# feel free to remove this test, if ppa:projectatomic is no longer maintained. +tasks: +- exec: + all: + - sudo apt -y install software-properties-common + - sudo add-apt-repository -y ppa:projectatomic/ppa + - sudo apt -y install podman + - echo -e "[registries.search]\nregistries = ['docker.io']" | sudo tee /etc/containers/registries.conf diff --git a/qa/suites/rados/cephadm/smoke/distro/ubuntu_18.04_podman.yaml b/qa/suites/rados/cephadm/smoke/distro/ubuntu_18.04_podman.yaml deleted file mode 100644 index 6126bb24eb243..0000000000000 --- a/qa/suites/rados/cephadm/smoke/distro/ubuntu_18.04_podman.yaml +++ /dev/null @@ -1,10 +0,0 @@ -os_type: ubuntu -os_version: "18.04" - -# feel free to remove this test, if ppa:projectatomic is no longer maintained. -tasks: -- exec: - all: - - sudo apt -y install software-properties-common - - sudo add-apt-repository -y ppa:projectatomic/ppa - - sudo apt -y install podman diff --git a/qa/suites/rados/cephadm/smoke/distro/ubuntu_18.04_podman.yaml b/qa/suites/rados/cephadm/smoke/distro/ubuntu_18.04_podman.yaml new file mode 120000 index 0000000000000..b948dd4343c9a --- /dev/null +++ b/qa/suites/rados/cephadm/smoke/distro/ubuntu_18.04_podman.yaml @@ -0,0 +1 @@ +.qa/distros/all/ubuntu_18.04_podman.yaml \ No newline at end of file diff --git a/qa/suites/rados/cephadm/with-work/distro/ubuntu_18.04_podman.yaml b/qa/suites/rados/cephadm/with-work/distro/ubuntu_18.04_podman.yaml deleted file mode 100644 index 6126bb24eb243..0000000000000 --- a/qa/suites/rados/cephadm/with-work/distro/ubuntu_18.04_podman.yaml +++ /dev/null @@ -1,10 +0,0 @@ -os_type: ubuntu -os_version: "18.04" - -# feel free to remove this test, if ppa:projectatomic is no longer maintained. -tasks: -- exec: - all: - - sudo apt -y install software-properties-common - - sudo add-apt-repository -y ppa:projectatomic/ppa - - sudo apt -y install podman diff --git a/qa/suites/rados/cephadm/with-work/distro/ubuntu_18.04_podman.yaml b/qa/suites/rados/cephadm/with-work/distro/ubuntu_18.04_podman.yaml new file mode 120000 index 0000000000000..b948dd4343c9a --- /dev/null +++ b/qa/suites/rados/cephadm/with-work/distro/ubuntu_18.04_podman.yaml @@ -0,0 +1 @@ +.qa/distros/all/ubuntu_18.04_podman.yaml \ No newline at end of file diff --git a/qa/suites/rados/cephadm/workunits/distro/ubuntu_18.04_podman.yaml b/qa/suites/rados/cephadm/workunits/distro/ubuntu_18.04_podman.yaml deleted file mode 100644 index 6126bb24eb243..0000000000000 --- a/qa/suites/rados/cephadm/workunits/distro/ubuntu_18.04_podman.yaml +++ /dev/null @@ -1,10 +0,0 @@ -os_type: ubuntu -os_version: "18.04" - -# feel free to remove this test, if ppa:projectatomic is no longer maintained. -tasks: -- exec: - all: - - sudo apt -y install software-properties-common - - sudo add-apt-repository -y ppa:projectatomic/ppa - - sudo apt -y install podman diff --git a/qa/suites/rados/cephadm/workunits/distro/ubuntu_18.04_podman.yaml b/qa/suites/rados/cephadm/workunits/distro/ubuntu_18.04_podman.yaml new file mode 120000 index 0000000000000..b948dd4343c9a --- /dev/null +++ b/qa/suites/rados/cephadm/workunits/distro/ubuntu_18.04_podman.yaml @@ -0,0 +1 @@ +.qa/distros/all/ubuntu_18.04_podman.yaml \ No newline at end of file -- 2.39.5