capistrano-nomad 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +3 -8
- data/capistrano-nomad.gemspec +1 -1
- data/lib/capistrano/nomad/helpers/nomad.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e70ce696bab8b3ef8545e9f4eff59e12aa8c39a9705da8ba92a9ae0516b2534b
|
|
4
|
+
data.tar.gz: 8053ced9f62a0d56046cc7162f5efd20ddd9ab20e0d22a23b9e237a84db5f605
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f861c87b67f797851738b1e0a29cab2286489b6067029f9314d55a2099e9e1751bd2e0f8df3ba3ba190545ddffecbe38e086515a2a520d7f39b5900299c783d3
|
|
7
|
+
data.tar.gz: 62817162ccf5ed2e0c72464e5846bfcb3474964f9a3d3339565c66f58d154c53483341e955e067458398ac69c61aeeb8f698157b114c9802338468bf43d1c950
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -131,20 +131,15 @@ cap production nomad:analytics:grafana:restart
|
|
|
131
131
|
cap production nomad:postgres:status
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
Tasks can go by namespace or `all` namespaces, and can also be filtered by tags
|
|
135
135
|
|
|
136
136
|
```shell
|
|
137
137
|
cap production nomad:analytics:deploy
|
|
138
138
|
cap production nomad:analytics:upload_run
|
|
139
139
|
cap production nomad:all:deploy
|
|
140
|
+
cap production nomad:all:deploy TAG=traefik
|
|
140
141
|
cap production nomad:all:upload_run
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
Filter by tags
|
|
144
|
-
|
|
145
|
-
```shell
|
|
146
|
-
cap production nomad:all:deploy tag=traefik
|
|
147
|
-
cap production nomad:all:upload_run tags=traefik,redis
|
|
142
|
+
cap production nomad:all:upload_run TAGS=traefik,redis
|
|
148
143
|
```
|
|
149
144
|
|
|
150
145
|
Open console
|
data/capistrano-nomad.gemspec
CHANGED
|
@@ -255,9 +255,9 @@ def capistrano_nomad_fetch_job_var_files(name, *args)
|
|
|
255
255
|
end
|
|
256
256
|
|
|
257
257
|
def capistrano_nomad_fetch_jobs_names_by_namespace(namespace: :all)
|
|
258
|
-
# Can pass tags via command line (e.g.
|
|
258
|
+
# Can pass tags via command line (e.g. TAG=foo or TAGS=foo,bar)
|
|
259
259
|
tags =
|
|
260
|
-
[ENV["
|
|
260
|
+
[ENV["TAG"], ENV["TAGS"]].map do |tag_args|
|
|
261
261
|
next unless tag_args.presence
|
|
262
262
|
|
|
263
263
|
tag_args.split(",").map(&:presence).compact.map(&:to_sym)
|