elastic_beans 0.13.0.alpha4 → 0.13.0.alpha5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/lib/elastic_beans/command/deploy.rb +1 -0
- data/lib/elastic_beans/version.rb +1 -1
- 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: 1afb81d4fa7f5f42059df586f24b1e39a4306f2e
|
|
4
|
+
data.tar.gz: bf4b9d6263e6e75e76fd1fb02ac3240193712f61
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c82526896458dd23dff5d494c204b3effde9567f0a752b2bf08800cc7e25017b83c91e01dbfe2399a293f0d763378b2cc3df6249732d2972bac590ca19aabe96
|
|
7
|
+
data.tar.gz: a5b9fc5746ed2aec887b38fa05212dc7e29bb79c4e7851b65f8405095087c77479b31cdaab069b82f5f6d3fed35ea065dfbaff724de8f32836d3ae30efbcb284
|
data/README.md
CHANGED
|
@@ -130,6 +130,12 @@ This environment will enqueue the commands from `cron.yaml` for the `exec` envir
|
|
|
130
130
|
|
|
131
131
|
## What elastic_beans does differently than awsebcli
|
|
132
132
|
|
|
133
|
+
### Cleanup of old versions
|
|
134
|
+
|
|
135
|
+
Elastic Beanstalk [has a 1,000 version limit](https://aws.amazon.com/elasticbeanstalk/faqs/) that when reached will not allow any more versions to be deployed.
|
|
136
|
+
To avoid this, Elastic Beans will clean up versions older than 1 week when deploying a new version.
|
|
137
|
+
It will always leave a minimum of 5 versions behind in case you need to roll back from the Elastic Beanstalk console.
|
|
138
|
+
|
|
133
139
|
### End-to-end encryption
|
|
134
140
|
|
|
135
141
|
Elastic Beans sets up [end-to-end encryption][e2e] by default.
|
|
@@ -103,6 +103,7 @@ Requires AWS credentials to be set in the environment, i.e. AWS_ACCESS_KEY_ID an
|
|
|
103
103
|
version.date_updated + APPLICATION_VERSION_MAX_AGE < cutoff
|
|
104
104
|
}
|
|
105
105
|
if leftover_versions.size < APPLICATION_VERSION_MIN_COUNT
|
|
106
|
+
outdated_versions.sort_by!(&:date_updated)
|
|
106
107
|
outdated_versions.pop(APPLICATION_VERSION_MIN_COUNT - leftover_versions.size)
|
|
107
108
|
end
|
|
108
109
|
outdated_versions.each do |version|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elastic_beans
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.13.0.
|
|
4
|
+
version: 0.13.0.alpha5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adam Stegman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-07-
|
|
11
|
+
date: 2017-07-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|