activek8s 0.2.2 → 0.2.3
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/lib/activek8s/version.rb +1 -1
- data/lib/tasks/deploy.rake +2 -0
- 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: a4d9f8116a425bf5181fe50afc8ae62b1a35ecf43ed2f1374205c6812bfd9194
|
4
|
+
data.tar.gz: 40c2c73c3978bd95a9994a91a3db6c670622d4cd0dd2959145638e6dcdce82bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a69489f1dabd0d97154c3702a7b57ca2fcddfa3e89d194fce0e970e4f278a7a29f55e6cea200b2e523f37f90a73bce0d631bca4ecfd19693c8732fa1f91bfd2
|
7
|
+
data.tar.gz: d03cfadf665df9030c3b9daa70cea16e81ad62bf4bc10f50e5f6ecc0f16acfb8c0d0fdd3f77ca7803373824aa97fcdd538a9bc23f915d2e28293f0e97d862411
|
data/Gemfile.lock
CHANGED
data/lib/activek8s/version.rb
CHANGED
data/lib/tasks/deploy.rake
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
namespace 'k8s' do
|
2
2
|
desc 'Deploys the current microservice TAG version on a specific NAMESPACE'
|
3
3
|
task :deploy, [:namespace, :tag, :cleanup] do |_t, args|
|
4
|
+
puts "ARGS: [#{args.namespace}, #{args.tag}, #{args.cleanup}]" unless ENV['K8S_DEBUG'].nil?
|
5
|
+
|
4
6
|
deployment_path = ENV['K8S_DEPLOYMENT_FILE'] || 'kube/last_deployment.yml'
|
5
7
|
puts "[K8S DEBUG DEPLOYMENT: #{deployment_path}]" unless ENV['K8S_DEBUG'].nil?
|
6
8
|
Rake::Task['k8s:build_deployment'].invoke(args.namespace, args.tag)
|