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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f0e4777e83a45e05f52d29479aa33d890d6a8b8dad004337d7a4c8d802ef743
4
- data.tar.gz: b3bfa5071c3ef1ad26a3d86032457947f7b69e3d75deb5867a1c912fc6040949
3
+ metadata.gz: ed029c05bdeaa99e0163aa5c2e87d9666e24b6007f1b1ce583a24dab8ba695bd
4
+ data.tar.gz: 7fce07a3fe1255d784255844bd4b7476fb57c2e36dab632a703ff99ba12efdc2
5
5
  SHA512:
6
- metadata.gz: d69f49f2f7a195f7032e0d22ecc5ffb8950f68f653e304bd1ac7695f8bdfbeed03f6c2c125199c895b72cb8d1890a7196df6292bfec31615816ab629c7ee00ff
7
- data.tar.gz: 94cd29995c702077d47cdb48d9682e281c4d44dde94fd0cfa318fa4e661535fe9811372163b73381e8736b3df6cd9d0acc54cc3b0b7bfdd5fa3790f5b2c05283
6
+ metadata.gz: 3f444a6751fda720334e53a5bba33a394fbbccc55686fbdd9ebe4b6d174fca3d6a4b07efd38183f691f281ea90a60ff93194cd699efd13baf1d1c481b67f0113
7
+ data.tar.gz: 9044707bcab97af14587cdd8e4bf996bfae89ab2769c042891afd4f4f5cd5488cecc17fb7681339840501ce6e3fabc81511667c332bfb3a37fc5fcd4587c3779
@@ -5,7 +5,7 @@ class BuildAppImage
5
5
  def main
6
6
  options = get_options
7
7
 
8
- gcr_url = "gcr.io/#{options[:project_id]}/#{options[:image_repo]}"
8
+ gcr_url = "asia.gcr.io/#{options[:project_id]}/#{options[:image_repo]}"
9
9
 
10
10
  image_url = build_image(gcr_url, options)
11
11
  end
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
- # image_url = spec[:image] if spec[:image].empty? && validate_image_tag_exists?(spec[:image])
170
- # image_url = opt_image_url if validate_image_tag_exists?(opt_image_url)
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.19
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: 2021-10-25 00:00:00.000000000 Z
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