nomade 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/nomade/deployer.rb +3 -1
  3. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: a5ac73ef2143a1d2553ba24433aa6ee34b572a6465f3dc80f3a9f5e71b3750b0
4
- data.tar.gz: 7c1e97c20ec00bb4d6e6405c92a91aa3946f2b2187a5f8de053f090555fffff1
2
+ SHA1:
3
+ metadata.gz: 158ef957259ed3df2c6de748751d4e3561a21fc0
4
+ data.tar.gz: 06101a19896eba831d43a09aa6de5ac03b49d8ad
5
5
  SHA512:
6
- metadata.gz: 0625b32824125388ce00910ef895263168b9d56d57cf5be15673e51ddf8c2e88e8965db2dd23942ed1748feb48035f3876454abe67eead80c128928807b89842
7
- data.tar.gz: 8b4e23a2594d7b66885023580b238a7cfac12f829ed99ba5a4265cc30eee341707326715c07c594683959d2a2fe4b630276d7391dba61a977e4f4b1c89a69ef9
6
+ metadata.gz: a5c2a3828cfaab475a92deea886c11088d55a8ad5560279964bdbf339c8f3835e6c6b6a62f31a28ae4e5a979b1ff75eaf6bfb519896a3660ecd4ea4d792dc118
7
+ data.tar.gz: c2a1b9d62c7a98c1e010ec63714314958c4f269cd2c802063da5191e5c8b8024a651e76bdfae2290acf59b251d339438c735cc5b40d6a176f144ba74a85a78f8
@@ -5,7 +5,8 @@ module Nomade
5
5
  @evaluation_id = nil
6
6
  @deployment_id = nil
7
7
  @timeout = Time.now.utc + 60 * 9 # minutes
8
- @http = Nomade::Http.new(nomad_endpoint)
8
+ @nomad_endpoint = nomad_endpoint
9
+ @http = Nomade::Http.new(@nomad_endpoint)
9
10
  end
10
11
 
11
12
  def deploy!
@@ -33,6 +34,7 @@ module Nomade
33
34
 
34
35
  def deploy
35
36
  Nomade.logger.info "Deploying #{@nomad_job.job_name} (#{@nomad_job.job_type}) with #{@nomad_job.image_name_and_version}"
37
+ Nomade.logger.info "URL: #{@nomad_endpoint}/ui/jobs/#{@nomad_job.job_name}"
36
38
 
37
39
  Nomade.logger.info "Checking cluster for connectivity and capacity.."
38
40
  @http.plan_job(@nomad_job)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nomade
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Grubbe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-07 00:00:00.000000000 Z
11
+ date: 2019-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yell
@@ -71,7 +71,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.0.3
74
+ rubyforge_project:
75
+ rubygems_version: 2.6.11
75
76
  signing_key:
76
77
  specification_version: 4
77
78
  summary: Gem that deploys nomad jobs