Skip to content
Permalink
Branch: master
Commits on May 16, 2019
  1. add CAPABILITY_AUTO_EXPAND capability for macros (#731)

    troyready authored and phobologic committed May 16, 2019
    Without this capability, creating a stack with a macro results in the
    following error:
    
    An error occurred (InsufficientCapabilitiesException) when calling the
    CreateStack operation: Requires capabilities : [CAPABILITY_AUTO_EXPAND]
Commits on May 9, 2019
  1. add botocore minimum version requirement (#729)

    troyready authored and russellballestrini committed May 9, 2019
    Fixes #726
Commits on Feb 24, 2019
  1. add jinja2 template parsing (#701)

    troyready authored and phobologic committed Feb 24, 2019
    * add jinja2 template parsing
    
    * fix use with non-blueprint variables and lookups
Commits on Jan 9, 2019
  1. add ssm param types (#692)

    troyready authored and phobologic committed Jan 9, 2019
Commits on Nov 4, 2018
  1. add local package sources (#677)

    troyready authored and phobologic committed Nov 4, 2018
  2. add '?' to lookup regex (#676)

    troyready authored and phobologic committed Nov 4, 2018
    Filters passed into the ami lookup may include question marks
Commits on Sep 10, 2018
  1. fix interactive_update_stack calls with empty string parameters (#658)

    troyready authored and phobologic committed Sep 10, 2018
    PR #644 didn't account for empty string parameters
Commits on Aug 28, 2018
  1. update git ref to explicitly return string (fix py3 bytes error) (#649)

    troyready authored and phobologic committed Aug 28, 2018
Commits on Aug 19, 2018
  1. allow raw cfn templates to be loaded from remote package_sources (#638)

    troyready authored and phobologic committed Aug 19, 2018
    * allow raw cfn templates to be loaded from remote package_sources
    
    Fixes #628
    
    * add test for new get_template_path function
Commits on Aug 12, 2018
  1. fix file lookup documented and actual return types (#646)

    troyready authored and phobologic committed Aug 12, 2018
    Previously, file was reported to return `GenericHelperFn`, when it in
    fact would return either `GenericHelperFn` or `Base64`. Updated the
    docstring to reflect their common base class instead.
    
    Also updated the function to fix a regression where a string was
    sometimes being returned instead.
    
    Fixes #645
  2. account for UsePreviousValue parameters in diffs (#644)

    troyready authored and phobologic committed Aug 12, 2018
Commits on Aug 7, 2018
  1. add missing config keys to s3 package source model (#642)

    troyready authored and phobologic committed Aug 7, 2018
Commits on Mar 23, 2018
  1. adapt #532 to windows stacker.cmd

    troyready authored and ejholmes committed Mar 22, 2018
Commits on Feb 23, 2018
  1. add bats test for diff with raw template

    troyready committed Feb 23, 2018
  2. fix diff against yaml templates

    troyready committed Feb 23, 2018
Commits on Feb 21, 2018
  1. add wrapper method for yaml_parse

    troyready committed Feb 21, 2018
  2. vendor in awscli's yamlhelper

    troyready committed Feb 21, 2018
Commits on Feb 19, 2018
  1. avoid loading GitPython unnecessarily (#536)

    troyready authored and phobologic committed Feb 19, 2018
    this should eliminate the need for setting the GIT_PYTHON_REFRESH
    environment variable on systems without git installed
  2. fix loading of yaml templates with CFN tags

    troyready committed Feb 19, 2018
    Ref!/Sub!/etc will no longer fail to load
Commits on Feb 11, 2018
  1. add raw json/yaml template support (#530)

    troyready authored and phobologic committed Feb 11, 2018
    * add raw json/yaml template support
    
    Fixes #444
    
    * fix diff; fix transform; remove build action hack
    
    * add raw template tests
    
    * additional updates for raw template support
    
    * update diff action to support regular & raw blueprints without
      conditions
    * fix validation & test of class / template path use in Config
    * move raw blueprint specific function from util to blueprint module
    * cleanup class selection in stack.py
    
    * Handle mutual exclusion validation better
    
    * Add functional test for template_path
    
    * Remove dependency on troposphere template
    
    * Make RawTemplateBlueprint inherit from object.
    
    * cleanup pylint/pydocstyle messages in raw blueprint
Commits on Jan 13, 2018
  1. add serverless transform / CREATE change set type support (#517)

    troyready authored and phobologic committed Jan 13, 2018
    * add serverless transform / CREATE change set type support
    
    Trying to perform a `create_stack` with a template including a
    'Transform' generates the following error:
    ```
    botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the CreateStack operation: CreateStack cannot be used with templates containing Transforms.
    ```
    
    This commit detects these templates and ensures that they are only
    deployed via change sets.
    
    * update create_stack to support change sets
    
    * Update log message
Commits on Jan 5, 2018
  1. add stacker.cmd for windows installs (#521)

    troyready authored and phobologic committed Jan 5, 2018
    Adapted from awscli's implementation, this allows `stacker` to be
    executed natively on Windows
Commits on Dec 24, 2017
  1. add blueprint `to_json` method for standalone rendering (#459)

    troyready authored and phobologic committed Dec 24, 2017
    * add blueprint `to_json` method for standalone rendering
    
    Enables blueprint files to use a few simple lines to output their
    template:
    ```
    if __name__ == "__main__":
        from stacker.context import Context
        print BPClassName('test', Context({"namespace": "test"})).to_json()
    ```
    
    * add ability to override variables in to_json
Commits on Nov 6, 2017
  1. add s3 remote package sources (#487)

    troyready authored and phobologic committed Nov 6, 2017
    * add s3 remote package sources
    
    * cleanup fetch_s3_package
    
    * add check for last modified date on s3
    
    * rearrange imports for style (placing standard imports first)
    
    * add datetutil for utc conversion; cleanup doc warnings
    
    * add additional debug statements
Commits on Oct 2, 2017
  1. add remote config support (#458)

    troyready authored and phobologic committed Oct 2, 2017
    * add remote config support
    
    Extends package_sources to support remote configuration files.
    
    * update docs about hook dictionaries
    
    * cleanup for code review
    
    * additional cleanups
    
    * Clean up the dict -> list stuff
Commits on Jul 24, 2017
  1. update package_sources to properly expand the home directory on Windo…

    troyready authored and phobologic committed Jul 24, 2017
    …ws (#440)
Commits on Jul 12, 2017
  1. add ability to load python classes (blueprints, etc) directly from git (

    troyready authored and phobologic committed Jul 12, 2017
    #332)
    
    * add ability to load blueprints directly from git
    
    * disable git clones in tests
    
    tests work properly locally but fail on CircleCI:
    
    ```
    ======================================================================
    ERROR: test_package_sources_in_config (stacker.tests.test_context.TestContext)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/ubuntu/stacker/stacker/tests/test_context.py", line 181, in test_package_sources_in_config
        context.load_config(config)
      File "/home/ubuntu/stacker/stacker/context.py", line 98, in load_config
        processor.get_package_sources(sources=sources)
      File "/home/ubuntu/stacker/stacker/util.py", line 508, in get_package_sources
        self.fetch_git_package(config=config)
      File "/home/ubuntu/stacker/stacker/util.py", line 542, in fetch_git_package
        with Repo.clone_from(config['uri'], tmp_repo_path) as repo:
    AttributeError: __exit__
    -------------------- >> begin captured logging << --------------------
    git.cmd: DEBUG: Popen(['git', 'clone', '-v', 'https://github.com/remind101/stacker_blueprints.git', '/tmp/stackerXAY6EB/https___github.com_remind101_stacker_blueprints-1.0.0'], cwd=/home/ubuntu/stacker, universal_newlines=False, shell=None)
    git.repo.base: DEBUG: Cmd(['git', 'clone', '-v', 'https://github.com/remind101/stacker_blueprints.git', '/tmp/stackerXAY6EB/https___github.com_remind101_stacker_blueprints-1.0.0'])'s unused stdout:
    --------------------- >> end captured logging << ---------------------
    
    ======================================================================
    ERROR: test_SourceProcessor_operation (stacker.tests.test_util.TestUtil)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/ubuntu/stacker/stacker/tests/test_util.py", line 140, in test_SourceProcessor_operation
        'paths': ['stacker_blueprints']}]}
      File "/home/ubuntu/stacker/stacker/util.py", line 508, in get_package_sources
        self.fetch_git_package(config=config)
      File "/home/ubuntu/stacker/stacker/util.py", line 542, in fetch_git_package
        with Repo.clone_from(config['uri'], tmp_repo_path) as repo:
    AttributeError: __exit__
    -------------------- >> begin captured logging << --------------------
    git.cmd: DEBUG: Popen(['git', 'clone', '-v', 'https://github.com/remind101/stacker_blueprints.git', '/tmp/stackerIiqSk_/https___github.com_remind101_stacker_blueprints-1.0.0'], cwd=/home/ubuntu/stacker, universal_newlines=False, shell=None)
    git.repo.base: DEBUG: Cmd(['git', 'clone', '-v', 'https://github.com/remind101/stacker_blueprints.git', '/tmp/stackerIiqSk_/https___github.com_remind101_stacker_blueprints-1.0.0'])'s unused stdout:
    --------------------- >> end captured logging << ---------------------
    ```
    
    * updated per feedback
  2. (docs) Small update to ssmstore lookup (#431)

    troyready authored and phobologic committed Jul 12, 2017
    I accidentally omitted part of the comment in the example
Commits on Jun 22, 2017
  1. Update lookups.rst

    troyready committed Jun 22, 2017
  2. add ssmstore docs

    troyready committed Jun 22, 2017
Commits on May 15, 2017
  1. add debugging statements to sys.path appending

    troyready committed May 15, 2017
Commits on Mar 9, 2017
  1. update Sturdy Networks org page

    troyready committed Mar 9, 2017
    Minor typos and a very slight grammatical update
Commits on Feb 7, 2017
  1. Remove default aws region

    troyready committed Feb 7, 2017
    This will still allow the region to be specified via '-r', but adds the
    additional option to set it via `AWS_DEFAULT_ENVIRONMENT`.
    
    A failure to provide either will generate a fairly clear stacktrace
    like:
    ```
    ...
      File "/Users/troyready/Library/Python/2.7/lib/python/site-packages/botocore/regions.py", line 135, in _endpoint_for_partition
        raise NoRegionError()
    botocore.exceptions.NoRegionError: You must specify a region.
    ```
Older
You can’t perform that action at this time.