hako 0.21.0 → 0.21.1

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
  SHA1:
3
- metadata.gz: 7c6e02b9939541f56711b9225a74381d7473376b
4
- data.tar.gz: a43209df25791df32037b123f21255c8f4ed98d5
3
+ metadata.gz: 9bb0e925130947e9060b87f35a2b8f05c5e7ba5e
4
+ data.tar.gz: 651f08761326f2d6e256adf5a5acdf36536d0a82
5
5
  SHA512:
6
- metadata.gz: a727aaff0caded43aeda3477d6f2819c44d9285e7f296c4d1eb4738ffab649326e966377c59c7cf1d1e932fe480465663387e1e14191cc5da8c652e223130a73
7
- data.tar.gz: affac360aeef705b05799af8dbd66a9af5b093ab1f8847227c886bed2e52dce52bd02900c84d6c91f49b346b62dfdfda835b1d37c569e32aecacc8f605ba7d71
6
+ metadata.gz: b1f0410687bb493c1138be744019ac91b41636d35e451e11f21ad69b3ba142f123cddaadd2c9db722b9b6deceeba9773b21dbd4116dc5a829ef9f30ae1a6292d
7
+ data.tar.gz: ed716994d7a904addc260be274d883d5c9df09313f0c664975c2c7337f650509e6e2dfaf903446a0606b6d9a8fe8e77f8037386480a0f0b41652a930797525ef
@@ -0,0 +1,11 @@
1
+ scheduler:
2
+ type: ecs
3
+ region: ap-northeast-1
4
+ cluster: eagletmt
5
+ desired_count: 1
6
+ app:
7
+ image: busybox
8
+ memory: 128
9
+ cpu: 256
10
+ command: ['echo', 'hello from --privileged mode']
11
+ privileged: true
@@ -27,6 +27,7 @@ module Hako
27
27
  port_mappings
28
28
  command
29
29
  user
30
+ privileged
30
31
  ].each do |name|
31
32
  define_method(name) do
32
33
  @definition[name]
@@ -109,6 +110,7 @@ module Hako
109
110
  'mount_points' => [],
110
111
  'port_mappings' => [],
111
112
  'volumes_from' => [],
113
+ 'privileged' => false,
112
114
  }
113
115
  end
114
116
 
@@ -456,6 +456,7 @@ module Hako
456
456
  docker_labels: container.docker_labels,
457
457
  mount_points: container.mount_points,
458
458
  command: container.command,
459
+ privileged: container.privileged,
459
460
  volumes_from: container.volumes_from,
460
461
  user: container.user,
461
462
  log_configuration: container.log_configuration,
@@ -32,6 +32,7 @@ module Hako
32
32
  struct.member(:command, Schema::Nullable.new(Schema::OrderedArray.new(Schema::String.new)))
33
33
  struct.member(:volumes_from, Schema::UnorderedArray.new(volumes_from_schema))
34
34
  struct.member(:user, Schema::Nullable.new(Schema::String.new))
35
+ struct.member(:privileged, Schema::Boolean.new)
35
36
  struct.member(:log_configuration, Schema::Nullable.new(log_configuration_schema))
36
37
  end
37
38
  end
data/lib/hako/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Hako
3
- VERSION = '0.21.0'
3
+ VERSION = '0.21.1'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hako
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kohei Suzuki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-07 00:00:00.000000000 Z
11
+ date: 2016-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -119,6 +119,7 @@ files:
119
119
  - examples/hello-awslogs-driver.yml
120
120
  - examples/hello-lb-v2.yml
121
121
  - examples/hello-lb.yml
122
+ - examples/hello-privileged-app.yml
122
123
  - examples/hello.env
123
124
  - examples/hello.yml
124
125
  - exe/hako