activek8s 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/activek8s/version.rb +1 -1
- data/lib/tasks/delete.rake +1 -1
- data/lib/tasks/deploy.rake +1 -1
- data/lib/tasks/kibana.rake +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba80b0ad50b6d4fdcda98b50b4a8d79ff0f72fc9ac9de8a963c322528104640a
|
4
|
+
data.tar.gz: 0c334a43ab9dc4d80b505ff3a943b0ebb58449c6ff69fdcb40400230b9b28180
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb4b44b5c9b32966a5780554bfb61d7f55801fb835d44f9fa23d364226ab1b9cbada21d450bbc649de70685964965f0c3d29d13c3093a48487ed37cf96b953a6
|
7
|
+
data.tar.gz: 9fe7f8605c9c7241fdaf11323ffc2402fac33f397e96d9a1d07de363fac8a7072694631b4095eac5ba7ddc727b8b5d4ae9dddbd299522159b7d8a4364c9ecf1f
|
data/Gemfile.lock
CHANGED
data/lib/activek8s/version.rb
CHANGED
data/lib/tasks/delete.rake
CHANGED
@@ -2,7 +2,7 @@ namespace 'ak8s' do
|
|
2
2
|
desc 'Deletes the current microservice TAG version on a specific NAMESPACE'
|
3
3
|
task :delete, [:namespace, :tag, :cleanup] do |_t, args|
|
4
4
|
deployment_path = ENV['K8S_DEPLOYMENT_FILE'] || 'kube/last_deployment.yml'
|
5
|
-
Rake::Task['
|
5
|
+
Rake::Task['ak8s:build_deployment'].invoke(args.namespace, args.tag)
|
6
6
|
|
7
7
|
sh %{kubectl delete -f #{deployment_path}} do |ok, res|
|
8
8
|
cleanup = args.cleanup && File.exist?(deployment_path)
|
data/lib/tasks/deploy.rake
CHANGED
@@ -5,7 +5,7 @@ namespace 'ak8s' do
|
|
5
5
|
|
6
6
|
deployment_path = ENV['K8S_DEPLOYMENT_FILE'] || 'kube/last_deployment.yml'
|
7
7
|
puts "[K8S DEBUG DEPLOYMENT: #{deployment_path}]" unless ENV['K8S_DEBUG'].nil?
|
8
|
-
Rake::Task['
|
8
|
+
Rake::Task['ak8s:build_deployment'].invoke(args.namespace, args.tag)
|
9
9
|
|
10
10
|
unless ENV['K8S_DEBUG'].nil?
|
11
11
|
puts '[K8S DEBUG DEPLOYMENT FILE]'
|
data/lib/tasks/kibana.rake
CHANGED
@@ -2,7 +2,7 @@ namespace 'ak8s' do
|
|
2
2
|
desc 'Port forwards kibana to access logs'
|
3
3
|
task :kibana, [:namespace, :port] do |_t, args|
|
4
4
|
args.with_defaults(namespace: 'logging', port: '5601')
|
5
|
-
Rake::Task['
|
5
|
+
Rake::Task['ak8s:port_forward'].invoke(args.namespace,
|
6
6
|
'kibana',
|
7
7
|
args.port,
|
8
8
|
args.port)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activek8s
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fernando Valverde Arredondo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: childprocess
|