-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce dedicated cfg-mgmt python distribution package
Especially hyperscaler SDKs are heavyweight, however we only use those in very few occasions. With this python distribution package we will be able to install them only if required, and remove from general purpose "job image".
- Loading branch information
Showing
16 changed files
with
96 additions
and
103 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.2602.0-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
-r requirements.ocm.txt | ||
-r requirements.txt | ||
-r requirements.whd.txt | ||
-r requirements.cfg_mgmt.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
aliyun-python-sdk-core | ||
aliyun-python-sdk-ecs | ||
aliyun-python-sdk-ram | ||
boto3 | ||
google-api-core<3 | ||
google-api-python-client<3 | ||
google-auth | ||
google-cloud-storage<3 | ||
google-crc32c>1.1.4 | ||
kubernetes>=26.0.0 | ||
msal<2 | ||
openstacksdk | ||
oss2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import setuptools | ||
import os | ||
|
||
own_dir = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
|
||
def requirements(): | ||
yield 'gardener-cicd-libs>=' + version() | ||
|
||
with open(os.path.join(own_dir, 'requirements.cfg_mgmt.txt')) as f: | ||
for line in f.readlines(): | ||
line = line.strip() | ||
if not line or line.startswith('#'): | ||
continue | ||
|
||
yield line | ||
|
||
|
||
def version(): | ||
with open(os.path.join(own_dir, 'cfg_mgmt', 'VERSION')) as f: | ||
return f.read().strip() | ||
|
||
|
||
setuptools.setup( | ||
name='gardener-cicd-cfg-mgmt', | ||
version=version(), | ||
description='Gardener CI/CD Config Management', | ||
long_description='Gardener CI/CD Config Management', | ||
long_description_content_type='text/markdown', | ||
python_requires='>=3.12', | ||
packages=['cfg_mgmt'], | ||
install_requires=list(requirements()), | ||
entry_points={}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters