qubership-pipelines-common-library 0.2.0__py3-none-any.whl → 0.2.2__py3-none-any.whl

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.
@@ -74,7 +74,7 @@ class GitlabClient:
74
74
  logging.debug(f"Updating file {file_path} on branch {ref}...")
75
75
  file = self.gl.projects.get(project_id, lazy=True).files.get(file_path=file_path, ref=ref)
76
76
  file.content = content
77
- file.save(branch=ref, commit_message=commit_message)
77
+ file.save(branch=ref, commit_message=commit_message, author_email=self.email)
78
78
  except GitlabGetError as e:
79
79
  if e.response_code == 404 and create_if_not_exists:
80
80
  self.create_file(project_id=project_id, file_path=file_path, content=content, ref=ref,
@@ -1,16 +1,17 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: qubership-pipelines-common-library
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Qubership Pipelines common library
5
5
  License: Apache-2.0
6
- Author: Igor Lebedev
7
- Author-email: lebedev.light@gmail.com
6
+ License-File: LICENSE
7
+ Author: Qubership
8
8
  Requires-Python: >=3.11,<4.0
9
9
  Classifier: License :: OSI Approved :: Apache Software License
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
13
  Classifier: Programming Language :: Python :: 3.13
14
+ Classifier: Programming Language :: Python :: 3.14
14
15
  Requires-Dist: GitPython (>=3.1.43,<4.0.0)
15
16
  Requires-Dist: boto3 (>=1.39.4,<2.0.0)
16
17
  Requires-Dist: click (>=8.1.7,<9.0.0)
@@ -27,12 +28,23 @@ Requires-Dist: urllib3 (>=2.2.3,<3.0.0)
27
28
  Requires-Dist: webexpythonsdk (==2.0.1)
28
29
  Description-Content-Type: text/markdown
29
30
 
31
+ [![PyPI](https://img.shields.io/pypi/v/qubership-pipelines-common-library)](https://pypi.org/project/qubership-pipelines-common-library/)
32
+ ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/qubership-pipelines-common-library)
33
+ ![Build](https://github.com/Netcracker/qubership-pipelines-common-python-library/actions/workflows/python-publish.yml/badge.svg)
34
+ ![Repo Size](https://img.shields.io/github/repo-size/Netcracker/qubership-pipelines-common-python-library)
35
+
30
36
  # Qubership Pipelines Common Library
31
37
 
32
38
  Open-source python library of clients used by Qubership pipelines/modules.
33
39
 
34
40
  Library provides easy-to-use clients and wrappers for common devops services (e.g. Jenkins, MiniO, GitLab Pipelines)
35
41
 
42
+ ## Sample implementation
43
+
44
+ Sample implementation of CLI commands using this library is available at [qubership-pipelines-cli-command-samples](https://github.com/Netcracker/qubership-pipelines-cli-command-samples)
45
+
46
+ It includes reference python implementation along with the [Development Guide](https://github.com/Netcracker/qubership-pipelines-cli-command-samples/blob/main/docs/development.md)
47
+
36
48
  ## Structure
37
49
 
38
50
  Library is presented as a set of clients with predefined operations
@@ -63,9 +75,3 @@ You can install it via `pip`:
63
75
  pip install qubership-pipelines-common-library-py39
64
76
  ```
65
77
 
66
- ## Sample implementation
67
-
68
- Sample implementation of CLI commands using this library is available at [qubership-pipelines-cli-command-samples](https://github.com/Netcracker/qubership-pipelines-cli-command-samples)
69
-
70
- It includes reference python implementation along with the [Development Guide](https://github.com/Netcracker/qubership-pipelines-cli-command-samples/blob/main/docs/development.md)
71
-
@@ -9,7 +9,7 @@ qubership_pipelines_common_library/v1/execution/exec_info.py,sha256=RsHaSdzAnOzR
9
9
  qubership_pipelines_common_library/v1/execution/exec_logger.py,sha256=rtSCLo3mqtwIc2S_tBs0uizehdthBGfygB1Vpwa-sRA,3102
10
10
  qubership_pipelines_common_library/v1/git_client.py,sha256=uop4dREW0HoaAbGHSzp3P4vk1Hk-VrPK5RhAP3Hj51o,6100
11
11
  qubership_pipelines_common_library/v1/github_client.py,sha256=cyAbPau94XfpVVvgRVk7sVgPWtp4Q-Bx-6HHgjQG3Xc,14607
12
- qubership_pipelines_common_library/v1/gitlab_client.py,sha256=I8o0qBm55oO99-sDHatYaFQEniGzE3gyielocOJNDtI,8633
12
+ qubership_pipelines_common_library/v1/gitlab_client.py,sha256=aKvkBRDIxyZ7TG0_AP8SXM2f4sgk7BCL1ZL2JKG-nEc,8658
13
13
  qubership_pipelines_common_library/v1/jenkins_client.py,sha256=VsD4KQNmLTeFvyVnY0m1xPv3s5bb-sNbgO6SwTJ2FfY,8597
14
14
  qubership_pipelines_common_library/v1/kube_client.py,sha256=rbdc0Q2r6AhJ49FKr-15_1r9Uit4_6U68rWwGYDjdWc,12715
15
15
  qubership_pipelines_common_library/v1/log_client.py,sha256=DTJ8aI_37l570RyolDC2cHaOkkccZWi7cFE6qYUuQeo,1514
@@ -26,7 +26,7 @@ qubership_pipelines_common_library/v1/utils/utils_file.py,sha256=6tCGosFjtycGJq0
26
26
  qubership_pipelines_common_library/v1/utils/utils_json.py,sha256=QczIlSYNOtXMuMWSznhV_BkXMM5KLn1wOogtlT2kcy0,598
27
27
  qubership_pipelines_common_library/v1/utils/utils_string.py,sha256=Phx5ZXPRjhjg9AaSPx6WLX9zQvwJH1txslfnG3jJ43w,993
28
28
  qubership_pipelines_common_library/v1/webex_client.py,sha256=3Ij4EGRX6bCq23dmj24E0TZ29Fq-7vd5Ejlqo0hbFvU,2860
29
- qubership_pipelines_common_library-0.2.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
30
- qubership_pipelines_common_library-0.2.0.dist-info/METADATA,sha256=UsznhtBrgJu66xboqQxFwKScb8b5SHdMcaYvGUpmO1E,2510
31
- qubership_pipelines_common_library-0.2.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
32
- qubership_pipelines_common_library-0.2.0.dist-info/RECORD,,
29
+ qubership_pipelines_common_library-0.2.2.dist-info/METADATA,sha256=WXjmNse7ZEvr7Xl8-HTMSKTu13Gq3iIxfLaKRBoDyFY,3017
30
+ qubership_pipelines_common_library-0.2.2.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
31
+ qubership_pipelines_common_library-0.2.2.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
32
+ qubership_pipelines_common_library-0.2.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.3
2
+ Generator: poetry-core 2.2.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any