ev_job_gen 0.2.1 → 0.3.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: 911c2e6a913212af70db4fc8c75426db37895ee916b8e1b0e82b1dd3c8ce6e2f
4
- data.tar.gz: 29519dd22e5f9069d4c64644cb97bc14f74969fa83793d3cf23727942f812def
3
+ metadata.gz: c88bfcc2603f88a68f050eadcc7670c9b8386f5fbea81331761f5cbdbd80b4b6
4
+ data.tar.gz: ddcf2560ca066493687e119660fc1cbf65ce19339f6ac01f2cad302ac411b671
5
5
  SHA512:
6
- metadata.gz: 570463b577ccbc222de9409d4380fe550d8b5641e2d2c2da720fa0ea141e34fffad3665fd3f513b47b1357c2a0e7b0e66c6490bd9016f02699eac7b02b0da500
7
- data.tar.gz: 81070a6e5e947949f222fca3492d4a58879edfcf92866399e0e662c9fec5055528f228b56f4f7eab7f770f50e99bf402e48cf772be3337fa8bed1a8d1635aac6
6
+ metadata.gz: e1050a22f41ab5382985fabdbfec74ee8b883c6f6f1f49992d71471e731acf27fbb2a323600abb8fb8d7d7c13f0565866eb3532dc4e973085d67932e40c3b7ac
7
+ data.tar.gz: a3935d00513bc77f714a9626626c09688c350adab27183e6451fd30c77ea4deb18cb2b6574a2895a0065d77ec9b5601886b2c9962eff44696f8fa7806da75bcd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ev_job_gen (0.2.1)
4
+ ev_job_gen (0.3.0)
5
5
  dotenv (~> 2.5.0)
6
6
 
7
7
  GEM
@@ -8,20 +8,17 @@ containers:
8
8
  - "/bin/bash"
9
9
  - "-c"
10
10
  - >
11
- <%= job.command.strip %>
12
-
13
- export AWS_ACCESS_KEY_ID=<%= ENV['AWS_ACCESS_KEY_ID'] %>;
14
- export AWS_SECRET_ACCESS_KEY=<%= ENV['AWS_SECRET_ACCESS_KEY'] %>;
15
- export AWS_REGION=<%= ENV['AWS_REGION'] %>;
16
-
17
- <%= job.setup_wget %>;
18
- wget https://github.com/wantedly/ev-cli/releases/download/v1.2.3/ev-v1.2.3-linux-amd64.tar.gz;
19
- tar xvzf ev-v1.2.3-linux-amd64.tar.gz;
20
- cp linux-amd64/ev ev;
21
-
11
+ <%= job.command.join(" && ") %> &&
12
+ export AWS_ACCESS_KEY_ID=<%= ENV['AWS_ACCESS_KEY_ID'] %> &&
13
+ export AWS_SECRET_ACCESS_KEY=<%= ENV['AWS_SECRET_ACCESS_KEY'] %> &&
14
+ export AWS_REGION=<%= ENV['AWS_REGION'] %> &&
15
+ <%= job.setup_wget %> &&
16
+ wget https://github.com/wantedly/ev-cli/releases/download/v1.2.3/ev-v1.2.3-linux-amd64.tar.gz &&
17
+ tar xvzf ev-v1.2.3-linux-amd64.tar.gz &&
18
+ cp linux-amd64/ev ev &&
22
19
  ./ev upload --branch master \
23
20
  --commit <%= job.commithash %> \
24
21
  --out <%= job.out %> \
25
22
  --metrics <%= job.metrics %> \
26
- --namespace <%= job.namespace %>;
23
+ --namespace <%= job.namespace %>
27
24
  <%= config.containers_envFrom(offset: 2) %>
@@ -1,3 +1,3 @@
1
1
  module EvJobGen
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
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.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nao Minami