Skip to content

Commit 09e0a12

Browse files
committed
Use VERSION instead of SINGLE_VERSION like we do in whole org
Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent fe85290 commit 09e0a12

5 files changed

+8
-8
lines changed

test/run-openshift-pytest

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ THISDIR=$(dirname ${BASH_SOURCE[0]})
1010

1111
git show -s
1212

13-
cd "${THISDIR}" && python3 -m pytest -s -rxfapP --showlocals -vv test_mysql_*.py
13+
cd "${THISDIR}" && python3.12 -m pytest -s -rA --showlocals -vv test_mysql_*.py

test/test_mysql_imagestream.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
from container_ci_suite.utils import check_variables
88

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

1313

14-
VERSION = os.getenv("SINGLE_VERSION")
14+
VERSION = os.getenv("VERSION")
1515
IMAGE_NAME = os.getenv("IMAGE_NAME")
1616
OS = os.getenv("TARGET")
1717
TAGS = {

test/test_mysql_imagestream_template.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
from container_ci_suite.utils import check_variables
88

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

1313

14-
VERSION = os.getenv("SINGLE_VERSION")
14+
VERSION = os.getenv("VERSION")
1515
IMAGE_NAME = os.getenv("IMAGE_NAME")
1616
OS = os.getenv("TARGET")
1717
TAGS = {

test/test_mysql_latest_imagestreams.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
TEST_DIR = Path(os.path.abspath(os.path.dirname(__file__)))
1111

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

1616

test/test_mysql_template.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
from container_ci_suite.utils import check_variables
88

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

1313

14-
VERSION = os.getenv("SINGLE_VERSION")
14+
VERSION = os.getenv("VERSION")
1515
IMAGE_NAME = os.getenv("IMAGE_NAME")
1616
OS = os.getenv("TARGET")
1717

0 commit comments

Comments
 (0)