lex-node 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docker_deploy.rb +4 -3
- data/lib/legion/extensions/node/version.rb +1 -1
- 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: 4971e9d0d31600942d57bd7061ec7b2aa20f68a6a13b9d1835c38d978f16177c
|
4
|
+
data.tar.gz: cae71cb0d1413186f546d957b393f0139b0b5a74b8509352823480e2ef765dbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 707b454af232927fec2984db1ce5be986ef1a53ef5ae1e54cab77ce51d212cba4ca3848cdecf767a281835fda2750443aaf19f7ab047280e2a20dcd36b08734b
|
7
|
+
data.tar.gz: 3561f7dcacf86eb7d48124691a86984d91b170f79909b52c3908f759fb887b04fea123a95897abc730d9ec8df7fa9193a50e64ef55e0257c97e173f899049ab3
|
data/docker_deploy.rb
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
|
4
|
-
name = 'elastic_app_search'
|
5
|
-
|
3
|
+
name = 'node'
|
6
4
|
require "./lib/legion/extensions/#{name}/version"
|
5
|
+
version = Legion::Extensions::Node::VERSION
|
6
|
+
|
7
7
|
puts "Building docker image for Legion v#{version}"
|
8
8
|
system("docker build --tag legionio/lex-#{name}:v#{version} .")
|
9
9
|
puts 'Pushing to hub.docker.com'
|
10
10
|
system("docker push legionio/lex-#{name}:v#{version}")
|
11
|
+
system("docker tag legionio/lex-#{name}:v#{version} legionio/lex-#{name}:latest")
|
11
12
|
system("docker push legionio/lex-#{name}:latest")
|
12
13
|
puts 'completed'
|