ecs_compose 0.1.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.dockerignore +4 -0
- data/.gitignore +11 -0
- data/.rspec +2 -0
- data/.travis.yml +4 -0
- data/Dockerfile +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/ecs_compose.gemspec +36 -0
- data/exe/ecs-compose +5 -0
- data/go-publish.sh +36 -0
- data/lib/ecs_compose.rb +7 -0
- data/lib/ecs_compose/cli.rb +35 -0
- data/lib/ecs_compose/ecs.rb +55 -0
- data/lib/ecs_compose/json_generator.rb +118 -0
- data/lib/ecs_compose/version.rb +3 -0
- data/publish.sh +26 -0
- metadata +137 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2c9e6aedc15bfab03a9d0a8f5798523d8e9f2dfa
|
4
|
+
data.tar.gz: 9bc81dd410bf4052f555a9f2c8be1c697b593558
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5a6eddb45a9f4c11831d4e6aa7deaaf7f35df86f884ad8f387dec17238230f8ca6822d3d69f27db0a228a77651fd10fee9ab50485b8b72dd3bef821412913e0c
|
7
|
+
data.tar.gz: 05d2bf004cc97897350228e31fa8225fc398a2e15479d2b3c83f4881013eb183f3481e22b74f890cfa69e1333aaf9f33c853d356708e03abbb79bc4747dd2a61
|
data/.dockerignore
ADDED
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Dockerfile
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# DEVELOPMENT ONLY. This is used by go-publish.sh to build our
|
2
|
+
# ecs_compose gem.
|
3
|
+
|
4
|
+
FROM ruby:2.1.5
|
5
|
+
|
6
|
+
WORKDIR /gem
|
7
|
+
|
8
|
+
# Allow docker to cache the gem downloads even if unreleated files change.
|
9
|
+
ADD Gemfile /gem/
|
10
|
+
ADD ecs_compose.gemspec /gem/
|
11
|
+
ADD lib/ecs_compose/version.rb /gem/lib/ecs_compose/
|
12
|
+
RUN gem install bundler && bundle install
|
13
|
+
|
14
|
+
# Add the rest of the files.
|
15
|
+
ADD . /gem/
|
16
|
+
|
17
|
+
# Command to test and publish the gem.
|
18
|
+
CMD /gem/publish.sh
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Eric Kidd
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# EcsCompose
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ecs_compose`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'ecs_compose'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install ecs_compose
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. Run `bundle exec ecs_compose` to use the gem in this directory, ignoring other installed copies of this gem.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/ecs_compose.
|
36
|
+
|
37
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "ecs_compose"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/ecs_compose.gemspec
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'ecs_compose/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "ecs_compose"
|
8
|
+
spec.version = EcsCompose::VERSION
|
9
|
+
spec.authors = ["Eric Kidd"]
|
10
|
+
spec.email = ["git@randomhacks.net"]
|
11
|
+
|
12
|
+
spec.summary = %q{Deploy docker-compose.yml files to Amazon EC2 Container Service}
|
13
|
+
spec.description = %q{An interace to the Amazon EC2 Container Service that works vaguely like docker-compose, for people who are familiar with a docker-compose workflow.}
|
14
|
+
spec.homepage = "https://github.com/faradayio/ecs_compose"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing to anywhere but rubygems.org, in case stuff gets
|
18
|
+
# misconfigured elsewhere.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
+
end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|go-|publish\.sh|Dockerfile)/}) }
|
26
|
+
spec.bindir = "exe"
|
27
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
|
30
|
+
spec.add_dependency "thor", "~> 0.19.1"
|
31
|
+
spec.add_dependency "colorize", "~> 0.7.7"
|
32
|
+
|
33
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
34
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
35
|
+
spec.add_development_dependency "rspec"
|
36
|
+
end
|
data/exe/ecs-compose
ADDED
data/go-publish.sh
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#
|
3
|
+
# DEVELOPMENT ONLY: Called from a GoCD continuous integration pipeline to
|
4
|
+
# automatically publish pre-release builds of this gem when it changes.
|
5
|
+
#
|
6
|
+
# We build inside a docker container to make sure that we have the correct
|
7
|
+
# authentication credentials and that we're totally isolated.
|
8
|
+
|
9
|
+
# Standard paranoia: Exit on errors or undefined variables, and print all
|
10
|
+
# commands run.
|
11
|
+
set -e
|
12
|
+
set -u
|
13
|
+
set -o xtrace
|
14
|
+
|
15
|
+
# Set our test image and container names.
|
16
|
+
TEST_IMAGE="$GO_PIPELINE_NAME-$GO_PIPELINE_COUNTER-test"
|
17
|
+
TEST_CONTAINER="$TEST_IMAGE-container"
|
18
|
+
|
19
|
+
# Build our container.
|
20
|
+
docker build -t "$TEST_IMAGE" .
|
21
|
+
|
22
|
+
# Run our docker container (without printing).
|
23
|
+
set +o xtrace
|
24
|
+
echo "(Running docker container)"
|
25
|
+
docker run \
|
26
|
+
-e ECS_COMPOSE_BUILD_NUMBER="$GO_PIPELINE_COUNTER" \
|
27
|
+
-e RUBYGEMS_AUTH="$PUBLIC_FARADAYIO_RUBYGEMS_AUTH" \
|
28
|
+
--name "$TEST_CONTAINER" \
|
29
|
+
--rm \
|
30
|
+
"$TEST_IMAGE"
|
31
|
+
set -o xtrace
|
32
|
+
|
33
|
+
# Clean up our image now that we no longer need it.
|
34
|
+
docker rmi "$TEST_IMAGE"
|
35
|
+
|
36
|
+
|
data/lib/ecs_compose.rb
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
require "ecs_compose"
|
2
|
+
require "thor"
|
3
|
+
|
4
|
+
module EcsCompose
|
5
|
+
class Cli < Thor
|
6
|
+
class_option(:services, type: :string,
|
7
|
+
desc: "A comma-separated list of containers to include. Defaults to all.")
|
8
|
+
|
9
|
+
desc("conv FAMILY [YAML_FILE]",
|
10
|
+
"Convert docker-compose.yml to ECS JSON format")
|
11
|
+
def jsonify(family, yaml_file="docker-compose.yml")
|
12
|
+
yaml = File.read(yaml_file)
|
13
|
+
puts EcsCompose::JsonGenerator.new(family, yaml, services: services).json
|
14
|
+
end
|
15
|
+
|
16
|
+
desc("up SERVICE [YAML_FILE]",
|
17
|
+
"Update an ECS service to match YAML_FILE")
|
18
|
+
def up(service, yaml_file="docker-compose.yml")
|
19
|
+
yaml = File.read(yaml_file)
|
20
|
+
json = EcsCompose::JsonGenerator.new(service, yaml, services: services).json
|
21
|
+
EcsCompose::Ecs.update_service_with_json(service, json)
|
22
|
+
end
|
23
|
+
|
24
|
+
protected
|
25
|
+
|
26
|
+
# Parse our `services` option.
|
27
|
+
def services
|
28
|
+
if options[:services]
|
29
|
+
options[:services].split(',')
|
30
|
+
else
|
31
|
+
nil
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
|
3
|
+
require 'colorize'
|
4
|
+
require 'json'
|
5
|
+
require 'open3'
|
6
|
+
require 'tempfile'
|
7
|
+
|
8
|
+
module EcsCompose
|
9
|
+
# Interfaces to the 'aws ecs' subcommand provided by the awscli Python
|
10
|
+
# package from Amazon. There might be a Ruby gem (like fog) that can do
|
11
|
+
# some of this now, but Amazon keeps the awscli tool up to date, and ECS
|
12
|
+
# is still very new.
|
13
|
+
module Ecs
|
14
|
+
# Run `aws ecs` with the specified arguments.
|
15
|
+
def self.run(*args)
|
16
|
+
command = ["aws", "ecs"] + args + ["--output", "json"]
|
17
|
+
puts "→ #{command.join(' ').blue}"
|
18
|
+
stdout, status = Open3.capture2(*command)
|
19
|
+
if status != 0
|
20
|
+
raise "Error running: #{command.inspect}"
|
21
|
+
end
|
22
|
+
JSON.parse(stdout)
|
23
|
+
end
|
24
|
+
|
25
|
+
# Register the specified task definition (passed as JSON data).
|
26
|
+
def self.register_task_definition(json)
|
27
|
+
# Dump our task definition to a tempfile so we have access to the
|
28
|
+
# more complete set of arguments that are only available in file
|
29
|
+
# mode.
|
30
|
+
family = JSON.parse(json).fetch("family")
|
31
|
+
Tempfile.open(['task-definition', '.json']) do |f|
|
32
|
+
f.write(json)
|
33
|
+
f.close()
|
34
|
+
run("register-task-definition",
|
35
|
+
"--cli-input-json", "file://#{f.path}")
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
# Update the specified service. Sample args: `"frontend"`,
|
40
|
+
# `"frontend:7"`.
|
41
|
+
def self.update_service(service, task_definition)
|
42
|
+
run("update-service",
|
43
|
+
"--service", service,
|
44
|
+
"--task-definition", task_definition)
|
45
|
+
end
|
46
|
+
|
47
|
+
# Update the specified service, passing in a new task definition in
|
48
|
+
# JSON format.
|
49
|
+
def self.update_service_with_json(service, json)
|
50
|
+
reg = register_task_definition(json)["taskDefinition"]
|
51
|
+
task_def = "#{reg['family']}:#{reg['revision']}"
|
52
|
+
update_service(service, task_def)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,118 @@
|
|
1
|
+
require 'psych'
|
2
|
+
require 'json'
|
3
|
+
|
4
|
+
module EcsCompose
|
5
|
+
class ContainerKeyError < KeyError
|
6
|
+
end
|
7
|
+
|
8
|
+
# Converts from raw YAML text in docker-compose.yml format to ECS task
|
9
|
+
# definition JSON.
|
10
|
+
class JsonGenerator
|
11
|
+
|
12
|
+
# Create a new generator, specifying the family name to use, and the
|
13
|
+
# raw YAML input.
|
14
|
+
def initialize(family, yaml_text, services: nil)
|
15
|
+
@family = family
|
16
|
+
@yaml = Psych.load(yaml_text)
|
17
|
+
@services = services
|
18
|
+
end
|
19
|
+
|
20
|
+
# Generate an ECS task definition as a raw Ruby hash.
|
21
|
+
def generate
|
22
|
+
containers = @yaml.map do |name, fields|
|
23
|
+
# Skip this service if we've been given a list to emit, and
|
24
|
+
# this service isn't on the list.
|
25
|
+
begin
|
26
|
+
json = {
|
27
|
+
"name" => name,
|
28
|
+
"image" => fields.fetch("image"),
|
29
|
+
# Default to a tiny guaranteed CPU share.
|
30
|
+
"cpu" => fields["cpu_shares"] || 2,
|
31
|
+
"memory" => mem_limit_to_mb(fields.fetch("mem_limit")),
|
32
|
+
"links" => fields["links"] || [],
|
33
|
+
"portMappings" =>
|
34
|
+
(fields["ports"] || []).map {|pm| port_mapping(pm) },
|
35
|
+
"essential" => true,
|
36
|
+
"environment" => environment(fields["environment"] || {}),
|
37
|
+
"mountPoints" => [],
|
38
|
+
"volumesFrom" => [],
|
39
|
+
}
|
40
|
+
if fields.has_key?("entrypoint")
|
41
|
+
json["entryPoint"] = command_line(fields.fetch("entrypoint"))
|
42
|
+
end
|
43
|
+
if fields.has_key?("command")
|
44
|
+
json["command"] = command_line(fields.fetch("command"))
|
45
|
+
end
|
46
|
+
json
|
47
|
+
|
48
|
+
rescue KeyError => e
|
49
|
+
# This makes it a lot easier to localize errors a bit.
|
50
|
+
raise ContainerKeyError.new("#{e.message} processing container \"#{name}\"")
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# Prune our services against a list if requested.
|
55
|
+
if @services
|
56
|
+
containers.select! {|c| @services.include?(c["name"]) }
|
57
|
+
end
|
58
|
+
|
59
|
+
{
|
60
|
+
"family" => @family,
|
61
|
+
"containerDefinitions" => containers,
|
62
|
+
"volumes" => []
|
63
|
+
}
|
64
|
+
end
|
65
|
+
|
66
|
+
# Generate an ECS task definition as serialized JSON.
|
67
|
+
def json
|
68
|
+
# We do not want to insert much extra whitespace, because ECS imposes
|
69
|
+
# a maximum file-size limit based on bytes.
|
70
|
+
JSON.generate(generate())
|
71
|
+
end
|
72
|
+
|
73
|
+
protected
|
74
|
+
|
75
|
+
# Parse a Docker-style `mem_limit` and convert to megabytes.
|
76
|
+
def mem_limit_to_mb(mem_limit)
|
77
|
+
unless mem_limit.downcase =~ /\A(\d+)([bkmg])\z/
|
78
|
+
raise "Cannot parse docker memory limit: #{mem_limit}"
|
79
|
+
end
|
80
|
+
val = $1.to_i
|
81
|
+
case $2
|
82
|
+
when "b" then (val / (1024.0 * 1024.0)).ceil
|
83
|
+
when "k" then (val / 1024.0).ceil
|
84
|
+
when "m" then (val * 1.0).ceil
|
85
|
+
when "g" then (val * 1024.0).ceil
|
86
|
+
else raise "Can't convert #{mem_limit} to megabytes"
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Parse a Docker-style port mapping and convert to ECS format.
|
91
|
+
def port_mapping(port)
|
92
|
+
case port.to_s
|
93
|
+
when /\A(\d+)\z/
|
94
|
+
port = $1.to_i
|
95
|
+
{ "hostPort" => port, "containerPort" => port }
|
96
|
+
when /\A(\d+):(\d+)\z/
|
97
|
+
{ "hostPort" => $1.to_i, "containerPort" => $2.to_i }
|
98
|
+
else
|
99
|
+
raise "Cannot parse port specification: #{port}"
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
# Convert a command-line to an array of individual arguments.
|
104
|
+
#
|
105
|
+
# TODO: What is the exact format of the docker-compose fields here?
|
106
|
+
# Can the user pass an array? Is there a way to escape spaces?
|
107
|
+
def command_line(input)
|
108
|
+
input.split(/ /)
|
109
|
+
end
|
110
|
+
|
111
|
+
# Convert a docker-compose environment to ECS format. There are other
|
112
|
+
# possible formats for this that we don't support yet.
|
113
|
+
def environment(env)
|
114
|
+
# We need to force string values to keep ECS happy.
|
115
|
+
env.map {|k, v| { "name" => k, "value" => v.to_s } }
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
data/publish.sh
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
#
|
3
|
+
# DEVELOPMENT ONLY. Run from our Dockerfile.
|
4
|
+
|
5
|
+
# Standard paranoia: Exit on errors or undefined variables, and print all
|
6
|
+
# commands run.
|
7
|
+
set -e
|
8
|
+
set -u
|
9
|
+
set -o xtrace
|
10
|
+
|
11
|
+
# Log into Rubygems.
|
12
|
+
mkdir -p ~/.gem
|
13
|
+
echo "(Logging into rubygems)"
|
14
|
+
set +o xtrace
|
15
|
+
curl -u faradayio:"$RUBYGEMS_AUTH" https://rubygems.org/api/v1/api_key.yaml > \
|
16
|
+
~/.gem/credentials
|
17
|
+
set -o xtrace
|
18
|
+
chmod 0600 ~/.gem/credentials
|
19
|
+
|
20
|
+
# Test our gem.
|
21
|
+
bundle exec rspec
|
22
|
+
|
23
|
+
# Package and publish our gem.
|
24
|
+
rm -f *.gem
|
25
|
+
gem build ecs_compose.gemspec
|
26
|
+
gem push ecs_compose-*.gem
|
metadata
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ecs_compose
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0.pre2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eric Kidd
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-08-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.19.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.19.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: colorize
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.7.7
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.7.7
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.10'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.10'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: An interace to the Amazon EC2 Container Service that works vaguely like
|
84
|
+
docker-compose, for people who are familiar with a docker-compose workflow.
|
85
|
+
email:
|
86
|
+
- git@randomhacks.net
|
87
|
+
executables:
|
88
|
+
- ecs-compose
|
89
|
+
extensions: []
|
90
|
+
extra_rdoc_files: []
|
91
|
+
files:
|
92
|
+
- ".dockerignore"
|
93
|
+
- ".gitignore"
|
94
|
+
- ".rspec"
|
95
|
+
- ".travis.yml"
|
96
|
+
- Dockerfile
|
97
|
+
- Gemfile
|
98
|
+
- LICENSE.txt
|
99
|
+
- README.md
|
100
|
+
- Rakefile
|
101
|
+
- bin/console
|
102
|
+
- bin/setup
|
103
|
+
- ecs_compose.gemspec
|
104
|
+
- exe/ecs-compose
|
105
|
+
- go-publish.sh
|
106
|
+
- lib/ecs_compose.rb
|
107
|
+
- lib/ecs_compose/cli.rb
|
108
|
+
- lib/ecs_compose/ecs.rb
|
109
|
+
- lib/ecs_compose/json_generator.rb
|
110
|
+
- lib/ecs_compose/version.rb
|
111
|
+
- publish.sh
|
112
|
+
homepage: https://github.com/faradayio/ecs_compose
|
113
|
+
licenses:
|
114
|
+
- MIT
|
115
|
+
metadata:
|
116
|
+
allowed_push_host: https://rubygems.org
|
117
|
+
post_install_message:
|
118
|
+
rdoc_options: []
|
119
|
+
require_paths:
|
120
|
+
- lib
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 1.3.1
|
131
|
+
requirements: []
|
132
|
+
rubyforge_project:
|
133
|
+
rubygems_version: 2.2.2
|
134
|
+
signing_key:
|
135
|
+
specification_version: 4
|
136
|
+
summary: Deploy docker-compose.yml files to Amazon EC2 Container Service
|
137
|
+
test_files: []
|