lono 6.1.11 → 7.0.0
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 +19 -3
- data/.gitignore +2 -2
- data/CHANGELOG.md +16 -1
- data/README.md +18 -20
- data/Rakefile +1 -0
- data/lib/lono.rb +7 -5
- data/lib/lono/abstract_base.rb +25 -0
- data/lib/lono/api/client.rb +30 -0
- data/lib/lono/api/proxy.rb +58 -0
- data/lib/lono/api/repos.rb +8 -0
- data/lib/lono/api/verify.rb +13 -0
- data/lib/lono/app_file/base.rb +4 -11
- data/lib/lono/app_file/build.rb +1 -1
- data/lib/lono/app_file/upload.rb +1 -4
- data/lib/lono/autoloader.rb +3 -1
- data/lib/lono/aws_services.rb +9 -9
- data/lib/lono/aws_services/helper.rb +14 -0
- data/lib/lono/aws_services/{util.rb → stack.rb} +1 -9
- data/lib/lono/aws_services/stack_set.rb +41 -0
- data/lib/lono/blueprint.rb +2 -2
- data/lib/lono/blueprint/configset/loader.rb +7 -0
- data/lib/lono/blueprint/helper.rb +8 -2
- data/lib/lono/blueprint/meta.rb +4 -12
- data/lib/lono/blueprint/new.rb +3 -3
- data/lib/lono/blueprint/root.rb +6 -26
- data/lib/lono/bundle.rb +54 -0
- data/lib/lono/cfn.rb +31 -75
- data/lib/lono/cfn/base.rb +39 -136
- data/lib/lono/cfn/cancel.rb +14 -9
- data/lib/lono/cfn/create.rb +15 -19
- data/lib/lono/cfn/delete.rb +9 -9
- data/lib/lono/cfn/deploy.rb +4 -4
- data/lib/lono/cfn/download.rb +27 -9
- data/lib/lono/cfn/opts.rb +80 -0
- data/lib/lono/cfn/preview/changeset.rb +23 -23
- data/lib/lono/cfn/preview/codediff.rb +5 -6
- data/lib/lono/cfn/preview/param.rb +10 -10
- data/lib/lono/cfn/rollback.rb +5 -5
- data/lib/lono/cfn/status.rb +0 -10
- data/lib/lono/cfn/update.rb +22 -27
- data/lib/lono/clean.rb +3 -3
- data/lib/lono/cli.rb +69 -34
- data/lib/lono/code.rb +22 -0
- data/lib/lono/command.rb +7 -0
- data/lib/lono/config_location.rb +6 -13
- data/lib/lono/configset.rb +9 -0
- data/lib/lono/configset/combiner.rb +128 -0
- data/lib/lono/configset/evaluate_file.rb +8 -0
- data/lib/lono/configset/list.rb +67 -0
- data/lib/lono/configset/loader.rb +98 -0
- data/lib/lono/configset/loader/dsl.rb +9 -0
- data/lib/lono/configset/materializer/final.rb +10 -0
- data/lib/lono/configset/materializer/gems_builder.rb +81 -0
- data/lib/lono/configset/materializer/jade.rb +15 -0
- data/lib/lono/configset/materializer/source.rb +54 -0
- data/lib/lono/configset/meta.rb +19 -0
- data/lib/lono/configset/meta/dsl.rb +12 -0
- data/lib/lono/configset/new.rb +84 -0
- data/lib/lono/configset/preparer.rb +44 -0
- data/lib/lono/configset/register/base.rb +121 -0
- data/lib/lono/configset/register/blueprint.rb +16 -0
- data/lib/lono/configset/register/dsl.rb +15 -0
- data/lib/lono/configset/register/project.rb +12 -0
- data/lib/lono/configset/registry.rb +34 -0
- data/lib/lono/configset/resolver.rb +42 -0
- data/lib/lono/conventions.rb +18 -7
- data/lib/lono/core.rb +16 -20
- data/lib/lono/default/settings.yml +2 -3
- data/lib/lono/ext/bundler.rb +7 -0
- data/lib/lono/file_uploader.rb +8 -5
- data/lib/lono/finder/base.rb +140 -0
- data/lib/lono/finder/blueprint.rb +11 -0
- data/lib/lono/finder/blueprint/configset.rb +17 -0
- data/lib/lono/finder/configset.rb +11 -0
- data/lib/lono/generate.rb +93 -0
- data/lib/lono/help/blueprint/new.md +0 -1
- data/lib/lono/help/cfn/delete.md +1 -1
- data/lib/lono/help/cfn/deploy.md +5 -76
- data/lib/lono/help/cfn/status.md +0 -4
- data/lib/lono/help/cfn/update.md +1 -1
- data/lib/lono/help/code/convert.md +51 -0
- data/lib/lono/help/code/import.md +30 -0
- data/lib/lono/help/configsets.md +24 -0
- data/lib/lono/help/generate.md +4 -4
- data/lib/lono/help/new.md +1 -2
- data/lib/lono/help/sets/delete.md +8 -0
- data/lib/lono/help/sets/deploy.md +76 -0
- data/lib/lono/help/sets/instances/delete.md +21 -0
- data/lib/lono/help/sets/instances/list.md +14 -0
- data/lib/lono/help/sets/instances/status.md +15 -0
- data/lib/lono/help/sets/instances/sync.md +88 -0
- data/lib/lono/help/sets/status.md +23 -0
- data/lib/lono/help/upgrade.md +1 -0
- data/lib/lono/importer.rb +22 -0
- data/lib/lono/importer/base.rb +59 -0
- data/lib/lono/importer/converter.rb +19 -0
- data/lib/lono/importer/download.rb +46 -0
- data/lib/lono/importer/dsl.rb +36 -0
- data/lib/lono/importer/erb.rb +31 -0
- data/lib/lono/importer/params.rb +56 -0
- data/lib/lono/importer/service/coder.rb +81 -0
- data/lib/lono/inspector/base.rb +12 -22
- data/lib/lono/inspector/graph.rb +1 -1
- data/lib/lono/inspector/summary.rb +41 -17
- data/lib/lono/jade.rb +103 -0
- data/lib/lono/jade/circular.rb +26 -0
- data/lib/lono/jadespec.rb +41 -0
- data/lib/lono/new.rb +2 -2
- data/lib/lono/opts.rb +43 -0
- data/lib/lono/output/template.rb +48 -0
- data/lib/lono/param.rb +3 -5
- data/lib/lono/param/generator.rb +13 -33
- data/lib/lono/pro.rb +15 -0
- data/lib/lono/pro/base.rb +16 -0
- data/lib/lono/pro/repo.rb +27 -0
- data/lib/lono/project_checker.rb +4 -29
- data/lib/lono/registration.rb +15 -0
- data/lib/lono/registration/base.rb +37 -0
- data/lib/lono/registration/check.rb +15 -0
- data/lib/lono/registration/temp.rb +60 -0
- data/lib/lono/registration/user.rb +54 -0
- data/lib/lono/script/base.rb +1 -10
- data/lib/lono/script/upload.rb +2 -12
- data/lib/lono/seed.rb +2 -11
- data/lib/lono/seed/base.rb +55 -110
- data/lib/lono/sets.rb +38 -0
- data/lib/lono/sets/base.rb +45 -0
- data/lib/lono/sets/create.rb +30 -0
- data/lib/lono/sets/delete.rb +47 -0
- data/lib/lono/sets/deploy.rb +11 -0
- data/lib/lono/sets/instances.rb +33 -0
- data/lib/lono/sets/instances/base.rb +30 -0
- data/lib/lono/sets/instances/delete.rb +69 -0
- data/lib/lono/sets/instances/list.rb +13 -0
- data/lib/lono/sets/instances/opts.rb +29 -0
- data/lib/lono/sets/instances/status.rb +12 -0
- data/lib/lono/sets/instances/sync.rb +182 -0
- data/lib/lono/sets/list.rb +35 -0
- data/lib/lono/sets/opts.rb +18 -0
- data/lib/lono/sets/preview/codediff.rb +35 -0
- data/lib/lono/sets/preview/param.rb +32 -0
- data/lib/lono/sets/status.rb +116 -0
- data/lib/lono/sets/status/instance.rb +20 -0
- data/lib/lono/sets/status/instance/base.rb +120 -0
- data/lib/lono/sets/status/instance/completed.rb +35 -0
- data/lib/lono/sets/status/instance/deleted.rb +32 -0
- data/lib/lono/sets/status/instance/show.rb +7 -0
- data/lib/lono/sets/status/instances.rb +111 -0
- data/lib/lono/sets/summarize.rb +20 -0
- data/lib/lono/sets/time_spent.rb +11 -0
- data/lib/lono/sets/update.rb +81 -0
- data/lib/lono/template.rb +5 -7
- data/lib/lono/template/configset_injector.rb +50 -0
- data/lib/lono/template/context.rb +4 -4
- data/lib/lono/template/context/loader.rb +4 -16
- data/lib/lono/template/evaluate.rb +2 -1
- data/lib/lono/template/generator.rb +17 -15
- data/lib/lono/template/helper.rb +7 -7
- data/lib/lono/template/post_processor.rb +2 -12
- data/lib/lono/template/strategy/base.rb +4 -0
- data/lib/lono/template/{dsl.rb → strategy/dsl.rb} +4 -6
- data/lib/lono/template/{dsl → strategy/dsl}/builder.rb +11 -15
- data/lib/lono/template/{dsl → strategy/dsl}/builder/fn.rb +1 -1
- data/lib/lono/template/strategy/dsl/builder/helpers.rb +11 -0
- data/lib/lono/template/strategy/dsl/builder/helpers/core_helper.rb +14 -0
- data/lib/lono/template/strategy/dsl/builder/helpers/file_helper.rb +48 -0
- data/lib/lono/template/strategy/dsl/builder/helpers/lookup_helper.rb +27 -0
- data/lib/lono/template/strategy/dsl/builder/helpers/s3_helper.rb +13 -0
- data/lib/lono/template/strategy/dsl/builder/helpers/tags_helper.rb +39 -0
- data/lib/lono/template/{dsl/builder → strategy/dsl/builder/section}/base.rb +6 -17
- data/lib/lono/template/{dsl/builder → strategy/dsl/builder/section}/condition.rb +1 -1
- data/lib/lono/template/strategy/dsl/builder/section/extensions.rb +9 -0
- data/lib/lono/template/{dsl/builder → strategy/dsl/builder/section}/mapping.rb +1 -1
- data/lib/lono/template/{dsl/builder/section_methods.rb → strategy/dsl/builder/section/methods.rb} +9 -2
- data/lib/lono/template/{dsl/builder → strategy/dsl/builder/section}/output.rb +1 -1
- data/lib/lono/template/strategy/dsl/builder/section/parameter.rb +69 -0
- data/lib/lono/template/{dsl/builder → strategy/dsl/builder/section}/resource.rb +1 -1
- data/lib/lono/template/{dsl/builder → strategy/dsl/builder/section}/resource/property_mover.rb +1 -1
- data/lib/lono/template/{dsl/builder → strategy/dsl/builder/section}/section.rb +1 -1
- data/lib/lono/template/{dsl → strategy/dsl}/builder/squeezer.rb +1 -1
- data/lib/lono/template/strategy/dsl/builder/stringify.rb +15 -0
- data/lib/lono/template/{dsl → strategy/dsl}/builder/syntax.rb +3 -2
- data/lib/lono/template/strategy/dsl/finalizer.rb +12 -0
- data/lib/lono/template/strategy/dsl/finalizer/parameter_groups.rb +56 -0
- data/lib/lono/template/{erb.rb → strategy/erb.rb} +5 -5
- data/lib/lono/template/strategy/source.rb +8 -0
- data/lib/lono/template/template.rb +1 -1
- data/lib/lono/template/upload.rb +4 -9
- data/lib/lono/template/util.rb +0 -40
- data/lib/lono/upgrade.rb +12 -10
- data/lib/lono/user_data.rb +4 -4
- data/lib/lono/utils/pretty_time.rb +14 -0
- data/lib/lono/utils/sure.rb +23 -0
- data/lib/lono/version.rb +1 -1
- data/lib/lono/yamler/loader.rb +52 -0
- data/lib/lono/yamler/validator.rb +51 -0
- data/lib/templates/blueprint/%blueprint_name%.gemspec.tt +4 -0
- data/lib/templates/blueprint/README.md.tt +1 -1
- data/lib/templates/blueprint/seed/configs.rb +2 -2
- data/lib/templates/blueprint_types/dsl/app/templates/%blueprint_name%.rb +17 -18
- data/lib/templates/blueprint_types/erb/app/templates/%blueprint_name%.yml +63 -4
- data/lib/templates/configset/%configset_name%.gemspec.tt +41 -0
- data/lib/templates/configset/.gitignore +11 -0
- data/lib/templates/configset/CHANGELOG.md +7 -0
- data/lib/templates/configset/Gemfile +4 -0
- data/lib/templates/configset/README.md.tt +3 -0
- data/lib/templates/configset/Rakefile.tt +9 -0
- data/lib/templates/configset/lib/configset.yml +20 -0
- data/lib/templates/skeleton/.gitignore +1 -0
- data/lib/templates/skeleton/Gemfile +0 -1
- data/lib/templates/skeleton/README.md +4 -4
- data/lib/templates/skeleton/configs/settings.yml +1 -1
- data/lono.gemspec +1 -4
- metadata +146 -79
- data/Guardfile +0 -19
- data/lib/lono/app_file.rb +0 -5
- data/lib/lono/blueprint/find.rb +0 -90
- data/lib/lono/blueprint/info.rb +0 -10
- data/lib/lono/blueprint/list.rb +0 -14
- data/lib/lono/cfn/current.rb +0 -95
- data/lib/lono/cfn/preview.rb +0 -4
- data/lib/lono/cfn/suffix.rb +0 -67
- data/lib/lono/cfn/util.rb +0 -27
- data/lib/lono/help/cfn/current.md +0 -18
- data/lib/lono/help/upgrade4.md +0 -25
- data/lib/lono/inspector.rb +0 -4
- data/lib/lono/output_template.rb +0 -35
- data/lib/lono/template/base.rb +0 -13
- data/lib/lono/template/dsl/builder/helpers.rb +0 -8
- data/lib/lono/template/dsl/builder/helpers/core_helper.rb +0 -107
- data/lib/lono/template/dsl/builder/helpers/param_helper.rb +0 -61
- data/lib/lono/template/dsl/builder/parameter.rb +0 -39
- data/lib/lono/upgrade/upgrade4.rb +0 -175
- data/lib/lono/upgrade/upgrade42.rb +0 -36
- data/lib/lono/upgrade/upgrade5.rb +0 -55
- data/lib/templates/blueprint/.meta/config.yml.tt +0 -4
- data/lib/templates/skeleton/Guardfile +0 -12
- data/lib/templates/upgrade5/blueprints/main/.lono/config.yml +0 -3
- data/lib/templates/upgrade5/blueprints/main/.meta/config.yml +0 -3
@@ -0,0 +1,41 @@
|
|
1
|
+
Gem::Specification.new do |spec|
|
2
|
+
spec.name = "<%= configset_name %>"
|
3
|
+
spec.version = "0.1.0"
|
4
|
+
spec.authors = ["<%= user_info[:author] %>"]
|
5
|
+
spec.email = ["<%= ENV['LONO_EMAIL'] || user_info[:email] %>"]
|
6
|
+
|
7
|
+
spec.summary = "Write a short summary because it's required." # TODO: Change me
|
8
|
+
spec.description = "Write a longer description or delete this line." # TODO: Change me
|
9
|
+
spec.homepage = "<%= ENV['LONO_ORG'] || "https://github.com/USER" %>/<%= configset_name %>"
|
10
|
+
spec.license = "<%= ENV['LONO_LICENSE'] || 'MIT' %>"
|
11
|
+
|
12
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
13
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
14
|
+
if spec.respond_to?(:metadata)
|
15
|
+
spec.metadata["allowed_push_host"] = "<%= ENV['LONO_ALLOWED_PUSH_HOST'] || "TODO: Set to 'http://mygemserver.com'"%>"
|
16
|
+
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
<% if ENV['LONO_ORG'] -%>
|
19
|
+
spec.metadata["source_code_uri"] = "<%= ENV['LONO_ORG'] %>/<%= configset_name %>"
|
20
|
+
spec.metadata["changelog_uri"] = "<%= ENV['LONO_ORG'] %>/<%= configset_name %>/blob/master/CHANGELOG.md"
|
21
|
+
<% else -%>
|
22
|
+
spec.metadata["source_code_uri"] = "https://github.com/user/repo" # TODO: Change me
|
23
|
+
spec.metadata["changelog_uri"] = "https://github.com/user/repo/blob/master/CHANGELOG.md" # TODO: Change me
|
24
|
+
<% end -%>
|
25
|
+
else
|
26
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
27
|
+
end
|
28
|
+
|
29
|
+
# Specify which files should be added to the gem when it is released.
|
30
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
31
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
32
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
33
|
+
end
|
34
|
+
spec.bindir = "exe"
|
35
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
36
|
+
spec.require_paths = ["lib"]
|
37
|
+
|
38
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
39
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
40
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
41
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
AWS::CloudFormation::Init:
|
3
|
+
configSets:
|
4
|
+
default:
|
5
|
+
- config1
|
6
|
+
- config2
|
7
|
+
config1:
|
8
|
+
commands:
|
9
|
+
test:
|
10
|
+
command: echo "$CFNTEST" > test.txt
|
11
|
+
env:
|
12
|
+
CFNTEST: I come from config1.
|
13
|
+
cwd: "~"
|
14
|
+
config2:
|
15
|
+
commands:
|
16
|
+
test:
|
17
|
+
command: echo "$CFNTEST" > test.txt
|
18
|
+
env:
|
19
|
+
CFNTEST: I come from config2
|
20
|
+
cwd: "~"
|
@@ -4,7 +4,7 @@ This folder contains the code that represents your infrastructure built with Clo
|
|
4
4
|
|
5
5
|
## Overview
|
6
6
|
|
7
|
-
The CloudFormations templates are generated by a tool called [lono](
|
7
|
+
The CloudFormations templates are generated by a tool called [lono](https://lono.cloud/).
|
8
8
|
|
9
9
|
## Updating the Infrastructure
|
10
10
|
|
@@ -22,13 +22,13 @@ Here are some useful flags:
|
|
22
22
|
|
23
23
|
lono cfn deploy STACK_NAME --sure
|
24
24
|
|
25
|
-
More info: [lono cfn deploy](
|
25
|
+
More info: [lono cfn deploy](https://lono.cloud/reference/lono-cfn-deploy/)
|
26
26
|
|
27
27
|
## Structure
|
28
28
|
|
29
29
|
The structure of a lono project looks like this:
|
30
30
|
|
31
|
-
More info: [Project Structure](
|
31
|
+
More info: [Project Structure](https://lono.cloud/docs/structure/)
|
32
32
|
|
33
33
|
## Generating Templates from Blueprints
|
34
34
|
|
@@ -55,4 +55,4 @@ You can get help by adding `-h` to the end of commands.
|
|
55
55
|
|
56
56
|
lono cfn update -h
|
57
57
|
|
58
|
-
Help is also provided in the [Lono Docs](
|
58
|
+
Help is also provided in the [Lono Docs](https://lono.cloud/docs/).
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# More info:
|
1
|
+
# More info: https://lono.cloud/docs/settings/
|
2
2
|
# The base config is specially treated. It gets included the other environments automatically.
|
3
3
|
# Yaml also directly supports merging with & and <<* syntax but doing it automatically
|
4
4
|
# for a cleaner syntax.
|
data/lono.gemspec
CHANGED
@@ -30,9 +30,6 @@ Gem::Specification.new do |gem|
|
|
30
30
|
gem.add_dependency "cfn_camelizer"
|
31
31
|
gem.add_dependency "filesize"
|
32
32
|
gem.add_dependency "graph" # lono xgraph command dependency
|
33
|
-
gem.add_dependency "guard"
|
34
|
-
gem.add_dependency "guard-cloudformation"
|
35
|
-
# gem.add_dependency "guard-lono" # TODO: create guard gem
|
36
33
|
gem.add_dependency "hashie"
|
37
34
|
gem.add_dependency "json"
|
38
35
|
gem.add_dependency "memoist"
|
@@ -41,6 +38,7 @@ Gem::Specification.new do |gem|
|
|
41
38
|
gem.add_dependency "rainbow"
|
42
39
|
gem.add_dependency "rb-fsevent"
|
43
40
|
gem.add_dependency "render_me_pretty"
|
41
|
+
gem.add_dependency "text-table"
|
44
42
|
gem.add_dependency "thor"
|
45
43
|
gem.add_dependency "zeitwerk"
|
46
44
|
|
@@ -48,7 +46,6 @@ Gem::Specification.new do |gem|
|
|
48
46
|
gem.add_development_dependency "cli_markdown"
|
49
47
|
gem.add_development_dependency "guard-bundler"
|
50
48
|
gem.add_development_dependency "guard-rspec"
|
51
|
-
gem.add_development_dependency "lono-pro"
|
52
49
|
gem.add_development_dependency "rake"
|
53
50
|
gem.add_development_dependency "rspec"
|
54
51
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lono
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -150,34 +150,6 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: guard
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :runtime
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: guard-cloudformation
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ">="
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
type: :runtime
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - ">="
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
153
|
- !ruby/object:Gem::Dependency
|
182
154
|
name: hashie
|
183
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -291,7 +263,7 @@ dependencies:
|
|
291
263
|
- !ruby/object:Gem::Version
|
292
264
|
version: '0'
|
293
265
|
- !ruby/object:Gem::Dependency
|
294
|
-
name:
|
266
|
+
name: text-table
|
295
267
|
requirement: !ruby/object:Gem::Requirement
|
296
268
|
requirements:
|
297
269
|
- - ">="
|
@@ -305,7 +277,7 @@ dependencies:
|
|
305
277
|
- !ruby/object:Gem::Version
|
306
278
|
version: '0'
|
307
279
|
- !ruby/object:Gem::Dependency
|
308
|
-
name:
|
280
|
+
name: thor
|
309
281
|
requirement: !ruby/object:Gem::Requirement
|
310
282
|
requirements:
|
311
283
|
- - ">="
|
@@ -319,13 +291,13 @@ dependencies:
|
|
319
291
|
- !ruby/object:Gem::Version
|
320
292
|
version: '0'
|
321
293
|
- !ruby/object:Gem::Dependency
|
322
|
-
name:
|
294
|
+
name: zeitwerk
|
323
295
|
requirement: !ruby/object:Gem::Requirement
|
324
296
|
requirements:
|
325
297
|
- - ">="
|
326
298
|
- !ruby/object:Gem::Version
|
327
299
|
version: '0'
|
328
|
-
type: :
|
300
|
+
type: :runtime
|
329
301
|
prerelease: false
|
330
302
|
version_requirements: !ruby/object:Gem::Requirement
|
331
303
|
requirements:
|
@@ -333,7 +305,7 @@ dependencies:
|
|
333
305
|
- !ruby/object:Gem::Version
|
334
306
|
version: '0'
|
335
307
|
- !ruby/object:Gem::Dependency
|
336
|
-
name:
|
308
|
+
name: byebug
|
337
309
|
requirement: !ruby/object:Gem::Requirement
|
338
310
|
requirements:
|
339
311
|
- - ">="
|
@@ -347,7 +319,7 @@ dependencies:
|
|
347
319
|
- !ruby/object:Gem::Version
|
348
320
|
version: '0'
|
349
321
|
- !ruby/object:Gem::Dependency
|
350
|
-
name:
|
322
|
+
name: cli_markdown
|
351
323
|
requirement: !ruby/object:Gem::Requirement
|
352
324
|
requirements:
|
353
325
|
- - ">="
|
@@ -361,7 +333,7 @@ dependencies:
|
|
361
333
|
- !ruby/object:Gem::Version
|
362
334
|
version: '0'
|
363
335
|
- !ruby/object:Gem::Dependency
|
364
|
-
name: guard-
|
336
|
+
name: guard-bundler
|
365
337
|
requirement: !ruby/object:Gem::Requirement
|
366
338
|
requirements:
|
367
339
|
- - ">="
|
@@ -375,7 +347,7 @@ dependencies:
|
|
375
347
|
- !ruby/object:Gem::Version
|
376
348
|
version: '0'
|
377
349
|
- !ruby/object:Gem::Dependency
|
378
|
-
name:
|
350
|
+
name: guard-rspec
|
379
351
|
requirement: !ruby/object:Gem::Requirement
|
380
352
|
requirements:
|
381
353
|
- - ">="
|
@@ -438,13 +410,16 @@ files:
|
|
438
410
|
- CHANGELOG.md
|
439
411
|
- CONTRIBUTING.md
|
440
412
|
- Gemfile
|
441
|
-
- Guardfile
|
442
413
|
- LICENSE.txt
|
443
414
|
- README.md
|
444
415
|
- Rakefile
|
445
416
|
- exe/lono
|
446
417
|
- lib/lono.rb
|
447
|
-
- lib/lono/
|
418
|
+
- lib/lono/abstract_base.rb
|
419
|
+
- lib/lono/api/client.rb
|
420
|
+
- lib/lono/api/proxy.rb
|
421
|
+
- lib/lono/api/repos.rb
|
422
|
+
- lib/lono/api/verify.rb
|
448
423
|
- lib/lono/app_file/base.rb
|
449
424
|
- lib/lono/app_file/build.rb
|
450
425
|
- lib/lono/app_file/registry.rb
|
@@ -452,60 +427,87 @@ files:
|
|
452
427
|
- lib/lono/app_file/upload.rb
|
453
428
|
- lib/lono/autoloader.rb
|
454
429
|
- lib/lono/aws_services.rb
|
455
|
-
- lib/lono/aws_services/
|
430
|
+
- lib/lono/aws_services/helper.rb
|
431
|
+
- lib/lono/aws_services/stack.rb
|
432
|
+
- lib/lono/aws_services/stack_set.rb
|
456
433
|
- lib/lono/blueprint.rb
|
457
|
-
- lib/lono/blueprint/
|
434
|
+
- lib/lono/blueprint/configset/loader.rb
|
458
435
|
- lib/lono/blueprint/helper.rb
|
459
|
-
- lib/lono/blueprint/info.rb
|
460
|
-
- lib/lono/blueprint/list.rb
|
461
436
|
- lib/lono/blueprint/meta.rb
|
462
437
|
- lib/lono/blueprint/new.rb
|
463
438
|
- lib/lono/blueprint/root.rb
|
439
|
+
- lib/lono/bundle.rb
|
464
440
|
- lib/lono/cfn.rb
|
465
441
|
- lib/lono/cfn/base.rb
|
466
442
|
- lib/lono/cfn/cancel.rb
|
467
443
|
- lib/lono/cfn/create.rb
|
468
|
-
- lib/lono/cfn/current.rb
|
469
444
|
- lib/lono/cfn/delete.rb
|
470
445
|
- lib/lono/cfn/deploy.rb
|
471
446
|
- lib/lono/cfn/download.rb
|
472
|
-
- lib/lono/cfn/
|
447
|
+
- lib/lono/cfn/opts.rb
|
473
448
|
- lib/lono/cfn/preview/changeset.rb
|
474
449
|
- lib/lono/cfn/preview/codediff.rb
|
475
450
|
- lib/lono/cfn/preview/diff_viewer.rb
|
476
451
|
- lib/lono/cfn/preview/param.rb
|
477
452
|
- lib/lono/cfn/rollback.rb
|
478
453
|
- lib/lono/cfn/status.rb
|
479
|
-
- lib/lono/cfn/suffix.rb
|
480
454
|
- lib/lono/cfn/update.rb
|
481
|
-
- lib/lono/cfn/util.rb
|
482
455
|
- lib/lono/clean.rb
|
483
456
|
- lib/lono/cli.rb
|
457
|
+
- lib/lono/code.rb
|
484
458
|
- lib/lono/command.rb
|
485
459
|
- lib/lono/completer.rb
|
486
460
|
- lib/lono/completer/script.rb
|
487
461
|
- lib/lono/completer/script.sh
|
488
462
|
- lib/lono/completion.rb
|
489
463
|
- lib/lono/config_location.rb
|
464
|
+
- lib/lono/configset.rb
|
465
|
+
- lib/lono/configset/combiner.rb
|
466
|
+
- lib/lono/configset/evaluate_file.rb
|
467
|
+
- lib/lono/configset/list.rb
|
468
|
+
- lib/lono/configset/loader.rb
|
469
|
+
- lib/lono/configset/loader/dsl.rb
|
470
|
+
- lib/lono/configset/materializer/final.rb
|
471
|
+
- lib/lono/configset/materializer/gems_builder.rb
|
472
|
+
- lib/lono/configset/materializer/jade.rb
|
473
|
+
- lib/lono/configset/materializer/source.rb
|
474
|
+
- lib/lono/configset/meta.rb
|
475
|
+
- lib/lono/configset/meta/dsl.rb
|
476
|
+
- lib/lono/configset/new.rb
|
477
|
+
- lib/lono/configset/preparer.rb
|
478
|
+
- lib/lono/configset/register/base.rb
|
479
|
+
- lib/lono/configset/register/blueprint.rb
|
480
|
+
- lib/lono/configset/register/dsl.rb
|
481
|
+
- lib/lono/configset/register/project.rb
|
482
|
+
- lib/lono/configset/registry.rb
|
483
|
+
- lib/lono/configset/resolver.rb
|
490
484
|
- lib/lono/conventions.rb
|
491
485
|
- lib/lono/core.rb
|
492
486
|
- lib/lono/core/config.rb
|
493
487
|
- lib/lono/default/settings.yml
|
488
|
+
- lib/lono/ext/bundler.rb
|
494
489
|
- lib/lono/file_uploader.rb
|
490
|
+
- lib/lono/finder/base.rb
|
491
|
+
- lib/lono/finder/blueprint.rb
|
492
|
+
- lib/lono/finder/blueprint/configset.rb
|
493
|
+
- lib/lono/finder/configset.rb
|
494
|
+
- lib/lono/generate.rb
|
495
495
|
- lib/lono/help.rb
|
496
496
|
- lib/lono/help/blueprint/new.md
|
497
497
|
- lib/lono/help/cfn.md
|
498
498
|
- lib/lono/help/cfn/cancel.md
|
499
499
|
- lib/lono/help/cfn/create.md
|
500
|
-
- lib/lono/help/cfn/current.md
|
501
500
|
- lib/lono/help/cfn/delete.md
|
502
501
|
- lib/lono/help/cfn/deploy.md
|
503
502
|
- lib/lono/help/cfn/download.md
|
504
503
|
- lib/lono/help/cfn/preview.md
|
505
504
|
- lib/lono/help/cfn/status.md
|
506
505
|
- lib/lono/help/cfn/update.md
|
506
|
+
- lib/lono/help/code/convert.md
|
507
|
+
- lib/lono/help/code/import.md
|
507
508
|
- lib/lono/help/completion.md
|
508
509
|
- lib/lono/help/completion_script.md
|
510
|
+
- lib/lono/help/configsets.md
|
509
511
|
- lib/lono/help/generate.md
|
510
512
|
- lib/lono/help/new.md
|
511
513
|
- lib/lono/help/param.md
|
@@ -513,24 +515,50 @@ files:
|
|
513
515
|
- lib/lono/help/script/build.md
|
514
516
|
- lib/lono/help/script/upload.md
|
515
517
|
- lib/lono/help/seed.md
|
518
|
+
- lib/lono/help/sets/delete.md
|
519
|
+
- lib/lono/help/sets/deploy.md
|
520
|
+
- lib/lono/help/sets/instances/delete.md
|
521
|
+
- lib/lono/help/sets/instances/list.md
|
522
|
+
- lib/lono/help/sets/instances/status.md
|
523
|
+
- lib/lono/help/sets/instances/sync.md
|
524
|
+
- lib/lono/help/sets/status.md
|
516
525
|
- lib/lono/help/summary.md
|
517
526
|
- lib/lono/help/template.md
|
518
527
|
- lib/lono/help/template/bashify.md
|
519
528
|
- lib/lono/help/template/generate.md
|
520
|
-
- lib/lono/help/
|
529
|
+
- lib/lono/help/upgrade.md
|
521
530
|
- lib/lono/help/user_data.md
|
522
531
|
- lib/lono/help/xgraph.md
|
523
|
-
- lib/lono/
|
532
|
+
- lib/lono/importer.rb
|
533
|
+
- lib/lono/importer/base.rb
|
534
|
+
- lib/lono/importer/converter.rb
|
535
|
+
- lib/lono/importer/download.rb
|
536
|
+
- lib/lono/importer/dsl.rb
|
537
|
+
- lib/lono/importer/erb.rb
|
538
|
+
- lib/lono/importer/params.rb
|
539
|
+
- lib/lono/importer/service/coder.rb
|
524
540
|
- lib/lono/inspector/base.rb
|
525
541
|
- lib/lono/inspector/graph.rb
|
526
542
|
- lib/lono/inspector/summary.rb
|
543
|
+
- lib/lono/jade.rb
|
544
|
+
- lib/lono/jade/circular.rb
|
545
|
+
- lib/lono/jadespec.rb
|
527
546
|
- lib/lono/md5.rb
|
528
547
|
- lib/lono/new.rb
|
529
548
|
- lib/lono/new/helper.rb
|
530
|
-
- lib/lono/
|
549
|
+
- lib/lono/opts.rb
|
550
|
+
- lib/lono/output/template.rb
|
531
551
|
- lib/lono/param.rb
|
532
552
|
- lib/lono/param/generator.rb
|
553
|
+
- lib/lono/pro.rb
|
554
|
+
- lib/lono/pro/base.rb
|
555
|
+
- lib/lono/pro/repo.rb
|
533
556
|
- lib/lono/project_checker.rb
|
557
|
+
- lib/lono/registration.rb
|
558
|
+
- lib/lono/registration/base.rb
|
559
|
+
- lib/lono/registration/check.rb
|
560
|
+
- lib/lono/registration/temp.rb
|
561
|
+
- lib/lono/registration/user.rb
|
534
562
|
- lib/lono/s3.rb
|
535
563
|
- lib/lono/s3/bucket.rb
|
536
564
|
- lib/lono/script.rb
|
@@ -541,49 +569,84 @@ files:
|
|
541
569
|
- lib/lono/seed/base.rb
|
542
570
|
- lib/lono/seed/service_role.rb
|
543
571
|
- lib/lono/sequence.rb
|
572
|
+
- lib/lono/sets.rb
|
573
|
+
- lib/lono/sets/base.rb
|
574
|
+
- lib/lono/sets/create.rb
|
575
|
+
- lib/lono/sets/delete.rb
|
576
|
+
- lib/lono/sets/deploy.rb
|
577
|
+
- lib/lono/sets/instances.rb
|
578
|
+
- lib/lono/sets/instances/base.rb
|
579
|
+
- lib/lono/sets/instances/delete.rb
|
580
|
+
- lib/lono/sets/instances/list.rb
|
581
|
+
- lib/lono/sets/instances/opts.rb
|
582
|
+
- lib/lono/sets/instances/status.rb
|
583
|
+
- lib/lono/sets/instances/sync.rb
|
584
|
+
- lib/lono/sets/list.rb
|
585
|
+
- lib/lono/sets/opts.rb
|
586
|
+
- lib/lono/sets/preview/codediff.rb
|
587
|
+
- lib/lono/sets/preview/param.rb
|
588
|
+
- lib/lono/sets/status.rb
|
589
|
+
- lib/lono/sets/status/instance.rb
|
590
|
+
- lib/lono/sets/status/instance/base.rb
|
591
|
+
- lib/lono/sets/status/instance/completed.rb
|
592
|
+
- lib/lono/sets/status/instance/deleted.rb
|
593
|
+
- lib/lono/sets/status/instance/show.rb
|
594
|
+
- lib/lono/sets/status/instances.rb
|
595
|
+
- lib/lono/sets/summarize.rb
|
596
|
+
- lib/lono/sets/time_spent.rb
|
597
|
+
- lib/lono/sets/update.rb
|
544
598
|
- lib/lono/setting.rb
|
545
599
|
- lib/lono/template.rb
|
546
600
|
- lib/lono/template/aws_service.rb
|
547
|
-
- lib/lono/template/base.rb
|
548
601
|
- lib/lono/template/bashify.rb
|
602
|
+
- lib/lono/template/configset_injector.rb
|
549
603
|
- lib/lono/template/context.rb
|
550
604
|
- lib/lono/template/context/helpers.rb
|
551
605
|
- lib/lono/template/context/loader.rb
|
552
606
|
- lib/lono/template/context/ssm_fetcher.rb
|
553
|
-
- lib/lono/template/dsl.rb
|
554
|
-
- lib/lono/template/dsl/builder.rb
|
555
|
-
- lib/lono/template/dsl/builder/base.rb
|
556
|
-
- lib/lono/template/dsl/builder/condition.rb
|
557
|
-
- lib/lono/template/dsl/builder/fn.rb
|
558
|
-
- lib/lono/template/dsl/builder/helpers.rb
|
559
|
-
- lib/lono/template/dsl/builder/helpers/core_helper.rb
|
560
|
-
- lib/lono/template/dsl/builder/helpers/param_helper.rb
|
561
|
-
- lib/lono/template/dsl/builder/mapping.rb
|
562
|
-
- lib/lono/template/dsl/builder/output.rb
|
563
|
-
- lib/lono/template/dsl/builder/parameter.rb
|
564
|
-
- lib/lono/template/dsl/builder/resource.rb
|
565
|
-
- lib/lono/template/dsl/builder/resource/property_mover.rb
|
566
|
-
- lib/lono/template/dsl/builder/section.rb
|
567
|
-
- lib/lono/template/dsl/builder/section_methods.rb
|
568
|
-
- lib/lono/template/dsl/builder/squeezer.rb
|
569
|
-
- lib/lono/template/dsl/builder/syntax.rb
|
570
|
-
- lib/lono/template/erb.rb
|
571
607
|
- lib/lono/template/evaluate.rb
|
572
608
|
- lib/lono/template/generator.rb
|
573
609
|
- lib/lono/template/helper.rb
|
574
610
|
- lib/lono/template/post_processor.rb
|
611
|
+
- lib/lono/template/strategy/base.rb
|
612
|
+
- lib/lono/template/strategy/dsl.rb
|
613
|
+
- lib/lono/template/strategy/dsl/builder.rb
|
614
|
+
- lib/lono/template/strategy/dsl/builder/fn.rb
|
615
|
+
- lib/lono/template/strategy/dsl/builder/helpers.rb
|
616
|
+
- lib/lono/template/strategy/dsl/builder/helpers/core_helper.rb
|
617
|
+
- lib/lono/template/strategy/dsl/builder/helpers/file_helper.rb
|
618
|
+
- lib/lono/template/strategy/dsl/builder/helpers/lookup_helper.rb
|
619
|
+
- lib/lono/template/strategy/dsl/builder/helpers/s3_helper.rb
|
620
|
+
- lib/lono/template/strategy/dsl/builder/helpers/tags_helper.rb
|
621
|
+
- lib/lono/template/strategy/dsl/builder/section/base.rb
|
622
|
+
- lib/lono/template/strategy/dsl/builder/section/condition.rb
|
623
|
+
- lib/lono/template/strategy/dsl/builder/section/extensions.rb
|
624
|
+
- lib/lono/template/strategy/dsl/builder/section/mapping.rb
|
625
|
+
- lib/lono/template/strategy/dsl/builder/section/methods.rb
|
626
|
+
- lib/lono/template/strategy/dsl/builder/section/output.rb
|
627
|
+
- lib/lono/template/strategy/dsl/builder/section/parameter.rb
|
628
|
+
- lib/lono/template/strategy/dsl/builder/section/resource.rb
|
629
|
+
- lib/lono/template/strategy/dsl/builder/section/resource/property_mover.rb
|
630
|
+
- lib/lono/template/strategy/dsl/builder/section/section.rb
|
631
|
+
- lib/lono/template/strategy/dsl/builder/squeezer.rb
|
632
|
+
- lib/lono/template/strategy/dsl/builder/stringify.rb
|
633
|
+
- lib/lono/template/strategy/dsl/builder/syntax.rb
|
634
|
+
- lib/lono/template/strategy/dsl/finalizer.rb
|
635
|
+
- lib/lono/template/strategy/dsl/finalizer/parameter_groups.rb
|
636
|
+
- lib/lono/template/strategy/erb.rb
|
637
|
+
- lib/lono/template/strategy/source.rb
|
575
638
|
- lib/lono/template/template.rb
|
576
639
|
- lib/lono/template/upload.rb
|
577
640
|
- lib/lono/template/util.rb
|
578
641
|
- lib/lono/upgrade.rb
|
579
|
-
- lib/lono/upgrade/upgrade4.rb
|
580
|
-
- lib/lono/upgrade/upgrade42.rb
|
581
|
-
- lib/lono/upgrade/upgrade5.rb
|
582
642
|
- lib/lono/user_data.rb
|
643
|
+
- lib/lono/utils/pretty_time.rb
|
644
|
+
- lib/lono/utils/sure.rb
|
583
645
|
- lib/lono/version.rb
|
646
|
+
- lib/lono/yamler/loader.rb
|
647
|
+
- lib/lono/yamler/validator.rb
|
584
648
|
- lib/templates/blueprint/%blueprint_name%.gemspec.tt
|
585
649
|
- lib/templates/blueprint/.gitignore
|
586
|
-
- lib/templates/blueprint/.meta/config.yml.tt
|
587
650
|
- lib/templates/blueprint/CHANGELOG.md
|
588
651
|
- lib/templates/blueprint/Gemfile
|
589
652
|
- lib/templates/blueprint/README.md.tt
|
@@ -597,13 +660,17 @@ files:
|
|
597
660
|
- lib/templates/blueprint_types/dsl/app/user_data/bootstrap.sh
|
598
661
|
- lib/templates/blueprint_types/erb/app/definitions/base.rb.tt
|
599
662
|
- lib/templates/blueprint_types/erb/app/templates/%blueprint_name%.yml
|
663
|
+
- lib/templates/configset/%configset_name%.gemspec.tt
|
664
|
+
- lib/templates/configset/.gitignore
|
665
|
+
- lib/templates/configset/CHANGELOG.md
|
666
|
+
- lib/templates/configset/Gemfile
|
667
|
+
- lib/templates/configset/README.md.tt
|
668
|
+
- lib/templates/configset/Rakefile.tt
|
669
|
+
- lib/templates/configset/lib/configset.yml
|
600
670
|
- lib/templates/skeleton/.gitignore
|
601
671
|
- lib/templates/skeleton/Gemfile
|
602
|
-
- lib/templates/skeleton/Guardfile
|
603
672
|
- lib/templates/skeleton/README.md
|
604
673
|
- lib/templates/skeleton/configs/settings.yml
|
605
|
-
- lib/templates/upgrade5/blueprints/main/.lono/config.yml
|
606
|
-
- lib/templates/upgrade5/blueprints/main/.meta/config.yml
|
607
674
|
- lono.gemspec
|
608
675
|
- vendor/cfn-status/CHANGELOG.md
|
609
676
|
- vendor/cfn-status/Gemfile
|
@@ -648,7 +715,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
648
715
|
- !ruby/object:Gem::Version
|
649
716
|
version: '0'
|
650
717
|
requirements: []
|
651
|
-
rubygems_version: 3.
|
718
|
+
rubygems_version: 3.1.2
|
652
719
|
signing_key:
|
653
720
|
specification_version: 4
|
654
721
|
summary: The CloudFormation Framework
|