ecs_compose 0.1.0.pre2 → 0.1.0.pre3

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: 2c9e6aedc15bfab03a9d0a8f5798523d8e9f2dfa
4
- data.tar.gz: 9bc81dd410bf4052f555a9f2c8be1c697b593558
3
+ metadata.gz: 4fbbe54755b0b5dec1afb9e69c2ac60f9596bfb5
4
+ data.tar.gz: 7af5f4efec236b452d48cd59459b110c52ad54b2
5
5
  SHA512:
6
- metadata.gz: 5a6eddb45a9f4c11831d4e6aa7deaaf7f35df86f884ad8f387dec17238230f8ca6822d3d69f27db0a228a77651fd10fee9ab50485b8b72dd3bef821412913e0c
7
- data.tar.gz: 05d2bf004cc97897350228e31fa8225fc398a2e15479d2b3c83f4881013eb183f3481e22b74f890cfa69e1333aaf9f33c853d356708e03abbb79bc4747dd2a61
6
+ metadata.gz: ce8958805db591750f41d0e1df666928ccd08a89b19f48ba550e3971819624b96b7364a021593fc5968fe09f159069eb164df097145dd94282907cc109e20f1f
7
+ data.tar.gz: 2ad1d9684ebda80d7f77d24a4b41eac61d22a3b8f4c695b76198939b4a1d232e8028e1e344e659a8e3736aa75f9899f51ea5fb92cb2a47c46f1014ffdca2b1df
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # EcsCompose
2
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.
3
+ **This is a work in progress!**
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ This gem attempts to provide a `docker-compose`-like interface to Amazon EC2 Container Service (ECS). It takes a `docker-compose.yml` file, and uses the included container definitions to update an ECS task definition and an ECS service.
6
+
7
+ This is still somewhat rudimentary, and the command-line interface is subject to change.
6
8
 
7
9
  ## Installation
8
10
 
@@ -14,7 +16,7 @@ gem 'ecs_compose'
14
16
 
15
17
  And then execute:
16
18
 
17
- $ bundle
19
+ $ bundle install
18
20
 
19
21
  Or install it yourself as:
20
22
 
@@ -22,7 +24,13 @@ Or install it yourself as:
22
24
 
23
25
  ## Usage
24
26
 
25
- TODO: Write usage instructions here
27
+ Using the Amazon Web Services console, create a new ECS cluster and define a service `my-service`. Describe your service using a standard `docker-compose.yml` file. Then run:
28
+
29
+ ```sh
30
+ ecs-compose up my-service docker-compose.yml
31
+ ```
32
+
33
+ This will update the task definition `my-service`, and then update the running copy of `my-service` to the new task definition.
26
34
 
27
35
  ## Development
28
36
 
@@ -34,7 +42,6 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
34
42
 
35
43
  Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/ecs_compose.
36
44
 
37
-
38
45
  ## License
39
46
 
40
47
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/exe/ecs-compose CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  require "ecs_compose/cli"
4
4
 
5
- EcsCompose::Cli.start(ARGV)
5
+ EcsCompose::CLI.start(ARGV)
@@ -2,7 +2,8 @@ require "ecs_compose"
2
2
  require "thor"
3
3
 
4
4
  module EcsCompose
5
- class Cli < Thor
5
+ # Our basic command-line interface.
6
+ class CLI < Thor
6
7
  class_option(:services, type: :string,
7
8
  desc: "A comma-separated list of containers to include. Defaults to all.")
8
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecs_compose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre2
4
+ version: 0.1.0.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kidd