Skip to content

Commit 43e80fd

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 e81892b commit 43e80fd

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

test/test_deploy_templates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
from container_ci_suite.utils import check_variables
77

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

1212

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

test/test_latest_imagestreams.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
TEST_DIR = Path(os.path.abspath(os.path.dirname(__file__)))
1010

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

15-
VERSION = os.getenv("SINGLE_VERSION")
15+
VERSION = os.getenv("VERSION")
1616

1717

1818
# Replacement with 'test_latest_imagestreams'

test/test_s2i_imagestreams.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77

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

1212

13-
VERSION = os.getenv("SINGLE_VERSION")
13+
VERSION = os.getenv("VERSION")
1414
IMAGE_NAME = os.getenv("IMAGE_NAME")
1515
OS = os.getenv("OS")
1616

test/test_s2i_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
from container_ci_suite.openshift import OpenShiftAPI
66

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

1111

12-
VERSION = os.getenv("SINGLE_VERSION")
12+
VERSION = os.getenv("VERSION")
1313
IMAGE_NAME = os.getenv("IMAGE_NAME")
1414
OS = os.getenv("TARGET")
1515

0 commit comments

Comments
 (0)