oke 0.1.2 → 0.1.3
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +13 -6
- data/lib/oke/cli.rb +20 -0
- data/lib/oke/version.rb +1 -1
- data/oke.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 690fe646976d6cc8b36251be69e081829cdf4efb2858e1c8df64229ea6318ec7
|
4
|
+
data.tar.gz: 95b3294e8ca7628758ee25c697c4b3293114bb96c22781b794eaa764af15c7fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2340613cca95c930ab4ecdaf7768c2e8b4dd7167a056c7c34a2e06465223569acc70b55b02382a221e7c0d500cc2260079674493c5a95eb10251762c45bb0140
|
7
|
+
data.tar.gz: 8ef23577f4499071fc57a5ddde20e4c55103161fe6a7d91324c35dac7339812cf7a0efb72f195df718723f25f4ed6310b9b86fdaccce642e3ef350744e934d6f
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,11 @@
|
|
1
|
-
# Oke
|
1
|
+
# Oke - 桶
|
2
2
|
|
3
3
|
Oke is a tool to help you put your Ruby Application into a container, and then to deploy it to a Kubernetes Cluster.
|
4
4
|
|
5
|
+

|
6
|
+
|
7
|
+
_Oke is currently a protoype, and does nothing of any use, I am using it to test ideas I have for the UX of this sort of tool, it may or may not ever become a real thing_
|
8
|
+
|
5
9
|
## Fun Fact
|
6
10
|
|
7
11
|
桶 (Oke) is a Japanese word that describes a tub, barrel or container.
|
@@ -18,13 +22,16 @@ And then execute:
|
|
18
22
|
|
19
23
|
$ bundle
|
20
24
|
|
21
|
-
|
22
|
-
|
23
|
-
$ gem install oke
|
25
|
+
To get started with oke, you can run `oke init` to setup the config files that the tool uses.
|
24
26
|
|
25
|
-
|
27
|
+
```
|
28
|
+
$ bundle exec oke init
|
29
|
+
Detected Rails Application 🛤️
|
26
30
|
|
27
|
-
|
31
|
+
Preparing config files 📝
|
32
|
+
create config/oke/processes.rb
|
33
|
+
create config/oke/variables.rb
|
34
|
+
```
|
28
35
|
|
29
36
|
## Development
|
30
37
|
|
data/lib/oke/cli.rb
CHANGED
@@ -42,6 +42,26 @@ module Oke
|
|
42
42
|
# wokers 2
|
43
43
|
# end
|
44
44
|
HEREDOC
|
45
|
+
|
46
|
+
create "config/oke/variables.rb", <<~HEREDOC
|
47
|
+
# This file contains information about all the environment variables that the application consumes
|
48
|
+
|
49
|
+
env "RAILS_ENV" do
|
50
|
+
doc "Chooses the which config to load from config/environment"
|
51
|
+
default "production"
|
52
|
+
end
|
53
|
+
|
54
|
+
env "DATBASE_URL" do
|
55
|
+
doc "URL used to connect to the application database"
|
56
|
+
required
|
57
|
+
secret
|
58
|
+
end
|
59
|
+
|
60
|
+
env "SECRET_KEY_BASE" do
|
61
|
+
generate
|
62
|
+
secret
|
63
|
+
end
|
64
|
+
HEREDOC
|
45
65
|
end
|
46
66
|
|
47
67
|
no_commands do
|
data/lib/oke/version.rb
CHANGED
data/oke.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["edward-robinson@cookpad.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Ruby in Containers}
|
13
|
-
spec.description = %q{Oke is a tool to make it simple to build and deploy applications written in Ruby}
|
13
|
+
spec.description = %q{Oke is a tool to make it simple to build and deploy applications written in Ruby, it is currently a prototype so doesn't really do most of what it may claim to do}
|
14
14
|
spec.homepage = "https://github.com/errm/oke"
|
15
15
|
spec.license = "Apache-2.0"
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ed Robinson
|
@@ -81,7 +81,8 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3.0'
|
83
83
|
description: Oke is a tool to make it simple to build and deploy applications written
|
84
|
-
in Ruby
|
84
|
+
in Ruby, it is currently a prototype so doesn't really do most of what it may claim
|
85
|
+
to do
|
85
86
|
email:
|
86
87
|
- edward-robinson@cookpad.com
|
87
88
|
executables:
|