diff --git a/cli/gardener_ci/pipeline.py b/cli/gardener_ci/pipeline.py index 7fb79f689..b2857e64f 100644 --- a/cli/gardener_ci/pipeline.py +++ b/cli/gardener_ci/pipeline.py @@ -18,6 +18,7 @@ logger = logging.getLogger('pipeline-cli') own_dir = os.path.abspath(os.path.dirname(__file__)) +cc_utils_root = os.path.join(own_dir, '../..') def _branch_cfg( @@ -438,6 +439,13 @@ def component_descriptor( 'ADD_DEPENDENCIES_CMD': dependencies_cmd, } + component_cli_path = os.path.join( + cc_utils_root, + 'bin', + ) + path = f'{os.environ.get('PATH', '')}:{component_cli_path}' + env['PATH'] = path + subprocess.run( (component_descriptor_script,), env=env,