ufo 3.3.1 → 3.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 480370e11a41c52b4621077e0fa0aaaa80351468c4d14f8d84239399ffd0f321
4
- data.tar.gz: 1f5622d7faf49ae0fa2dd038b6ba221306805fb4d7a12406f9ead4426e78df23
3
+ metadata.gz: 9526c75651199d68e6ab75d2c9ead77f0fe98494dea3bd9bca13a3c2693e2151
4
+ data.tar.gz: bb7af2fbd70a4a59e63a8b39907c4923310aeb5d4dc4aeac4e906509af4b1e5b
5
5
  SHA512:
6
- metadata.gz: f0ae8e2dfcc53a6f39fcda7caa3f01fcd64795ae8ec1b58c9e89109b116036355c3df063233599411fc97c0c3e2a3ef0fbe1741e4d3b1e2a0c65618d7954018c
7
- data.tar.gz: 10070e225d4de1d08fe514e250fb1a8165a33653423438cddf4e3b0f8e8fc40d2b04a4a5e1981ae13f03ddd566c8a8cf19a8a4b0ab59c011ef0224a318376a0b
6
+ metadata.gz: 2a0c2bd7632a8f0643072130d074fd8730f683803eba102d830ec6c875ecc23173139e72883ff40c99fdb884ef07b97e3c2df54f3348d4772e784c26fa7bacb7
7
+ data.tar.gz: e09b54aa2f9bc98a729f74592036def9b4caa5ee531c1addab982e4a6576d52c52645027c5da9a243b911f6cb02b2ce14e057a6832a4c836c3986f77e3585d1d
@@ -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
+ ## [3.3.2]
7
+ - Merge pull request #28 from netguru/master
8
+ - Fix one off task: ufo task
9
+
6
10
  ## [3.3.1]
7
11
  - fix starter template name
8
12
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ufo (3.2.2)
4
+ ufo (3.3.2)
5
5
  aws-sdk-cloudwatchlogs
6
6
  aws-sdk-ec2
7
7
  aws-sdk-ecr
@@ -21,11 +21,11 @@ GEM
21
21
  i18n (~> 0.7)
22
22
  minitest (~> 5.1)
23
23
  tzinfo (~> 1.1)
24
- aws-partitions (1.70.0)
24
+ aws-partitions (1.73.0)
25
25
  aws-sdk-cloudwatchlogs (1.2.0)
26
26
  aws-sdk-core (~> 3)
27
27
  aws-sigv4 (~> 1.0)
28
- aws-sdk-core (3.17.0)
28
+ aws-sdk-core (3.17.1)
29
29
  aws-partitions (~> 1.0)
30
30
  aws-sigv4 (~> 1.0)
31
31
  jmespath (~> 1.0)
@@ -35,14 +35,14 @@ GEM
35
35
  aws-sdk-ecr (1.3.0)
36
36
  aws-sdk-core (~> 3)
37
37
  aws-sigv4 (~> 1.0)
38
- aws-sdk-ecs (1.10.0)
38
+ aws-sdk-ecs (1.12.0)
39
39
  aws-sdk-core (~> 3)
40
40
  aws-sigv4 (~> 1.0)
41
41
  aws-sdk-elasticloadbalancingv2 (1.8.0)
42
42
  aws-sdk-core (~> 3)
43
43
  aws-sigv4 (~> 1.0)
44
44
  aws-sigv4 (1.0.2)
45
- byebug (10.0.0)
45
+ byebug (10.0.1)
46
46
  cli_markdown (0.1.0)
47
47
  codeclimate-test-reporter (1.0.8)
48
48
  simplecov (<= 0.13)
@@ -57,8 +57,8 @@ GEM
57
57
  json (2.1.0)
58
58
  minitest (5.11.3)
59
59
  plissken (1.2.0)
60
- rake (12.3.0)
61
- render_me_pretty (0.8.0)
60
+ rake (12.3.1)
61
+ render_me_pretty (0.8.1)
62
62
  activesupport
63
63
  colorize
64
64
  tilt
