awes_cli 0.0.19 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/build_app_image.rb +1 -1
- data/lib/deploy_app.rb +1 -1
- data/lib/deploy_config.rb +2 -2
- 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: ed029c05bdeaa99e0163aa5c2e87d9666e24b6007f1b1ce583a24dab8ba695bd
|
4
|
+
data.tar.gz: 7fce07a3fe1255d784255844bd4b7476fb57c2e36dab632a703ff99ba12efdc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f444a6751fda720334e53a5bba33a394fbbccc55686fbdd9ebe4b6d174fca3d6a4b07efd38183f691f281ea90a60ff93194cd699efd13baf1d1c481b67f0113
|
7
|
+
data.tar.gz: 9044707bcab97af14587cdd8e4bf996bfae89ab2769c042891afd4f4f5cd5488cecc17fb7681339840501ce6e3fabc81511667c332bfb3a37fc5fcd4587c3779
|
data/lib/build_app_image.rb
CHANGED
data/lib/deploy_app.rb
CHANGED
@@ -6,7 +6,7 @@ class DeployApp
|
|
6
6
|
options = get_options
|
7
7
|
take_approval(options)
|
8
8
|
|
9
|
-
gcr_url = "gcr.io/#{options[:project_id]}/#{options[:image_repo] || options[:app_name]}"
|
9
|
+
gcr_url = "asia.gcr.io/#{options[:project_id]}/#{options[:image_repo] || options[:app_name]}"
|
10
10
|
|
11
11
|
if(!options[:image_tag].nil?)
|
12
12
|
image_url = validate_image_tag_exists?(gcr_url, options[:image_tag])
|
data/lib/deploy_config.rb
CHANGED
@@ -166,8 +166,8 @@ class DeployConfig
|
|
166
166
|
opt_image_url = options[:image_tag] && "#{gcr_url}:#{options[:image_tag]}"
|
167
167
|
|
168
168
|
image_url = "#{gcr_url}:current"
|
169
|
-
|
170
|
-
|
169
|
+
image_url = spec[:image] if validate_image_tag_exists?(spec[:image])
|
170
|
+
image_url = opt_image_url if validate_image_tag_exists?(opt_image_url)
|
171
171
|
|
172
172
|
if !validate_image_tag_exists?(image_url)
|
173
173
|
build_image(image_url, gcr_url, options)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awes_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Umar Siddiqui
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ather cli tool
|
14
14
|
email: umar.siddiqui@atherenergy.com
|