kontena-plugin-digitalocean 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzdkYWU0MjcyODUzNjAzM2NmODY5ZTVjMjRkMDI5NzQ3NzliZWEyZg==
4
+ ODNkN2QwMTliNjdiNWY5OWVlMzJlNzg4ZTM5YzQ5MjRjMzYyZjMxOQ==
5
5
  data.tar.gz: !binary |-
6
- ZGM5ODU3ZjQyNjgzNzMyM2Y0ZTEwM2M5YWMwNDc5MGMwZGY2YjA1Zg==
6
+ NTcxOGMxNDdhOTNjMTAxZmQ3NzM1NmVjODYxMTBkYjMzNmYwMDVkNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDNmNmJhMmFkOWEwYTdkZjY5OGI4NTlhODJiZGI2MzI4Yzc4NTM0MDhkM2Uw
10
- MmRmMTlhODQ5YTAyYzI2YzJiMjMzOGY3YjNhMDdhNGQyZGZlMzVlMDliYWEy
11
- MjhiMWM1YTNhMGZkZjlmNWM0ZDE1M2NmOTdjMjg4ZDVmNWUyZmM=
9
+ YTdmM2E1ZDMwZGNlZWNlMWViMzg5NjVjYTNhMTNlNmYzNDllNzQ5NjcxMTA5
10
+ MzU1MDdhYTM4NTQ2YTExMDYzNjA1NmNiOWUwOGY1YzE1OTZiNWU3YjVmZjBm
11
+ MGRjMDkyYzA1N2E3ZGJhZTE3ZTJhNjJmNzJmNTMzN2JhMTdmOTQ=
12
12
  data.tar.gz: !binary |-
13
- NDA1N2JlYzU4YzY4ZmM0NjlhYWZlYzlhMGMxYTI0ZDI1Yjg0NjEyMjBjN2M0
14
- YmUzY2NmZmRiNTE0OGMyZTg0YWMwMmEyOGZiYWI1ZDNmNjE0ZmEyMDUwMTRh
15
- MmM2ZTE2YzM4Y2QzNzIwYTFkN2NiYjgwNDViM2IzZmRmMjY1ZjI=
13
+ MjJjYjY0OTVjMmNhZTUxZWUwMmMxODk5NzMzMGQ5OGMwZThjZDM2ZmQ0ZTM5
14
+ YjgwMGE1NGRiODQ1NTdiMzk1MDcwOTRmMWJjY2Q1ODkzYjkxMWY3NjQ5YTMz
15
+ NmE2YjRmNjM2OTA5MGNhYjE3MDg0YWY3YjFiNmFmNmIzZDJhMTM=
@@ -63,3 +63,4 @@ coreos:
63
63
  -v=/etc/kontena-agent.env:/etc/kontena.env \
64
64
  --net=host \
65
65
  kontena/agent:${KONTENA_VERSION}
66
+ ExecStop=/usr/bin/docker stop kontena-agent
@@ -54,6 +54,7 @@ coreos:
54
54
  ExecStart=/usr/bin/docker run --name=kontena-server-mongo \
55
55
  --volumes-from=kontena-server-mongo-data \
56
56
  mongo:3.0 mongod --smallfiles
57
+ ExecStop=/usr/bin/docker stop kontena-server-mongo
57
58
  <% end -%>
58
59
  - name: kontena-server-api.service
59
60
  command: start
@@ -94,6 +95,7 @@ coreos:
94
95
  <% end -%>
95
96
  -e VAULT_KEY=${KONTENA_VAULT_KEY} -e VAULT_IV=${KONTENA_VAULT_IV} \
96
97
  kontena/server:${KONTENA_VERSION}
98
+ ExecStop=/usr/bin/docker stop kontena-server-api
97
99
 
98
100
  - name: kontena-server-haproxy.service
99
101
  command: start
@@ -118,3 +120,4 @@ coreos:
118
120
  ExecStartPre=-/usr/bin/docker rm kontena-server-haproxy
119
121
  ExecStartPre=-/usr/bin/docker pull kontena/haproxy:latest
120
122
  ExecStart=/opt/bin/kontena-haproxy.sh
123
+ ExecStop=/usr/bin/docker stop kontena-server-haproxy
@@ -1,7 +1,7 @@
1
1
  module Kontena
2
2
  module Plugin
3
3
  module DigitalOcean
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
@@ -17,7 +17,7 @@ module Kontena::Plugin::DigitalOcean::Master
17
17
 
18
18
 
19
19
  def execute
20
- require 'kontena/machine/digital_ocean'
20
+ require_relative '../../../machine/digital_ocean'
21
21
 
22
22
  provisioner = provisioner(token)
23
23
  provisioner.run!(
@@ -14,7 +14,7 @@ module Kontena::Plugin::DigitalOcean::Nodes
14
14
  require_api_url
15
15
  require_current_grid
16
16
 
17
- require 'kontena/machine/digital_ocean'
17
+ require_relative '../../../machine/digital_ocean'
18
18
  grid = fetch_grid
19
19
  provisioner = provisioner(client(require_token), token)
20
20
  provisioner.run!(
@@ -10,7 +10,7 @@ module Kontena::Plugin::DigitalOcean::Nodes
10
10
  require_api_url
11
11
  require_current_grid
12
12
 
13
- require 'kontena/machine/digital_ocean'
13
+ require_relative '../../../machine/digital_ocean'
14
14
 
15
15
  client = DropletKit::Client.new(access_token: token)
16
16
  droplet = client.droplets.all.find{|d| d.name == name}
@@ -10,7 +10,7 @@ module Kontena::Plugin::DigitalOcean::Nodes
10
10
  require_api_url
11
11
  require_current_grid
12
12
 
13
- require 'kontena/machine/digital_ocean'
13
+ require_relative '../../../machine/digital_ocean'
14
14
  grid = client(require_token).get("grids/#{current_grid}")
15
15
  destroyer = destroyer(client(require_token), token)
16
16
  destroyer.run!(grid, name)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kontena-plugin-digitalocean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kontena, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-11 00:00:00.000000000 Z
11
+ date: 2016-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kontena-cli