@@ -57,8 +57,8 @@ The explanation of the folders and files were covered in detailed earlier at [St
57
57
  Take a look at the `settings.yml` file and notice that it contains some default configuration settings so you do not have to type out these options repeatedly for some of the ufo commands.
58
58
 
59
59
  ```yaml
60
- # More info: http://ufoships.com/docs/ufo-settings/
61
- base: &base
60
+ # More info: http://ufoships.com/docs/settings/
61
+ base:
62
62
  image: tongueroo/hi
63
63
  # clean_keep: 30 # cleans up docker images on your docker server.
64
64
  # ecr_keep: 30 # cleans up images on ECR and keeps this remaining amount. Defaults to keep all.
@@ -69,7 +69,6 @@ base: &base
69
69
  desired_count: 1
70
70
 
71
71
  development:
72
- <<: *base
73
72
  # cluster: dev # uncomment if you want the cluster name be other than the default
74
73
  # the default is to match UFO_ENV. So UFO_ENV=development means the ECS
75
74
  # cluster will be name development
@@ -81,7 +80,6 @@ development:
81
80
  # - dev_profile2
82
81
 
83
82
  production:
84
- <<: *base
85
83
  # cluster: prod
86
84
  # aws_profiles:
87
85
  # - prod_profile
@@ -65,7 +65,7 @@ If you would like the `ufo init` command to use your own custom templates, you c
65
65
 
66
66
  ufo init --app=hi --image=tongueroo/hi --template=tongueroo/ufo-custom-template
67
67
 
68
- This will clone the repo on GitHub into the `~/.ufo/templates/tongueroo/ufo-custom-template` and use that as an additional template source. The default `--template-mode=additive` which means that if there's a file in `tongueroo/ufo-custom-template` that exists it will use that in place of the default template files.
68
+ This will clone the repo on GitHub into the `~/.ufo/templates/tongueroo/ufo-custom-template` and use that as an additional template source. The default `--template-mode=additive` mode means that if there's a file in `tongueroo/ufo-custom-template` that exists it will use that in place of the default template files.
69
69
 
70
70
  If you do not want to use any of the original default template files within the ufo gem at all, you can use the `--template-mode=replace` mode. Replace mode will only use templates from the provided `--template` option. Example:
71
71
 
@@ -8,7 +8,7 @@ class Ufo::Docker
8
8
  def self.build(options)
9
9
  builder = Builder.new(options) # outside if because it need builder.full_image_name
10
10
  builder.build
11
- pusher = Docker::Pusher.new(nil, options)
11
+ pusher = Pusher.new(nil, options)
12
12
  pusher.push
13
13
  builder
14
14
  end
@@ -30,7 +30,8 @@ module Ufo
30
30
  def env_vars(text)
31
31
  lines = filtered_lines(text)
32
32
  lines.map do |line|
33
- key,value = line.strip.split("=").map {|x| x.strip}
33
+ key,*value = line.strip.split("=").map {|x| x.strip}
34
+ value = value.join('=')
34
35
  {
35
36
  name: key,
36
37
  value: value,
@@ -52,7 +52,7 @@ If you would like the `ufo init` command to use your own custom templates, you c
52
52
 
53
53
  ufo init --app=hi --image=tongueroo/hi --template=tongueroo/ufo-custom-template
54
54
 
55
- This will clone the repo on GitHub into the `~/.ufo/templates/tongueroo/ufo-custom-template` and use that as an additional template source. The default `--template-mode=additive` which means that if there's a file in `tongueroo/ufo-custom-template` that exists it will use that in place of the default template files.
55
+ This will clone the repo on GitHub into the `~/.ufo/templates/tongueroo/ufo-custom-template` and use that as an additional template source. The default `--template-mode=additive` mode means that if there's a file in `tongueroo/ufo-custom-template` that exists it will use that in place of the default template files.
56
56
 
57
57
  If you do not want to use any of the original default template files within the ufo gem at all, you can use the `--template-mode=replace` mode. Replace mode will only use templates from the provided `--template` option. Example:
58
58
 
@@ -1,3 +1,3 @@
1
1
  module Ufo
2
- VERSION = "3.3.1"
2
+ VERSION = "3.3.2"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  # More info: http://ufoships.com/docs/ufo-settings/
2
- base: &base
2
+ base:
3
3
  image: <%= @image %>
4
4
  # clean_keep: 30 # cleans up docker images on your docker server.
5
5
  # ecr_keep: 30 # cleans up images on ECR and keeps this remaining amount. Defaults to keep all.
@@ -10,14 +10,12 @@ base: &base
10
10
  desired_count: 1
11
11
 
12
12
  development:
13
- <<: *base
14
13
  cluster: dev
15
14
  aws_profiles:
16
15
  - dev_profile1
17
16
  - dev_profile2
18
17
 
19
18
  production:
20
- <<: *base
21
19
  cluster: prod
22
20
  aws_profiles:
23
21
  - prod_profile
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ufo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-15 00:00:00.000000000 Z
11
+ date: 2018-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-cloudwatchlogs