qubership-pipelines-common-library 0.1.5__tar.gz → 0.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/PKG-INFO +1 -1
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/pyproject.toml +1 -1
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/git_client.py +2 -1
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/utils/utils_string.py +5 -1
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/LICENSE +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/README.md +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/__init__.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/__init__.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/artifactory_client.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/execution/__init__.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/execution/exec_command.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/execution/exec_context.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/execution/exec_context_file.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/execution/exec_info.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/execution/exec_logger.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/github_client.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/gitlab_client.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/jenkins_client.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/kube_client.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/log_client.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/minio_client.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/utils/__init__.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/utils/rest.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/utils/utils.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/utils/utils_context.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/utils/utils_dictionary.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/utils/utils_file.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/utils/utils_json.py +0 -0
- {qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/qubership_pipelines_common_library/v1/webex_client.py +0 -0
|
@@ -39,7 +39,7 @@ class GitClient:
|
|
|
39
39
|
self.branch = None # last processed branch
|
|
40
40
|
logging.info("Git Client configured for %s", self.host)
|
|
41
41
|
|
|
42
|
-
def clone(self, repo_path: str, branch: str, temp_path: str):
|
|
42
|
+
def clone(self, repo_path: str, branch: str, temp_path: str, **kwargs):
|
|
43
43
|
""""""
|
|
44
44
|
repo_path = repo_path.lstrip("/").rstrip("/")
|
|
45
45
|
if not repo_path:
|
|
@@ -56,6 +56,7 @@ class GitClient:
|
|
|
56
56
|
self._gen_repo_auth_url(self.host, self.username, self.password, self.repo_path),
|
|
57
57
|
temp_path,
|
|
58
58
|
branch=branch,
|
|
59
|
+
**kwargs
|
|
59
60
|
)
|
|
60
61
|
|
|
61
62
|
def commit_and_push(self, commit_message: str):
|
|
@@ -21,4 +21,8 @@ class UtilsString:
|
|
|
21
21
|
# split by newline, comma, or semicolon
|
|
22
22
|
parts = re.split(r'[\n,;]', input_str)
|
|
23
23
|
# trim whitespace from each part
|
|
24
|
-
return [part.strip() for part in parts if part.strip()]
|
|
24
|
+
return [part.strip() for part in parts if part.strip()]
|
|
25
|
+
|
|
26
|
+
@staticmethod
|
|
27
|
+
def convert_to_bool(input_str):
|
|
28
|
+
return str(input_str).strip().lower() == "true"
|
{qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/LICENSE
RENAMED
|
File without changes
|
{qubership_pipelines_common_library-0.1.5 → qubership_pipelines_common_library-0.1.6}/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|