Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@acmcelwee
Copy link

@acmcelwee acmcelwee commented Oct 30, 2018

Useful additions/features:

phobologic and others added 30 commits January 26, 2018 09:12
* Always dump the current output/result

This fixes an issue that was introduced in cloudtools#467. The original
functionality was to always dump the current output to `.json-result`,
that way it was easy to build & compare the output.

With the current implementation (from cloudtools#467) we raise an exception if the
old results aren't available, but don't create the new results.  This is
an issue whenever creating a new test.

* Update CHANGELOG
This changes the internals of stacker plan's to first generate a
Directed Acyclic Graph, and uses this as a means of walking the graph.
Remove DescribeStacks call from prepare_stack_for_update
* add raw json/yaml template support

Fixes cloudtools#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
Ref!/Sub!/etc will no longer fail to load
troyready and others added 28 commits August 11, 2018 20:27
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 cloudtools#645
…udtools#638)

* allow raw cfn templates to be loaded from remote package_sources

Fixes cloudtools#628

* add test for new get_template_path function
getmoto/moto#1793

Until we either move entirely off moto to botocore.Stubber, this is the
easiest workaround.
This could speed up stacker by many seconds based on the profiling work
@ejholmes performed in cloudtools#630

	modified:   stacker/providers/aws/default.py
Weird type issue in setup.py
Specify version dependencies as documented in
https://docs.python.org/3.6/distutils/setupscript.html#relationships-between-distributions-and-packages.
Using the '~=' format causes OS packages built with fpm to have a wrong
dependency.

(note the '=2.0' instead of '~=2.0')
The following packages have unmet dependencies:
 python3-stacker : Depends: python3-gitpython (= 2.0) but 2.1.11-15 is 
to be installed
                   Depends: python3-schematics (= 2.0.1) but 2.0.1-15 is 
to be installed
                   Depends: python3-dateutil (= 2.0) but 2.7.3-15 is to 
be installed
Instead of implicitly getting an ASCII bytestring,
Explicitly get an UTF-8 bytestring.

Don't try to decode anything afterwards.

Resolves this error:

```
  'ascii' codec can't decode byte 0xcb in position 5: ordinal not in range(128))
```

	modified:   stacker/lookups/handlers/kms.py
	modified:   stacker/tests/lookups/handlers/test_kms.py
…loudtools#657)

create change set doesn't allow a `stack_policy` argument like
create/update stack calls.  This was handled in the interactive version,
but not in the non-interactive version.

Fixes cloudtools#650
Hoping this helps with what appears to be harsh throttling issues.
Long-term: move this to AWS codebuild
This adds "targets" to stacker, which are just named nodes in the graph
that specify dependencies.

Why would you want this? Primarily just as an easy way to specify a
logical grouping of stacks that you can use with the --targets flag
(e.g. maybe you want a target for "databases" or "apps", etc).
Essentially, these are no different than stacks, except they don't incur
any AWS API calls, and don't take up a precious CloudFormation stack
spot.

If you're familiar with targets in systemd, the concept is exactly the
same; a node in the graph that does nothing.
* Get rid of recursion for tail retries

Also, extend the way we retry/timeout, that should work around cloudtools#515.

Not sure of a great way to test this unfortunately.

* Add some tests
@acmcelwee acmcelwee mentioned this pull request Oct 31, 2018
@acmcelwee acmcelwee closed this Mar 14, 2019
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.