Skip to content

Commit

Permalink
Use unique repos for artifacts repair tests (#15617)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsedmik committed Jul 11, 2024
1 parent 1eee482 commit b7d8d0e
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions tests/foreman/cli/test_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
import pytest

from robottelo.config import settings
from robottelo.constants import (
CONTAINER_REGISTRY_HUB,
CONTAINER_UPSTREAM_NAME,
)
from robottelo.constants.repos import ANSIBLE_GALAXY, CUSTOM_FILE_REPO
from robottelo.content_info import get_repo_files_urls_by_url

Expand Down Expand Up @@ -57,17 +53,18 @@ def module_synced_content(
[
{'content_type': 'yum', 'url': settings.repos.yum_0.url},
{'content_type': 'file', 'url': CUSTOM_FILE_REPO},
# The following repos should be unique through robottelo to avoid 'No NEW artifacts found'
{
'content_type': 'docker',
'docker_upstream_name': CONTAINER_UPSTREAM_NAME,
'url': CONTAINER_REGISTRY_HUB,
'docker_upstream_name': 'libpod/busybox',
'url': 'https://quay.io',
},
{
'content_type': 'ansible_collection',
'url': ANSIBLE_GALAXY,
'ansible_collection_requirements': '{collections: [ \
{ name: theforeman.foreman, version: "2.1.0" }, \
{ name: theforeman.operations, version: "0.1.0"} ]}',
{ name: icinga.icinga, version: "0.3.3" }, \
{ name: icinga.icinga, version: "0.3.2"} ]}',
},
],
indirect=True,
Expand Down

0 comments on commit b7d8d0e

Please sign in to comment.