Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provider Builder #1

Merged
merged 6 commits into from
Mar 10, 2024
Merged

Provider Builder #1

merged 6 commits into from
Mar 10, 2024

Conversation

techman83
Copy link
Contributor

Adds a basic provider builder, for consuming properly name spaced CDKTF provider packages

Example:

(venv) ➜  cally git:(feat/provider_builder) cally provider build --provider random --version 3.6.0
Generating random (3.6.0) provider
(venv) ➜  cally git:(feat/provider_builder) (cd build/random/ && python3 -m build)
* Creating venv isolated environment...
* Installing packages in isolated environment... (setuptools)
* Getting build dependencies for sdist...
<~~~~ output snipped ~~~~~>
Successfully built CallyProvidersRandom-3.6.0.tar.gz and CallyProvidersRandom-3.6.0-py3-none-any.whl
(venv) ➜  cally git:(feat/provider_builder) pip install build/random/dist/CallyProvidersRandom-3.6.0.tar.gz
Processing ./build/random/dist/CallyProvidersRandom-3.6.0.tar.gz
<~~~~ output snipped ~~~~~>
Successfully installed CallyProvidersRandom-3.6.0
(venv) ➜  cally git:(feat/provider_builder) pip list|grep Provider                                         
CallyProvidersRandom 3.6.0

The click group was throwing some errors, and this was a slightly non-standard
way of loading a version
The click group was throwing some errors, and this was a slightly non-standard
way of loading a version
This adds ability to automatically load commands from the commands namespace, giving
the ability to build namespace packages with custom command groups
This adds an initial test harness and a basic test
This adds an initial test harness and a basic test
This adds an initial cdktf provider builder, which calls cdktf get, and builds
a proper python package, namespaced under cally.providers
@techman83 techman83 merged commit ec0b8e8 into main Mar 10, 2024
1 check passed
@techman83 techman83 deleted the feat/provider_builder branch March 10, 2024 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant