-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from ibejohn818/add-twine-pypi
Add twine pypi
- Loading branch information
Showing
12 changed files
with
137 additions
and
21 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -11,3 +11,4 @@ PyYAML | |
pytest | ||
pytest-runner | ||
pytest-cov | ||
twine |
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
|
||
__author__ = """John Hardy""" | ||
__email__ = '[email protected]' | ||
__version__ = '0.1.2' | ||
__version__ = '0.1.5' | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
@@ -290,6 +290,8 @@ def list_amis(self): | |
|
||
return amis | ||
|
||
|
||
|
||
class SoloStack(): | ||
pass | ||
|
||
|
@@ -370,10 +372,10 @@ def parse_template_components(self, env, context): | |
def get_stack_name(self): | ||
|
||
return "{}{}{}{}".format( | ||
''.join([i.capitalize() for i in self.infra.prefix]), | ||
self.infra.name.capitalize(), | ||
self.stack_name.capitalize(), | ||
self.name.capitalize() | ||
''.join([utils.ucfirst(i) for i in self.infra.prefix]), | ||
utils.ucfirst(self.infra.name), | ||
utils.ucfirst(self.stack_name), | ||
utils.ucfirst(self.name) | ||
) | ||
|
||
def get_remote_stack_name(self): | ||
|
@@ -656,7 +658,15 @@ def find_class_in_list(self, ls, clazz, name=None): | |
|
||
return None | ||
|
||
# def get_dependent_stacks(self, infra): | ||
def review(self, infra): | ||
|
||
# get stack dependencies | ||
deps = infra.get_dependent_stacks(self) | ||
|
||
cf = self.infra.boto_session.client('cloudformation') | ||
|
||
info = cf.describe_stacks(StackName=self.get_remote_stack_name()) | ||
print(info['Stacks'][0]['Parameters']) | ||
|
||
def build_template(self): | ||
raise NotImplementedError("Must implement method to extend Stack") | ||
|
Empty file.
Empty file.
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