diff --git a/examples/rails-postgresql-persistent.json b/examples/rails-postgresql-persistent.json index 97d7fdd8..de21ca49 100644 --- a/examples/rails-postgresql-persistent.json +++ b/examples/rails-postgresql-persistent.json @@ -141,10 +141,7 @@ "secret": "${GITHUB_WEBHOOK_SECRET}" } } - ], - "postCommit": { - "script": "bundle exec rake test" - } + ] } }, { diff --git a/test/test_ruby_ex_standalone.py b/test/test_ruby_ex_standalone.py index 867cb870..fe7d4e51 100644 --- a/test/test_ruby_ex_standalone.py +++ b/test/test_ruby_ex_standalone.py @@ -7,11 +7,11 @@ from container_ci_suite.openshift import OpenShiftAPI 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") diff --git a/test/test_ruby_latest_imagestreams.py b/test/test_ruby_latest_imagestreams.py index e3a58b7d..70aa92ac 100644 --- a/test/test_ruby_latest_imagestreams.py +++ b/test/test_ruby_latest_imagestreams.py @@ -9,10 +9,10 @@ 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) -VERSION = os.getenv("SINGLE_VERSION") +VERSION = os.getenv("VERSION") # Replacement with 'test_latest_imagestreams' diff --git a/test/test_s2i_imagestreams.py b/test/test_s2i_imagestreams.py index 79cfe574..00e61000 100644 --- a/test/test_s2i_imagestreams.py +++ b/test/test_s2i_imagestreams.py @@ -6,11 +6,11 @@ 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("OS") diff --git a/test/test_s2i_integration.py b/test/test_s2i_integration.py index 67436559..2e2ba60f 100644 --- a/test/test_s2i_integration.py +++ b/test/test_s2i_integration.py @@ -5,11 +5,11 @@ from container_ci_suite.openshift import OpenShiftAPI 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") diff --git a/test/test_s2i_local_templates.py b/test/test_s2i_local_templates.py index 3d04583f..e996b56d 100644 --- a/test/test_s2i_local_templates.py +++ b/test/test_s2i_local_templates.py @@ -7,11 +7,11 @@ from container_ci_suite.utils import 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") diff --git a/test/test_s2i_rails_ex_templates.py b/test/test_s2i_rails_ex_templates.py index dfeb31e8..bfb7d2af 100644 --- a/test/test_s2i_rails_ex_templates.py +++ b/test/test_s2i_rails_ex_templates.py @@ -7,11 +7,11 @@ from container_ci_suite.utils import 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")