cfn-flow 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/cfn-flow/template.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfae865724c3b9d32f3254e2c9bf07336c5310c1
|
4
|
+
data.tar.gz: 11e3cd2ac10a802a71ad05a6bbea258964eac7eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b193e0f55e1fbee80302eaf4799b96f04a9e562b170f26a19a1cbaab1d1f4fa5651a925feb5b23b8d77e486cc20d9a44216c200d096466882905aed9e11db6bd
|
7
|
+
data.tar.gz: 9b5d1be8fcff1c25e36051af5995206fb058d17a770040ce72bf616fb2f5217fbd807b3856853206ce56cfb780e70ea1f5857116c74a3c90b6f8b06b9411f853
|
data/README.md
CHANGED
@@ -43,7 +43,7 @@ s3://my-bucket/dev/aaron/*
|
|
43
43
|
# NB that this overwrites existing templates in your CFN_FLOW_DEV_NAME
|
44
44
|
namespace.
|
45
45
|
|
46
|
-
cfn-
|
46
|
+
cfn-flow
|
47
47
|
```
|
48
48
|
|
49
49
|
You can launch or update test stacks using your dev template path to quickly test your
|
@@ -55,13 +55,13 @@ Release mode publishes your templates to a versioned S3 path, and pushes a git
|
|
55
55
|
tag of the version.
|
56
56
|
|
57
57
|
```
|
58
|
-
# uploads templates to `s3://my-bucket/release
|
58
|
+
# uploads templates to `s3://my-bucket/release/<git sha>/*`
|
59
59
|
tag
|
60
|
-
cfn-flow --release
|
60
|
+
cfn-flow --release
|
61
61
|
```
|
62
62
|
|
63
63
|
Release mode ensures there are no uncommitted changes in your git working
|
64
|
-
directory
|
64
|
+
directory.
|
65
65
|
|
66
66
|
Inspecting the differences between releases is possible using `git log` and `git
|
67
67
|
diff`.
|
@@ -133,7 +133,7 @@ resources](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-pro
|
|
133
133
|
}
|
134
134
|
```
|
135
135
|
|
136
|
-
While testing, set the `prefix` parameter to a dev prefix like `dev/aaron`. When you're confident your changes work, release them with cfn-flow and change the `prefix` parameter to `release
|
136
|
+
While testing, set the `prefix` parameter to a dev prefix like `dev/aaron`. When you're confident your changes work, release them with cfn-flow and change the `prefix` parameter to `release/<git sha>` for production.
|
137
137
|
|
138
138
|
#### Continuous integration
|
139
139
|
|
data/lib/cfn-flow/template.rb
CHANGED
@@ -54,11 +54,11 @@ class CfnFlow::Template
|
|
54
54
|
|
55
55
|
private
|
56
56
|
def cfn
|
57
|
-
|
57
|
+
Aws::CloudFormation::Client.new
|
58
58
|
end
|
59
59
|
|
60
60
|
def s3_object
|
61
|
-
|
61
|
+
Aws::S3::Object.new(bucket, key)
|
62
62
|
end
|
63
63
|
|
64
64
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfn-flow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Suggs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|