Move metrics_qdr molecule tests to centos stream

These were failing with "Failed to download metadata for repo 'tripleo-centos-appstream': Cannot download repomd.xml"

Followed the pattern here to fix: https://review.opendev.org/c/openstack/tripleo-ansible/+/826535

Change-Id: I6627eef1ed0fa8eb7665ad8b6b9f61784702d8e4
This commit is contained in:
Chris Sibbitt 2022-02-11 15:04:58 -05:00
parent 16ca84577d
commit 67aa990899
6 changed files with 31 additions and 34 deletions

View File

@ -14,7 +14,7 @@
- name: "Set-up tripleo-repos"
command: |
tripleo-repos --no-stream -b master current-tripleo
tripleo-repos -b master current-tripleo
- name: Install Deps
package:

View File

@ -37,7 +37,7 @@
name: functional_tests
tasks_from: test_qdr
vars:
qdr_container_name: 'ubi8'
qdr_container_name: 'centos'
container_bin: podman
rescue:

View File

@ -5,18 +5,17 @@ driver:
log: true
platforms:
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
- name: centos
hostname: centos
image: centos/centos:stream8
registry:
url: registry.access.redhat.com
url: quay.io
pkg_extras: python*setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/dnf/vars:/etc/dnf/vars
# Had to comment this out to fix a problem installing rdo-release-victoria
# see common/prepare.yml
# - /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
# Had to comment this out or I get "No URLs in mirrorlist"
#- /etc/dnf/vars:/etc/dnf/vars
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
@ -30,7 +29,7 @@ provisioner:
hosts:
all:
hosts:
ubi8:
centos:
ansible_python_interpreter: /usr/bin/python3
vars:
ansible_user: root

View File

@ -5,18 +5,17 @@ driver:
log: true
platforms:
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
- name: centos
hostname: centos
image: centos/centos:stream8
registry:
url: registry.access.redhat.com
url: quay.io
pkg_extras: python*setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/dnf/vars:/etc/dnf/vars
# Had to comment this out to fix a problem installing rdo-release-victoria
# see common/prepare.yml
# - /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
# Had to comment this out or I get "No URLs in mirrorlist"
#- /etc/dnf/vars:/etc/dnf/vars
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
@ -30,7 +29,7 @@ provisioner:
hosts:
all:
hosts:
ubi8:
centos:
ansible_python_interpreter: /usr/bin/python3
vars:
ansible_user: root

View File

@ -5,18 +5,17 @@ driver:
log: true
platforms:
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
- name: centos
hostname: centos
image: centos/centos:stream8
registry:
url: registry.access.redhat.com
url: quay.io
pkg_extras: python*setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
- /etc/dnf/vars:/etc/dnf/vars
# Had to comment this out to fix a problem installing rdo-release-victoria
# see common/prepare.yml
# - /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
# Had to comment this out or I get "No URLs in mirrorlist"
#- /etc/dnf/vars:/etc/dnf/vars
- /etc/pki/rpm-gpg:/etc/pki/rpm-gpg
privileged: true
environment: &env
http_proxy: "{{ lookup('env', 'http_proxy') }}"
@ -30,7 +29,7 @@ provisioner:
hosts:
all:
hosts:
ubi8:
centos:
ansible_python_interpreter: /usr/bin/python3
vars:
ansible_user: root

View File

@ -5,11 +5,11 @@ driver:
log: true
platforms:
- name: ubi8
hostname: ubi8
image: ubi8/ubi-init
- name: centos
hostname: centos
image: centos/centos:stream8
registry:
url: registry.access.redhat.com
url: quay.io
pkg_extras: python*setuptools
volumes:
- /etc/ci/mirror_info.sh:/etc/ci/mirror_info.sh:ro
@ -30,7 +30,7 @@ provisioner:
hosts:
all:
hosts:
ubi8:
centos:
ansible_python_interpreter: /usr/bin/python3
vars:
ansible_user: root