rancher-management_api 0.3.0 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +5 -1
- data/bin/rancher-management +1 -0
- data/lib/rancher/management_api/version.rb +1 -1
- data/rancher-management_api.gemspec +1 -1
- metadata +2 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00b75fbc0d2c19429d742144ea500131927ea51f
|
4
|
+
data.tar.gz: 6c211f53698bde602b883556b7491460ac1fc4ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b716d55076a78690784649224808733e1fc21c9a5abf7db74b9d4505827761334c288024386c1ce709297c47f85dd9308491e260d42426da8e8b3c8725fbd845
|
7
|
+
data.tar.gz: cee38eb043d58a398fd826b199a609ff3f1ad0be1d3635575e967be6bcf07d57b54d224a1db3718cfc0d77b0cfc17c176d490182749f47c65149698e3af0f4e3
|
data/Dockerfile
CHANGED
@@ -10,4 +10,8 @@ RUN apk update && \
|
|
10
10
|
ADD lib/rancher/management_api/version.rb /tmp/
|
11
11
|
RUN gem install -N rancher-management_api
|
12
12
|
|
13
|
-
|
13
|
+
RUN mkdir -p /srv/rancher-management_api
|
14
|
+
WORKDIR /srv/rancher-management_api
|
15
|
+
ADD . /srv/rancher-management_api
|
16
|
+
|
17
|
+
ENTRYPOINT ["bin/rancher-management"]
|
data/bin/rancher-management
CHANGED
@@ -75,6 +75,7 @@ api_key = project.create_api_key(@options[:key_name])
|
|
75
75
|
registration_token = project.create_registration_token
|
76
76
|
|
77
77
|
output = {
|
78
|
+
project_id: project.id,
|
78
79
|
access_key: api_key.publicValue,
|
79
80
|
secret_key: api_key.secretValue,
|
80
81
|
registration_token: registration_token.token,
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
18
|
spec.bindir = "bin"
|
19
|
-
spec.executables =
|
19
|
+
spec.executables = ["rancher-management"]
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
22
|
spec.add_dependency "faraday", "~> 0.9.2"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rancher-management_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Donald Plummer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-08-
|
12
|
+
date: 2016-08-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
@@ -99,9 +99,7 @@ description: Client for creating environments and apikeys for Rancher.
|
|
99
99
|
email:
|
100
100
|
- dplummer@avvo.com
|
101
101
|
executables:
|
102
|
-
- console
|
103
102
|
- rancher-management
|
104
|
-
- setup
|
105
103
|
extensions: []
|
106
104
|
extra_rdoc_files: []
|
107
105
|
files:
|