ev_job_gen 0.1.1 → 0.1.2

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: f81e0ba7d2e6d4f0d67275f9141ef6ccaebadd6c4eb9948172166041ff3ffda1
4
- data.tar.gz: a4d81e07a49bed567582cd51045225f79348e88e90dc2f6c5f4ece29b1dfe194
3
+ metadata.gz: '085cb7ea8fc4dfe21cb99b4554be51ba8792748fbb431fe72932d86e6358fdff'
4
+ data.tar.gz: 68a29a3f53fb69dcd85a248cad860c3a53e60656596b6f8f7781b6074afc0a6d
5
5
  SHA512:
6
- metadata.gz: ef4cd14d6f5444a9cac80825cb04e9aa26092464f806eba24754cda4194b52d42a3fd9e4d65762f15740b5923065927474a2f6d2e33c36c1a03a4406478efcb3
7
- data.tar.gz: 6aad2d6e3e648987cec933daf0ba1ed1a45cb1932c90601b2b9acdfcb7d8ba2cddffae273a12f0f6edc2c1b2466b9dba09202fc2f38f71d12f1b277a902807e1
6
+ metadata.gz: 28df46930e6a1346de9ccf168cd77fc15a11b74e183d12f97fd59bed79cd142ca77c26b929fd2e76f5cedf9cc0b73df3b2d62f525e6d744b295448b2563ed784
7
+ data.tar.gz: 1fdc9edc312ba226e98f0e7ab21acca3729e0a5c60d078ca54560d2f8d309d3edd92961fd55f5c864db824e0b282936eac6a727c3bf2fefb8b4f071c7452dfb4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ev_job_gen (0.1.1)
4
+ ev_job_gen (0.1.2)
5
5
  dotenv (~> 2.5.0)
6
6
 
7
7
  GEM
@@ -14,6 +14,7 @@ containers:
14
14
  export AWS_SECRET_ACCESS_KEY=<%= ENV['AWS_SECRET_ACCESS_KEY'] %>;
15
15
  export AWS_REGION=<%= ENV['AWS_REGION'] %>;
16
16
 
17
+ <%= job.setup_wget %>;
17
18
  wget https://github.com/wantedly/ev-cli/releases/download/v1.2.3/ev-v1.2.3-linux-amd64.tar.gz;
18
19
  tar xvzf ev-v1.2.3-linux-amd64.tar.gz;
19
20
  cp linux-amd64/ev ev;
@@ -13,12 +13,22 @@ module EvJobGen
13
13
  @out = h["out"]
14
14
  @metrics = h["metrics"]
15
15
  @commithash = h["commithash"]
16
+ @setup_wget = h["setup_wget"] # NOTE: this is optional
16
17
 
17
18
  # NOTE: suffix is used only for oneshot job
18
19
  @suffix = 5.times.map { CHARS.sample }.join
19
20
  end
20
21
 
21
- attr_reader :namespace, :image, :command, :out, :metrics, :commithash, :suffix
22
+ attr_reader(
23
+ :namespace,
24
+ :image,
25
+ :command,
26
+ :out,
27
+ :metrics,
28
+ :commithash,
29
+ :setup_wget,
30
+ :suffix,
31
+ )
22
32
 
23
33
  private
24
34
 
@@ -1,3 +1,3 @@
1
1
  module EvJobGen
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ev_job_gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nao Minami