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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c88bfcc2603f88a68f050eadcc7670c9b8386f5fbea81331761f5cbdbd80b4b6
4
- data.tar.gz: ddcf2560ca066493687e119660fc1cbf65ce19339f6ac01f2cad302ac411b671
3
+ metadata.gz: 8e7a0e5e6e5b7923bed87d182957eefdf74672f53a8f6772190bc42b5c300125
4
+ data.tar.gz: 9ce3c4e989d43079e4111fe05b9710a2e03a426169c352c5fcdcd57835b64832
5
5
  SHA512:
6
- metadata.gz: e1050a22f41ab5382985fabdbfec74ee8b883c6f6f1f49992d71471e731acf27fbb2a323600abb8fb8d7d7c13f0565866eb3532dc4e973085d67932e40c3b7ac
7
- data.tar.gz: a3935d00513bc77f714a9626626c09688c350adab27183e6451fd30c77ea4deb18cb2b6574a2895a0065d77ec9b5601886b2c9962eff44696f8fa7806da75bcd
6
+ metadata.gz: 3d528d94906b7a71d0976aa8a68c8b6bcb7b42e00e4f5aa09da20bce159e71fc0ed13327edaaf5ed4944c7c91ba31c52e75d278ed23b41efd7603ca8b7f178af
7
+ data.tar.gz: c0f8ed9d45ab60a7225706cbc756d0bf6a7070a93865fbd8b5710ab3644fe3961a99e0c36d09fa109a9213f8c190e60f585885e2c1c7753f9f06e98cd1bcdaf2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ev_job_gen (0.3.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.15)
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.16.2
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
- script/evaluate | tee /tmp/out.txt;
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 AWS_ACCESS_KEY_ID=xxx;
91
- export AWS_SECRET_ACCESS_KEY=xxx;
92
- export AWS_REGION=xxx;
93
-
94
- apt install -y wget;
95
- wget https://github.com/wantedly/ev-cli/releases/download/v1.2.3/ev-v1.2.3-linux-amd64.tar.gz;
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
@@ -14,6 +14,7 @@ spec:
14
14
  suspend: false
15
15
  successfulJobsHistoryLimit: 10
16
16
  failedJobsHistoryLimit: 3
17
+ startingDeadlineSeconds: 300
17
18
  jobTemplate:
18
19
  metadata:
19
20
  name: ev-job
@@ -1,3 +1,3 @@
1
1
  module EvJobGen
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
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.3.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: 2018-10-26 00:00:00.000000000 Z
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
- rubyforge_project:
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.