capistrano-nomad 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02c77eac2e5164a6644400d4eca6b03b57dffac252ad90d224f3b2c184bbda6c
4
- data.tar.gz: da268efd0e1118b5fab7b1190469b3b3154221dfedf641a4f2fd41b416f9cb94
3
+ metadata.gz: 050bf4a39838b2c0a98c02c1d1c38fcee02818cdb3936d2b00073adea0223aec
4
+ data.tar.gz: 96b95dd209e984447ed33bc3229562202887222641954d494bc922fd215ec050
5
5
  SHA512:
6
- metadata.gz: c5b1c53a098c84fa455ed9774376fe646a154436e96d2807050b0cb510484073d7993040571ba231f547478e4a43ee3f105690d7899f8f6a38dac3992567e88f
7
- data.tar.gz: a3936fbea10215f136ef8630d5ca0d8253991af7bf16d02b5a7d1615eeaaa11fc6ed38376608a0cfe21b301d34d245196adb5941749fad885f2d574bbd2f523d
6
+ metadata.gz: 53535889c6707debe917ceefa837c6f4310c037523ded6e101ff752ff6962db3eb02805d2d60dd3fec1b693a3d0bcbae1dd5fe2f4c3a3451aea1170bcca0b2af
7
+ data.tar.gz: a43459682a67ba79448969660fbd659aca92ac90a0524e0ccf613212f537a148da93e06c3efb862dcec5c7b2441a3b46ad05f2a9ae0bdf8b5d761501ffba7839
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-nomad (0.4.2)
4
+ capistrano-nomad (0.5.0)
5
5
  activesupport (<= 7.0.8)
6
6
  byebug
7
7
  capistrano (~> 3.0)
data/README.md CHANGED
@@ -42,7 +42,13 @@ nomad_namespace :analytics do
42
42
  end
43
43
  ```
44
44
 
45
- Deploy with
45
+ Deploy all with
46
+
47
+ ```shell
48
+ cap production nomad:all:deploy
49
+ ```
50
+
51
+ Deploy individually with
46
52
 
47
53
  ```shell
48
54
  cap production nomad:app:deploy
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "capistrano-nomad"
5
- spec.version = "0.4.2"
5
+ spec.version = "0.5.0"
6
6
  spec.authors = ["James Hu"]
7
7
 
8
8
  spec.summary = "Capistrano plugin for deploying and managing Nomad jobs"
@@ -4,12 +4,7 @@ namespace :nomad do
4
4
  capistrano_nomad_execute_nomad_command(:version)
5
5
  end
6
6
 
7
- namespace :docker_images do
8
- desc "Used for adding hooks before or after pushing Docker images"
9
- task :push
10
- end
11
-
12
- namespace :jobs do
7
+ namespace :all do
13
8
  desc "Build all job Docker images"
14
9
  task :build do
15
10
  capistrano_nomad_fetch_jobs_names_by_namespace.each do |namespace, names|
@@ -60,6 +55,11 @@ namespace :nomad do
60
55
  end
61
56
  end
62
57
 
58
+ namespace :docker_images do
59
+ desc "Used for adding hooks before or after pushing Docker images"
60
+ task :push
61
+ end
62
+
63
63
  namespace :system do
64
64
  desc "Clean up Nomad"
65
65
  task :clean do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-nomad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Hu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-12 00:00:00.000000000 Z
11
+ date: 2023-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport