lono 5.2.6 → 5.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.cody/acceptance.sh +3 -2
- data/CHANGELOG.md +4 -0
- data/lib/lono/cfn/base.rb +1 -0
- data/lib/lono/new.rb +2 -3
- data/lib/lono/version.rb +1 -1
- data/lib/templates/skeleton/Gemfile +2 -2
- data/lib/templates/skeleton/configs/settings.yml +2 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 679eb56acf55a83d2045dceb6b0f2cd417b62351471106afa7cf3a0cb51a6778
|
4
|
+
data.tar.gz: 8cae2c9410793825d4407f157bd7e3e54ac771df7121683cddfee99d9070356d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c160a5f8a52ed324bf86cdfa714e995742b3aa6e9f53cb66b6cb4c7153d673d412897defc7ef3fa8d481a7cd61b263c4842672b8f8bb5e1a7dea3c419b1faa7c
|
7
|
+
data.tar.gz: fd1af8181dcb753a5434bc64af5b44c3f56665d1d5700d2ae185c2e0be21bb01674f9052a3522dd96008b931c4eca3e0ccce28c3c9d1ddc4cc0f71a79411b20f
|
data/.cody/acceptance.sh
CHANGED
@@ -11,9 +11,10 @@ bundle install --without development test
|
|
11
11
|
rm -rf infra
|
12
12
|
|
13
13
|
lono new infra
|
14
|
-
# Very simply template with just a security group
|
15
|
-
cp .cody/demo.rb infra/blueprints/demo/app/templates/demo.rb
|
16
14
|
cd infra
|
15
|
+
lono blueprint new demo
|
16
|
+
# Very simply template with just a security group
|
17
|
+
cp ../.cody/demo.rb blueprints/demo/app/templates/demo.rb
|
17
18
|
|
18
19
|
# Rewrite the Gemfile to use the local lono gem for testing
|
19
20
|
cat << EOF > Gemfile
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [5.2.7]
|
7
|
+
- hide query string from template_url on display
|
8
|
+
- update skeleton starter files: Gemfile, starter message, simplify skeleton settings.yml
|
9
|
+
|
6
10
|
## [5.2.6]
|
7
11
|
- reset current dir after lono blueprint new for lono code import command
|
8
12
|
|
data/lib/lono/cfn/base.rb
CHANGED
@@ -271,6 +271,7 @@ class Lono::Cfn
|
|
271
271
|
def show_parameters(params, meth=nil)
|
272
272
|
params = params.clone.compact
|
273
273
|
params[:template_body] = "Hidden due to size... View at: #{pretty_path(@template_path)}"
|
274
|
+
params[:template_url] = params[:template_url].sub(/\?.*/,'')
|
274
275
|
to = meth || "AWS API"
|
275
276
|
puts "Parameters passed to #{to}:"
|
276
277
|
puts YAML.dump(params.deep_stringify_keys)
|
data/lib/lono/new.rb
CHANGED
@@ -70,8 +70,7 @@ module Lono
|
|
70
70
|
def welcome_message
|
71
71
|
puts <<~EOL
|
72
72
|
#{"="*64}
|
73
|
-
Congrats 🎉 You have successfully created a lono project.
|
74
|
-
and is at blueprints/demo. Check things out by going into the created infra folder.
|
73
|
+
Congrats 🎉 You have successfully created a lono project. Check things out by going into the created infra folder.
|
75
74
|
|
76
75
|
cd #{project_name}
|
77
76
|
|
@@ -83,7 +82,7 @@ module Lono
|
|
83
82
|
|
84
83
|
lono cfn deploy my-demo --blueprint demo
|
85
84
|
|
86
|
-
If you name the stack according to conventions, you can
|
85
|
+
If you name the stack according to conventions, you can run:
|
87
86
|
|
88
87
|
lono cfn deploy demo
|
89
88
|
|
data/lib/lono/version.rb
CHANGED
@@ -3,15 +3,11 @@
|
|
3
3
|
# Yaml also directly supports merging with & and <<* syntax but doing it automatically
|
4
4
|
# for a cleaner syntax.
|
5
5
|
base:
|
6
|
-
# http://lono.cloud/docs/app-scripts/
|
7
|
-
# extract_scripts:
|
8
|
-
# to: "/opt"
|
9
|
-
# as: "ec2-user"
|
10
6
|
|
11
7
|
development:
|
12
8
|
# The aws_profile tightly binds LONO_ENV to AWS_PROFILE and vice-versa.
|
13
|
-
# aws_profile:
|
9
|
+
# aws_profile: dev
|
14
10
|
|
15
11
|
production:
|
16
12
|
# The aws_profile tightly binds LONO_ENV to AWS_PROFILE and vice-versa.
|
17
|
-
# aws_profile:
|
13
|
+
# aws_profile: prd
|