Add git integration to pull module source
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related or that one is blocking others. Learn more.
Activity
- Matt changed milestone to %Milestone 2
changed milestone to %Milestone 2
- Matt created branch
40-add-git-integration-to-pull-module-source
to address this issuecreated branch
40-add-git-integration-to-pull-module-source
to address this issue - Matt mentioned in merge request !26 (merged)
mentioned in merge request !26 (merged)
The new extractor can be tested using the following:
from terrareg.models import Namespace, Module, ModuleProvider, ModuleVersion from terrareg.module_extractor import GitModuleExtractor from terrareg.database import Database Database.get().initialise() namespace = Namespace(name='github') module = Module(namespace=namespace, name='terraform-aws-rds') module_provider = ModuleProvider(module=module, name='aws') module_version = ModuleVersion(module_provider=module_provider, version='4.2.0') module_version.prepare_module() with GitModuleExtractor(git_url='https://github.com/terraform-aws-modules/terraform-aws-rds', tag_name='v4.2.0', module_version=module_version) as me: me.process_upload()
Edited by Matt- Matt closed via merge request !26 (merged)
closed via merge request !26 (merged)
Please register or sign in to reply