busbar-cli 1.5.1 → 1.6.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0a8bc2e1b3bebb1f35fa98319c4a94e7dbcb05a
|
|
4
|
+
data.tar.gz: ddab08eb399165b06dc3d710fa0613da6ab98a60
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd12508abb9296367404a16b9339ba402e6d5d8a0a187a6536c993a7b19c143732297df89055fcc19c0bdd1de8116573689eefd32551a8b14d5ecedca4451fbc
|
|
7
|
+
data.tar.gz: ef9dd515f7fea626217d83fbe0e4f1639ee7f93faf3e7bf955359113343144a7c649c3a316956500c9b736fca774d052f18b57276fdee9eefb4a9be0b47d8091
|
|
@@ -19,14 +19,18 @@ Services::BusbarConfig.first_run unless File.file?(BUSBAR_CONFIG_FILE_PATH)
|
|
|
19
19
|
## Overwriteable
|
|
20
20
|
DOCKER_PRIVATE_REGISTRY = ENV.fetch('DOCKER_PRIVATE_REGISTRY', '127.0.0.1:5000').freeze
|
|
21
21
|
CONFIG_FILE_PATH = ENV.fetch('BUSBAR_CONFIG_FILE_PATH', '.busbar.yml').freeze
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
|
|
23
|
+
## Set on config file
|
|
24
|
+
BUSBAR_API_URL = ENV.fetch('BUSBAR_API_URL',
|
|
25
|
+
Services::BusbarConfig.get('busbar_api_url')).freeze
|
|
26
|
+
BUSBAR_PROFILE = ENV.fetch('BUSBAR_PROFILE',
|
|
27
|
+
Services::BusbarConfig.get('busbar_profile')).freeze
|
|
24
28
|
KUBECTL_CONFIG_FILE_URL = ENV.fetch('KUBECTL_CONFIG_FILE_URL',
|
|
25
29
|
Services::BusbarConfig.get('kubectl_config_url')).freeze
|
|
26
30
|
KUBECTL_CONFIG_VERSION_URL = ENV.fetch('KUBECTL_CONFIG_FILE_URL',
|
|
27
31
|
Services::BusbarConfig.get('kubectl_config_version_url')).freeze
|
|
28
|
-
|
|
29
|
-
Services::BusbarConfig.get('
|
|
32
|
+
DEFAULT_BRANCH = ENV.fetch('BRANCH',
|
|
33
|
+
Services::BusbarConfig.get('default_git_branch')).freeze
|
|
30
34
|
|
|
31
35
|
Services::Kube.setup unless File.file?(KUBECTL_CONFIG_FILE) && \
|
|
32
36
|
File.file?(KUBECTL_CONFIG_VERSION_FILE) && File.file?(KUBECTL)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Version Variables
|
|
2
|
-
VERSION = '1.
|
|
3
|
-
BUSBAR_PATCH_VERSION = '
|
|
4
|
-
KUBECTL_PATCH_VERSION = '
|
|
2
|
+
VERSION = '1.6'.freeze
|
|
3
|
+
BUSBAR_PATCH_VERSION = '0'.freeze
|
|
4
|
+
KUBECTL_PATCH_VERSION = '13'.freeze
|
|
5
5
|
BUSBAR_VERSION = "#{VERSION}.#{BUSBAR_PATCH_VERSION}".freeze
|
|
6
6
|
KUBECTL_VERSION = "#{VERSION}.#{KUBECTL_PATCH_VERSION}".freeze
|
|
@@ -3,9 +3,13 @@ require 'yaml'
|
|
|
3
3
|
module Helpers
|
|
4
4
|
class BusbarConfig
|
|
5
5
|
CONFIG_OPTIONS = {
|
|
6
|
-
|
|
7
|
-
text: 'Please provide the
|
|
8
|
-
default:
|
|
6
|
+
busbar_api_url: {
|
|
7
|
+
text: 'Please provide the Busbar API URL',
|
|
8
|
+
default: nil
|
|
9
|
+
},
|
|
10
|
+
busbar_profile: {
|
|
11
|
+
text: 'Please provide the Busbar profile',
|
|
12
|
+
default: nil
|
|
9
13
|
},
|
|
10
14
|
kubectl_config_url: {
|
|
11
15
|
text: 'Please provide the kubectl remote configuration URL',
|
|
@@ -15,9 +19,9 @@ module Helpers
|
|
|
15
19
|
text: 'Please provide the kubectl configuration version URL',
|
|
16
20
|
default: nil
|
|
17
21
|
},
|
|
18
|
-
|
|
19
|
-
text: 'Please provide the
|
|
20
|
-
default:
|
|
22
|
+
default_git_branch: {
|
|
23
|
+
text: 'Please provide the default git branch',
|
|
24
|
+
default: 'master'
|
|
21
25
|
}
|
|
22
26
|
}.freeze
|
|
23
27
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: busbar-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Igor Marques
|
|
@@ -248,4 +248,3 @@ signing_key:
|
|
|
248
248
|
specification_version: 4
|
|
249
249
|
summary: A CLI for Busbar
|
|
250
250
|
test_files: []
|
|
251
|
-
has_rdoc:
|