Skip to content

Commit

Permalink
Do not test CentOS Stream helm chart imagestreams
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Sep 17, 2024
1 parent f721a75 commit d6145c7
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions test/test_httpd_helm_chart_imagestreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,31 +35,3 @@ def test_package_imagestream(self, version, registry):
assert self.hc_api.helm_package()
assert self.hc_api.helm_installation()
assert self.hc_api.check_imagestreams(version=version, registry=registry)


class TestHelmCentOSHttpdImagestreams:
def setup_method(self):
package_name = "httpd-imagestreams"
path = test_dir
self.hc_api = HelmChartsAPI(path=path, package_name=package_name, tarball_dir=test_dir, remote=True)
self.hc_api.clone_helm_chart_repo(
repo_url="https://github.com/sclorg/helm-charts", repo_name="helm-charts",
subdir="charts/centos"
)

def teardown_method(self):
self.hc_api.delete_project()

@pytest.mark.parametrize(
"version,registry",
[
("2.4-ubi9", "registry.access.redhat.com/ubi9/httpd-24:latest"),
("2.4-ubi8", "registry.access.redhat.com/ubi8/httpd-24:latest"),
("2.4-el8", "quay.io/sclorg/httpd-24-c8s:latest"),
("2.4-el9", "quay.io/sclorg/httpd-24-c9s:latest"),
]
)
def test_package_imagestream(self, version, registry):
assert self.hc_api.helm_package()
assert self.hc_api.helm_installation()
assert self.hc_api.check_imagestreams(version=version, registry=registry)

0 comments on commit d6145c7

Please sign in to comment.