Skip to content

Commit

Permalink
releasing 0.0.15 - fix for issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
eamonnfaherty committed Apr 18, 2019
1 parent 54bb5f8 commit 187804c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
12 changes: 12 additions & 0 deletions servicecatalog_puppet/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,8 +625,20 @@ def bootstrap_spoke(master_account_id):
logger.info('Finished bootstrap of spoke')


@cli.command()
@click.argument('branch-name')
def bootstrap_branch(branch_name):
global VERSION
VERSION = "https://github.com/awslabs/aws-service-catalog-puppet/archive/{}.zip".format(branch_name)
do_bootstrap()


@cli.command()
def bootstrap():
do_bootstrap()


def do_bootstrap():
logger.info('Starting bootstrap')
with betterboto_client.MultiRegionClientContextManager('cloudformation', ALL_REGIONS) as clients:
logger.info('Creating {}-regional'.format(BOOTSTRAP_STACK_NAME))
Expand Down
8 changes: 8 additions & 0 deletions servicecatalog_puppet/servicecatalog-puppet.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,11 @@ Resources:
phases:
install:
commands:
{% if 'http' in VERSION %}
- pip install {{ VERSION }}
{% else %}
- pip install aws-service-catalog-puppet=={{ VERSION }}
{% endif %}
build:
commands:
- servicecatalog-puppet --info generate-shares manifest.yaml
Expand Down Expand Up @@ -569,7 +573,11 @@ Resources:
phases:
install:
commands:
{% if 'http' in VERSION %}
- pip install {{ VERSION }}
{% else %}
- pip install aws-service-catalog-puppet=={{ VERSION }}
{% endif %}
build:
commands:
- servicecatalog-puppet --info deploy manifest.yaml
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="aws-service-catalog-puppet",
version="0.0.14",
version="0.0.15",
author="Eamonn Faherty",
author_email="[email protected]",
description="Making it easier to deploy ServiceCatalog products",
Expand Down

0 comments on commit 187804c

Please sign in to comment.