Skip to content
Snippets Groups Projects
Commit 16ce0da2 authored by Damian Alvarez's avatar Damian Alvarez
Browse files

To don't run the dependency tweaker on the CI, so we catch mistakes

parent 0c7f1ab6
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,6 @@ REQUIRE_MODALTSOFTNAME = { ...@@ -86,7 +86,6 @@ REQUIRE_MODALTSOFTNAME = {
def installation_vetoer(ec): def installation_vetoer(ec):
"Check whether this package is NOT supposed to be installed in this system, and abort if necessary" "Check whether this package is NOT supposed to be installed in this system, and abort if necessary"
if os.getenv('CI') is None:
name = ec['name'] name = ec['name']
system_name = os.getenv('LMOD_SYSTEM_NAME') system_name = os.getenv('LMOD_SYSTEM_NAME')
if system_name is None: if system_name is None:
...@@ -205,6 +204,7 @@ def parse_hook(ec, *args, **kwargs): ...@@ -205,6 +204,7 @@ def parse_hook(ec, *args, **kwargs):
"""Custom parse hook to manage installations intended for JSC systems.""" """Custom parse hook to manage installations intended for JSC systems."""
# First of all check if this should be installed # First of all check if this should be installed
if os.getenv('CI') is None:
installation_vetoer(ec) installation_vetoer(ec)
# Process compiler options # Process compiler options
...@@ -225,6 +225,7 @@ def parse_hook(ec, *args, **kwargs): ...@@ -225,6 +225,7 @@ def parse_hook(ec, *args, **kwargs):
ec = inject_site_contact_and_user_labels(ec) ec = inject_site_contact_and_user_labels(ec)
if os.getenv('CI') is None:
ec = tweak_dependencies(ec) ec = tweak_dependencies(ec)
# If we are parsing we are not searching, in this case if the easyconfig is # If we are parsing we are not searching, in this case if the easyconfig is
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment