ev_job_gen 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +12 -15
- data/kubernetes/tmpl/cron_job_template.yml.erb +1 -0
- data/lib/ev_job_gen/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e7a0e5e6e5b7923bed87d182957eefdf74672f53a8f6772190bc42b5c300125
|
4
|
+
data.tar.gz: 9ce3c4e989d43079e4111fe05b9710a2e03a426169c352c5fcdcd57835b64832
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d528d94906b7a71d0976aa8a68c8b6bcb7b42e00e4f5aa09da20bce159e71fc0ed13327edaaf5ed4944c7c91ba31c52e75d278ed23b41efd7603ca8b7f178af
|
7
|
+
data.tar.gz: c0f8ed9d45ab60a7225706cbc756d0bf6a7070a93865fbd8b5710ab3644fe3961a99e0c36d09fa109a9213f8c190e60f585885e2c1c7753f9f06e98cd1bcdaf2
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ev_job_gen (0.
|
4
|
+
ev_job_gen (0.4.0)
|
5
5
|
dotenv (~> 2.5.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -31,7 +31,7 @@ GEM
|
|
31
31
|
diff-lcs (>= 1.2.0, < 2.0)
|
32
32
|
rspec-support (~> 3.7.0)
|
33
33
|
rspec-support (3.7.1)
|
34
|
-
yard (0.9.
|
34
|
+
yard (0.9.20)
|
35
35
|
|
36
36
|
PLATFORMS
|
37
37
|
ruby
|
@@ -45,4 +45,4 @@ DEPENDENCIES
|
|
45
45
|
rspec (~> 3.7)
|
46
46
|
|
47
47
|
BUNDLED WITH
|
48
|
-
1.
|
48
|
+
1.17.2
|
data/README.md
CHANGED
@@ -25,11 +25,12 @@ Place a yml file in jobs directory
|
|
25
25
|
# Ex. ml-project-1.yml
|
26
26
|
namespace: ml-project-1
|
27
27
|
image: some-docker-registory/ml-project-1:latest
|
28
|
-
command:
|
29
|
-
|
28
|
+
command:
|
29
|
+
- script/evaluate | tee /tmp/out.txt
|
30
30
|
out: /tmp/out.txt
|
31
31
|
metrics: /tmp/metrics.json
|
32
32
|
commithash: ${COMMITHASH}
|
33
|
+
setup_wget: apt install -y wget
|
33
34
|
```
|
34
35
|
|
35
36
|
Then execute `ev-job-gen` command.
|
@@ -52,7 +53,6 @@ metadata:
|
|
52
53
|
app: ev-job
|
53
54
|
role: job
|
54
55
|
spec:
|
55
|
-
backoffLimit: 0
|
56
56
|
schedule: "5 17 * * *"
|
57
57
|
concurrencyPolicy: "Replace"
|
58
58
|
suspend: false
|
@@ -85,22 +85,19 @@ spec:
|
|
85
85
|
- "/bin/bash"
|
86
86
|
- "-c"
|
87
87
|
- >
|
88
|
-
script/evaluate | tee /tmp/out.txt
|
89
|
-
|
90
|
-
export
|
91
|
-
export
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
tar xvzf ev-v1.2.3-linux-amd64.tar.gz;
|
97
|
-
cp linux-amd64/ev ev;
|
98
|
-
|
88
|
+
script/evaluate | tee /tmp/out.txt &&
|
89
|
+
export AWS_ACCESS_KEY_ID=xxx &&
|
90
|
+
export AWS_SECRET_ACCESS_KEY=xxx &&
|
91
|
+
export AWS_REGION=xxx &&
|
92
|
+
apt install -y wget &&
|
93
|
+
wget https://github.com/wantedly/ev-cli/releases/download/v1.2.3/ev-v1.2.3-linux-amd64.tar.gz &&
|
94
|
+
tar xvzf ev-v1.2.3-linux-amd64.tar.gz &&
|
95
|
+
cp linux-amd64/ev ev &&
|
99
96
|
./ev upload --branch master \
|
100
97
|
--commit ${COMMITHASH} \
|
101
98
|
--out /tmp/out.txt \
|
102
99
|
--metrics /tmp/metrics.json \
|
103
|
-
--namespace ml-project-1
|
100
|
+
--namespace ml-project-1
|
104
101
|
```
|
105
102
|
|
106
103
|
## Development
|
data/lib/ev_job_gen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ev_job_gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nao Minami
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|
@@ -148,8 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
|
-
|
152
|
-
rubygems_version: 2.7.6
|
151
|
+
rubygems_version: 3.0.3
|
153
152
|
signing_key:
|
154
153
|
specification_version: 4
|
155
154
|
summary: Generator of kubernetes manifest file for evaluation job.
|