Skip to content

Commit

Permalink
Use VERSION instead of SINGLE_VERSION like we do in whole org
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
  • Loading branch information
phracek committed Jul 19, 2024
1 parent 4ec966e commit 2114ae1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions test/test_nginx_imagestream_s2i.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
from container_ci_suite.utils import get_service_image, check_variables

if not check_variables():
print("At least one variable from IMAGE_NAME, OS, SINGLE_VERSION is missing.")
print("At least one variable from IMAGE_NAME, OS, VERSION is missing.")
sys.exit(1)

BRANCH_TO_TEST = "master"
IMAGE_NAME = os.getenv("IMAGE_NAME")
OS = os.getenv("OS")
VERSION = os.getenv("SINGLE_VERSION")
VERSION = os.getenv("VERSION")


# bash test=test_nginx_imagestream
Expand Down
2 changes: 1 addition & 1 deletion test/test_nginx_imagestreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
TEST_DIR = Path(os.path.abspath(os.path.dirname(__file__)))

if not check_variables():
print("At least one variable from IMAGE_NAME, OS, SINGLE_VERSION is missing.")
print("At least one variable from IMAGE_NAME, OS, VERSION is missing.")
sys.exit(1)


Expand Down
4 changes: 2 additions & 2 deletions test/test_nginx_local_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
from container_ci_suite.utils import get_service_image, check_variables

if not check_variables():
print("At least one variable from IMAGE_NAME, OS, SINGLE_VERSION is missing.")
print("At least one variable from IMAGE_NAME, OS, VERSION is missing.")
sys.exit(1)

VERSION = os.getenv("SINGLE_VERSION")
VERSION = os.getenv("VERSION")
IMAGE_NAME = os.getenv("IMAGE_NAME")
OS = os.getenv("TARGET")

Expand Down
4 changes: 2 additions & 2 deletions test/test_nginx_remote_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
from container_ci_suite.utils import get_service_image, check_variables

if not check_variables():
print("At least one variable from IMAGE_NAME, OS, SINGLE_VERSION is missing.")
print("At least one variable from IMAGE_NAME, OS, VERSION is missing.")
sys.exit(1)

VERSION = os.getenv("SINGLE_VERSION")
VERSION = os.getenv("VERSION")
IMAGE_NAME = os.getenv("IMAGE_NAME")
OS = os.getenv("TARGET")

Expand Down
4 changes: 2 additions & 2 deletions test/test_nginx_template_example_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
from container_ci_suite.utils import get_service_image, check_variables

if not check_variables():
print("At least one variable from IMAGE_NAME, OS, SINGLE_VERSION is missing.")
print("At least one variable from IMAGE_NAME, OS, VERSION is missing.")
sys.exit(1)


VERSION = os.getenv("SINGLE_VERSION")
VERSION = os.getenv("VERSION")
IMAGE_NAME = os.getenv("IMAGE_NAME")
OS = os.getenv("TARGET")

Expand Down

0 comments on commit 2114ae1

Please sign in to comment.