ecs_compose 0.1.0.pre38 → 0.1.0.pre41

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: 10102b17818a0bcf6e0ba5c0fe8f8e66e4fea660
4
- data.tar.gz: cd0926a106951b54aafed6e84f2cd25b85367488
3
+ metadata.gz: 25821fd411fe5b4a0fde6db3e60ba991ab34fb65
4
+ data.tar.gz: c413cb36bdaa55ad30d0d3a05344340bcb216576
5
5
  SHA512:
6
- metadata.gz: 8e8b5f4bd735b9803ae99addcc31ad787c694399bbbfe2307c074cfaf259680f19166b8b085d9d201e525586a0d3157be2f5cc2cafac04ce28fa81e6f86c9053
7
- data.tar.gz: 61936eb2b198bebf03ccd5abc0d8a4cdfb1e6e1b801db4f1255d89bfea448a83369babbe8889ae0e478e13b69721c89d7e853ad0320495e485ab3809e62d48fb
6
+ metadata.gz: 8dddedc53c5e3a2b4544f927e31e75f44bcb5946c743b3848b05b596ad50ba7ae87f30c1ca2737e9d636f2d0e4be7c9ba960c2d5865c8adb503a70c69a931e3c
7
+ data.tar.gz: cb68c3e0f9c84b8b74f0c864956f169e4b4387b84ad6eb7719b9c2e4c0262639fb12023ef3d544deee87226f0af24cc676c29c8506bd13086bd72dc6ddaa9899
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecs_compose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre38
4
+ version: 0.1.0.pre41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kidd
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-06 00:00:00.000000000 Z
11
+ date: 2016-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docopt
@@ -103,21 +103,8 @@ executables:
103
103
  extensions: []
104
104
  extra_rdoc_files: []
105
105
  files:
106
- - ".dockerignore"
107
- - ".gitignore"
108
- - ".rspec"
109
- - ".travis.yml"
110
- - Dockerfile
111
- - Gemfile
112
- - LICENSE.txt
113
106
  - README.md
114
- - Rakefile
115
- - alias_gem/ecs-compose.gemspec
116
- - bin/console
117
- - bin/setup
118
- - ecs_compose.gemspec
119
107
  - exe/ecs-compose
120
- - go-publish.sh
121
108
  - lib/ecs_compose.rb
122
109
  - lib/ecs_compose/cluster.rb
123
110
  - lib/ecs_compose/compare.rb
@@ -132,7 +119,6 @@ files:
132
119
  - lib/ecs_compose/task_definition.rb
133
120
  - lib/ecs_compose/task_error.rb
134
121
  - lib/ecs_compose/version.rb
135
- - publish.sh
136
122
  homepage: https://github.com/faradayio/ecs_compose
137
123
  licenses:
138
124
  - MIT
@@ -154,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
140
  version: 1.3.1
155
141
  requirements: []
156
142
  rubyforge_project:
157
- rubygems_version: 2.2.2
143
+ rubygems_version: 2.6.8
158
144
  signing_key:
159
145
  specification_version: 4
160
146
  summary: Deploy docker-compose.yml files to Amazon EC2 Container Service
data/.dockerignore DELETED
@@ -1,4 +0,0 @@
1
- /.git
2
- /Gemfile.lock
3
- /*.gem
4
- /deploy
data/.gitignore DELETED
@@ -1,11 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- /*.gem
11
- /deploy
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
data/.travis.yml DELETED
@@ -1,4 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.2
4
- before_install: gem install bundler -v 1.10.6
data/Dockerfile DELETED
@@ -1,18 +0,0 @@
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 DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in ecs_compose.gemspec
4
- gemspec
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
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/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task :default => :spec
@@ -1,16 +0,0 @@
1
- # coding: utf-8
2
- Gem::Specification.new do |spec|
3
- spec.name = "ecs-compose"
4
- spec.version = '0.0.0'
5
- spec.authors = ["Eric Kidd"]
6
- spec.email = ["git@randomhacks.net"]
7
-
8
- spec.summary = %q{ALIAS FOR ecs_compose. Deploy docker-compose.yml files to Amazon EC2 Container Service}
9
- spec.description = %q{ALIAS FOR ecs_compose. An interace to the Amazon EC2 Container Service that works vaguely like docker-compose, for people who are familiar with a docker-compose workflow.}
10
- spec.homepage = "https://github.com/faradayio/ecs_compose"
11
- spec.license = "MIT"
12
-
13
- spec.files = ['ecs-compose.gemspec']
14
-
15
- spec.add_runtime_dependency 'ecs_compose'
16
- end
data/bin/console DELETED
@@ -1,14 +0,0 @@
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 DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here
data/ecs_compose.gemspec DELETED
@@ -1,37 +0,0 @@
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 "docopt", "~> 0.5.0"
31
- spec.add_dependency "colorize", "~> 0.7.7"
32
-
33
- spec.add_development_dependency "vault", "~> 0.1.5"
34
- spec.add_development_dependency "bundler", "~> 1.10"
35
- spec.add_development_dependency "rake", "~> 10.0"
36
- spec.add_development_dependency "rspec"
37
- end
data/go-publish.sh DELETED
@@ -1,36 +0,0 @@
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/publish.sh DELETED
@@ -1,26 +0,0 @@
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