shipwright 1.1.0
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 +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/README.md +55 -0
- data/Rakefile +1 -0
- data/VERSION +1 -0
- data/bin/console +14 -0
- data/bin/harbor +4 -0
- data/bin/hoist +4 -0
- data/bin/setup +7 -0
- data/bin/ship +4 -0
- data/lib/shipwright/cli/harbor.rb +9 -0
- data/lib/shipwright/cli/hoist.rb +9 -0
- data/lib/shipwright/cli/ship.rb +9 -0
- data/lib/shipwright/cli.rb +13 -0
- data/lib/shipwright/version.rb +3 -0
- data/lib/shipwright.rb +5 -0
- data/shipwright.gemspec +31 -0
- metadata +90 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f88149546b30331caf2fcf70d44d3a7e8382b85a
|
4
|
+
data.tar.gz: 0841e894ef5a57f840612e2405b453563c3f6ee0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a7bc0c5d9ed82f8d441b3a2fe1043f28ea9eb5571777a6f396058a0ee21301da62577b8e50d01522e240db84fca2839ff4641812f20b941b2c7d70f572b631f0
|
7
|
+
data.tar.gz: 4d9e7c758c36c6b54922e49ad25e1e3f0a498475672f11899926b2da82732c1aa88efbe36aff210162508d133cd57aa663ab51ca1da3a9f4db1d59c644507c8b
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
# Shipwright
|
2
|
+
|
3
|
+
Shipwright is a ruby cli used for assisting implementations of the
|
4
|
+
[harbor pattern](#) for cloud operations on AWS Elastic Beanstalk.
|
5
|
+
|
6
|
+
Shipwright provides three binaries to assist in deployment:
|
7
|
+
|
8
|
+
1. `hoist` a utility for fetching and setting enviroment variables on elastic
|
9
|
+
beanstalk instances
|
10
|
+
1. `ship` the cli interface for creating elastic beanstalk applications and
|
11
|
+
deploying environments
|
12
|
+
1. `harbor` a bootstrap utility for managing a local harbor
|
13
|
+
|
14
|
+
## Installation
|
15
|
+
|
16
|
+
Usually you will want to use `shipwright` on the command line.
|
17
|
+
Install it using:
|
18
|
+
```bash
|
19
|
+
$ gem install shipwright
|
20
|
+
```
|
21
|
+
|
22
|
+
If you want to use the underlying ruby libraries, add it to your Gemfile with:
|
23
|
+
```ruby
|
24
|
+
gem 'shipwright'
|
25
|
+
```
|
26
|
+
|
27
|
+
## Usage
|
28
|
+
|
29
|
+
Shipwright provides the following binaries
|
30
|
+
|
31
|
+
1. `hoist up`
|
32
|
+
1. `hoist down`
|
33
|
+
1. `ship launch`
|
34
|
+
1. `ship assets`
|
35
|
+
1. `ship image`
|
36
|
+
1. `ship app`
|
37
|
+
1. `harbor create`
|
38
|
+
1. `harbor init`
|
39
|
+
1. `harbor add`
|
40
|
+
|
41
|
+
## Development
|
42
|
+
|
43
|
+
```bash
|
44
|
+
$ git clone https://github.com/tma1/shipwright
|
45
|
+
$ cd shipwright
|
46
|
+
$ bin/setup
|
47
|
+
```
|
48
|
+
|
49
|
+
## Contributing
|
50
|
+
|
51
|
+
1. Fork it ( https://github.com/tma1/shipwright/fork )
|
52
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
53
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
54
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
55
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.1.0
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "shipwright"
|
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/harbor
ADDED
data/bin/hoist
ADDED
data/bin/setup
ADDED
data/bin/ship
ADDED
data/lib/shipwright.rb
ADDED
data/shipwright.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'shipwright/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "shipwright"
|
8
|
+
spec.version = Shipwright::VERSION
|
9
|
+
spec.authors = ["Adam Hunter"]
|
10
|
+
spec.email = ["adamhunter@me.com"]
|
11
|
+
|
12
|
+
spec.summary = %q[Deploy docker containers to AWS Elastic Beanstalk]
|
13
|
+
spec.description = %q[CLI Client for implementing the harbor pattern on AWS Elastic Beanstalk]
|
14
|
+
spec.homepage = "https://github.com/tma1/shipwright"
|
15
|
+
|
16
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
17
|
+
# delete this section to allow pushing this gem to any host.
|
18
|
+
if spec.respond_to?(:metadata)
|
19
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
20
|
+
else
|
21
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
22
|
+
end
|
23
|
+
|
24
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
25
|
+
spec.bindir = "exe"
|
26
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
|
+
spec.require_paths = ["lib"]
|
28
|
+
|
29
|
+
spec.add_development_dependency "bundler", "~> 1.9"
|
30
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: shipwright
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Adam Hunter
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-05-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description: CLI Client for implementing the harbor pattern on AWS Elastic Beanstalk
|
42
|
+
email:
|
43
|
+
- adamhunter@me.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- ".gitignore"
|
49
|
+
- ".travis.yml"
|
50
|
+
- Gemfile
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- VERSION
|
54
|
+
- bin/console
|
55
|
+
- bin/harbor
|
56
|
+
- bin/hoist
|
57
|
+
- bin/setup
|
58
|
+
- bin/ship
|
59
|
+
- lib/shipwright.rb
|
60
|
+
- lib/shipwright/cli.rb
|
61
|
+
- lib/shipwright/cli/harbor.rb
|
62
|
+
- lib/shipwright/cli/hoist.rb
|
63
|
+
- lib/shipwright/cli/ship.rb
|
64
|
+
- lib/shipwright/version.rb
|
65
|
+
- shipwright.gemspec
|
66
|
+
homepage: https://github.com/tma1/shipwright
|
67
|
+
licenses: []
|
68
|
+
metadata:
|
69
|
+
allowed_push_host: https://rubygems.org
|
70
|
+
post_install_message:
|
71
|
+
rdoc_options: []
|
72
|
+
require_paths:
|
73
|
+
- lib
|
74
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
requirements: []
|
85
|
+
rubyforge_project:
|
86
|
+
rubygems_version: 2.4.6
|
87
|
+
signing_key:
|
88
|
+
specification_version: 4
|
89
|
+
summary: Deploy docker containers to AWS Elastic Beanstalk
|
90
|
+
test_files: []
|