nomad 0.2.3
Closes Homebrew/homebrew#47281. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
7752e974ae
commit
1920b7bf52
1 changed files with 5 additions and 4 deletions
|
@ -4,8 +4,8 @@ class Nomad < Formula
|
||||||
desc "Distributed, Highly Available, Datacenter-Aware Scheduler"
|
desc "Distributed, Highly Available, Datacenter-Aware Scheduler"
|
||||||
homepage "https://www.nomadproject.io"
|
homepage "https://www.nomadproject.io"
|
||||||
url "https://github.com/hashicorp/nomad.git",
|
url "https://github.com/hashicorp/nomad.git",
|
||||||
:tag => "v0.1.0",
|
:tag => "v0.2.3",
|
||||||
:revision => "520763c0715ee88b6571db840e62fab186d7fe59"
|
:revision => "2977583c78e622ab257ed323ec1bc6cd8b8120dd"
|
||||||
|
|
||||||
head "https://github.com/hashicorp/nomad.git"
|
head "https://github.com/hashicorp/nomad.git"
|
||||||
|
|
||||||
|
@ -41,7 +41,8 @@ class Nomad < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
cd gopath/"src/github.com/hashicorp/nomad" do
|
cd gopath/"src/github.com/hashicorp/nomad" do
|
||||||
system "make"
|
system "make", "bootstrap"
|
||||||
|
system "make", "dev"
|
||||||
bin.install "bin/nomad"
|
bin.install "bin/nomad"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -51,7 +52,7 @@ class Nomad < Formula
|
||||||
pid = fork do
|
pid = fork do
|
||||||
exec "#{bin}/nomad", "agent", "-dev"
|
exec "#{bin}/nomad", "agent", "-dev"
|
||||||
end
|
end
|
||||||
sleep 5
|
sleep 10
|
||||||
ENV.append "NOMAD_ADDR", "http://127.0.0.1:4646"
|
ENV.append "NOMAD_ADDR", "http://127.0.0.1:4646"
|
||||||
system "#{bin}/nomad", "node-status"
|
system "#{bin}/nomad", "node-status"
|
||||||
ensure
|
ensure
|
||||||
|
|
Loading…
Reference in a new issue