cnvrg 2.1.12 → 2.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Readme.md +31 -1
- data/lib/cnvrg/cli.rb +21 -7
- data/lib/cnvrg/version.rb +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: 39ee04e88be68fe27beb93cf57070e9b63fc1f908f2ff97f722bcb402d03bc78
|
4
|
+
data.tar.gz: 28e404bb36262d03f29fa96fddadbcab76d4c9eb99a4861078bb1b266621b85c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbc2220a92859ebd7689fa3922c38d4a6cd64bd555507f5eed65f91edc1eb17f652ff886310dc3e82c78a4091f0490c0f59efbcceea785dc3b77d5a1a01ff48e
|
7
|
+
data.tar.gz: 78c3ec169b49cd9b5b87240db503f03bc6ccd3e7665a9961d022d82a272ddaf8ea12fb2399acda5c4a13a402c06ebaf4e1500a39142f6eae9c81618b3bea8190
|
data/Readme.md
CHANGED
@@ -117,4 +117,34 @@
|
|
117
117
|
* DEV-16090 - Bug: Tensorboard compare - webapp gets stuck in "init" state
|
118
118
|
## Version v2.1.12
|
119
119
|
2022-11-09
|
120
|
-
* DEV-15972 - Bug: Customer cannot use dataset query due to ssl error
|
120
|
+
* DEV-15972 - Bug: Customer cannot use dataset query due to ssl error
|
121
|
+
## Version v2.1.13
|
122
|
+
2023-03-05
|
123
|
+
* DEV-16372 - Epic: Cli V2 release - phase 1
|
124
|
+
h2. 🎯 Objective
|
125
|
+
|
126
|
+
Release v2 of cnvrg cli and deprecate the old version
|
127
|
+
|
128
|
+
h2. 🤔 Assumptions
|
129
|
+
|
130
|
+
# *Docs will be released (joint effort of tech writer, support and dev)*
|
131
|
+
# *cnvrg:v6 image will be released (with updated python version)*
|
132
|
+
# *All issues on High & Highest priority n sdk-productionize fixVersion will be resolved*
|
133
|
+
# *QA tests will be performed in different set ups (aks/eks/gke, windows device, mac m1)*
|
134
|
+
|
135
|
+
|
136
|
+
Note: this is not the most detailed epic, as most things already exist in cliv1 or sdkv2. for any questions please contact [~accountid:5fb5461f4a09640069dbf768]
|
137
|
+
* DEV-16372 - Epic: Cli V2 release - phase 1
|
138
|
+
h2. 🎯 Objective
|
139
|
+
|
140
|
+
Release v2 of cnvrg cli and deprecate the old version
|
141
|
+
|
142
|
+
h2. 🤔 Assumptions
|
143
|
+
|
144
|
+
# *Docs will be released (joint effort of tech writer, support and dev)*
|
145
|
+
# *cnvrg:v6 image will be released (with updated python version)*
|
146
|
+
# *All issues on High & Highest priority n sdk-productionize fixVersion will be resolved*
|
147
|
+
# *QA tests will be performed in different set ups (aks/eks/gke, windows device, mac m1)*
|
148
|
+
|
149
|
+
|
150
|
+
Note: this is not the most detailed epic, as most things already exist in cliv1 or sdkv2. for any questions please contact [~accountid:5fb5461f4a09640069dbf768]
|
data/lib/cnvrg/cli.rb
CHANGED
@@ -3636,19 +3636,15 @@ module Cnvrg
|
|
3636
3636
|
end
|
3637
3637
|
|
3638
3638
|
log_message(str, Thor::Shell::Color::GREEN)
|
3639
|
-
|
3639
|
+
|
3640
3640
|
exit_status = 0
|
3641
|
-
|
3641
|
+
|
3642
3642
|
if options['wait']
|
3643
3643
|
end_pos = 0
|
3644
3644
|
while true
|
3645
3645
|
tries = 0
|
3646
3646
|
begin
|
3647
|
-
result =
|
3648
|
-
"#{project.owner}/projects/#{project.slug}/experiments/#{res["result"]["exp_url"]}/info",
|
3649
|
-
'GET',
|
3650
|
-
{ exit_status: true, grid: res["result"]["grid"], pos: end_pos }
|
3651
|
-
)
|
3647
|
+
result = fetch_experiment_info(res,project,end_pos)
|
3652
3648
|
|
3653
3649
|
exit_statuses = result.values.pluck('exit_status')
|
3654
3650
|
if exit_statuses.include? nil
|
@@ -5956,6 +5952,24 @@ module Cnvrg
|
|
5956
5952
|
end
|
5957
5953
|
end
|
5958
5954
|
|
5955
|
+
|
5956
|
+
def fetch_experiment_info(res, project, end_pos)
|
5957
|
+
|
5958
|
+
result =
|
5959
|
+
Cnvrg::API_V2
|
5960
|
+
.request("#{project.owner}/projects/#{project.slug}/experiments/#{res["result"]["exp_url"]}/info",
|
5961
|
+
'GET',
|
5962
|
+
{ exit_status: true, grid: res["result"]["grid"], pos: end_pos }
|
5963
|
+
)
|
5964
|
+
|
5965
|
+
if result.key?("exit_status")
|
5966
|
+
return result
|
5967
|
+
end
|
5968
|
+
|
5969
|
+
return result["data"]["attributes"]["info"]
|
5970
|
+
|
5971
|
+
end
|
5972
|
+
|
5959
5973
|
end
|
5960
5974
|
end
|
5961
5975
|
|
data/lib/cnvrg/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cnvrg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yochay Ettun
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-03-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|