Skip to content

Commit

Permalink
merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
maci3jka committed Nov 8, 2024
1 parent c9f3371 commit 8d41794
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/integration/tests/test_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import subprocess
import tempfile
from typing import List
import os

import pytest
from cryptography import x509
Expand Down
4 changes: 3 additions & 1 deletion tests/integration/tests/test_cncf_conformace.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ def cluster_setup(instances: List[harness.Instance]) -> harness.Instance:


def install_sonobuoy(instance: harness.Instance):
instance.exec(["curl", "-L", config.sonobuoy_tar_gz(instance.arch), "-o", "sonobuoy.tar.gz"])
instance.exec(
["curl", "-L", config.sonobuoy_tar_gz(instance.arch), "-o", "sonobuoy.tar.gz"]
)
instance.exec(["tar", "xvzf", "sonobuoy.tar.gz"])
instance.exec(["./sonobuoy", "version"])
2 changes: 1 addition & 1 deletion tests/integration/tests/test_util/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@
# sonobuoy_tar_gz is a full path of sonobuoy to download
def sonobuoy_tar_gz(architecture: str) -> str:
os.getenv("TEST_SONOBUOY_VERSION") or "v0.57.2"
return f"https://github.com/vmware-tanzu/sonobuoy/releases/download/{SONOBUOY_VERSION}/sonobuoy_{SONOBUOY_VERSION[1: ]}_linux_{architecture}.tar.gz" # noqa
return f"https://github.com/vmware-tanzu/sonobuoy/releases/download/{SONOBUOY_VERSION}/sonobuoy_{SONOBUOY_VERSION[1: ]}_linux_{architecture}.tar.gz" # noqa

0 comments on commit 8d41794

Please sign in to comment.