ufo 4.3.1 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +8 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +26 -26
- data/README.md +1 -1
- data/docs/.ruby-version +1 -0
- data/docs/_docs/auto-completion.md +2 -3
- data/docs/_docs/automated-cleanup.md +2 -3
- data/docs/_docs/conventions.md +2 -3
- data/docs/_docs/customize-cloudformation.md +2 -3
- data/docs/_docs/ecs-network-mode.md +2 -3
- data/docs/_docs/faq.md +2 -3
- data/docs/_docs/fargate.md +1 -5
- data/docs/_docs/helpers.md +2 -3
- data/docs/_docs/install.md +2 -4
- data/docs/_docs/load-balancer.md +2 -3
- data/docs/_docs/migrations.md +2 -3
- data/docs/_docs/next-steps.md +2 -4
- data/docs/_docs/params.md +2 -4
- data/docs/_docs/quick-start-ec2.md +3 -4
- data/docs/_docs/redirection-support.md +2 -3
- data/docs/_docs/route53-support.md +2 -3
- data/docs/_docs/run-in-pieces.md +2 -3
- data/docs/_docs/security-groups.md +2 -3
- data/docs/_docs/settings-cfn.md +2 -3
- data/docs/_docs/settings-network.md +2 -3
- data/docs/_docs/settings.md +21 -24
- data/docs/_docs/single-task.md +2 -3
- data/docs/_docs/ssl-support.md +2 -3
- data/docs/_docs/structure.md +2 -4
- data/docs/_docs/stuck-cloudformation.md +2 -3
- data/docs/_docs/tutorial-ufo-docker-build.md +2 -4
- data/docs/_docs/tutorial-ufo-init.md +2 -4
- data/docs/_docs/tutorial-ufo-ship.md +2 -3
- data/docs/_docs/tutorial-ufo-ships.md +2 -3
- data/docs/_docs/tutorial-ufo-tasks-build.md +2 -3
- data/docs/_docs/tutorial.md +2 -3
- data/docs/_docs/ufo-current.md +2 -3
- data/docs/_docs/ufo-env-extra.md +2 -3
- data/docs/_docs/ufo-env.md +2 -3
- data/docs/_docs/ufo-tasks-register.md +1 -2
- data/docs/_docs/upgrading.md +13 -0
- data/docs/_docs/upgrading/upgrade4.4.md +39 -0
- data/docs/_docs/{upgrade4.md → upgrading/upgrade4.md} +6 -4
- data/docs/_docs/variables.md +2 -3
- data/docs/_docs/why-cloudformation.md +2 -3
- data/docs/_includes/prev_next.md +19 -0
- data/docs/_includes/subnav.html +8 -1
- data/docs/_reference/{ufo-upgrade-v3_3to3_4.md → ufo-upgrade-v33to34.md} +2 -2
- data/docs/_reference/ufo-upgrade-v43to44.md +15 -0
- data/docs/_reference/ufo-upgrade.md +2 -1
- data/docs/articles.md +2 -3
- data/docs/docs.md +2 -4
- data/docs/quick-start.md +3 -3
- data/lib/cfn/stack.yml +8 -8
- data/lib/template/.ufo/settings.yml.tt +5 -8
- data/lib/ufo.rb +2 -0
- data/lib/ufo/apps/service.rb +4 -4
- data/lib/ufo/base.rb +1 -2
- data/lib/ufo/cancel.rb +2 -2
- data/lib/ufo/core.rb +16 -14
- data/lib/ufo/destroy.rb +2 -2
- data/lib/ufo/ps.rb +1 -1
- data/lib/ufo/scale.rb +2 -2
- data/lib/ufo/setting.rb +16 -1
- data/lib/ufo/stack/context.rb +0 -1
- data/lib/ufo/stack/helper.rb +18 -1
- data/lib/ufo/upgrade.rb +8 -2
- data/lib/ufo/upgrade/upgrade33to34.rb +1 -0
- data/lib/ufo/upgrade/upgrade43to44.rb +25 -0
- data/lib/ufo/version.rb +1 -1
- data/spec/fixtures/settings.yml +3 -5
- data/spec/lib/setting_spec.rb +5 -0
- data/ufo.gemspec +1 -1
- metadata +13 -8
- data/spec/lib/core_spec.rb +0 -16
data/spec/lib/core_spec.rb
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
describe Ufo::Core do
|
2
|
-
before(:all) do
|
3
|
-
create_ufo_project
|
4
|
-
end
|
5
|
-
|
6
|
-
it "finds the first env that contains the aws profile" do
|
7
|
-
env = Ufo.send(:env_from_profile, "dev_profile1")
|
8
|
-
expect(env).to eq "development"
|
9
|
-
env = Ufo.send(:env_from_profile, "dev_profile2")
|
10
|
-
expect(env).to eq "development"
|
11
|
-
env = Ufo.send(:env_from_profile, "prod_profile")
|
12
|
-
expect(env).to eq "production"
|
13
|
-
env = Ufo.send(:env_from_profile, "does_not_exist")
|
14
|
-
expect(env).to be nil
|
15
|
-
end
|
16
|
-
end
|