hako 0.9.2 → 0.9.3

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
  SHA1:
3
- metadata.gz: bc9a0e86d4e177d1111a515c83721c43c8ef7e76
4
- data.tar.gz: ff4f22fd4b84bb5644e571d834180476c05d735a
3
+ metadata.gz: a9858d1fedc7ce78adf7d3c96db692b2673e9ac8
4
+ data.tar.gz: 7980194c281c4d06c09bf8ec80493c43a09c3770
5
5
  SHA512:
6
- metadata.gz: ee2903bab02577238bffe0b17acdf9414daf7972d593db13650f7dd2c0e3785748d2435568fc94cd823aa637f8e01f1a5023fe0e5a4b195eb53ce0a29658c381
7
- data.tar.gz: 3a1cc1ffc48155bcea674b613e019fde2b61cb43f3e66f410787750b48817ba086a300dae7f2c8881da5caa74c0c421d7ea6491d7bae0c1832c9ee55375a7c41
6
+ metadata.gz: 52f519b086b28d5b5931c2ce9409de31d756d2a293fd45cef77dcbd7f4cb902b872dcd36b162c1405538f184037dbbc2ee7bda83d2daf129dbabe23e8a7c1eab
7
+ data.tar.gz: e1aa506931c6dc14d5fa75ea761504edf78f52d538f9424d25597321545d6c58f3e1cbed9a06057f9bf14103dd99466a2897fa304a776e698720a1c4dcb8b1b3
@@ -16,8 +16,8 @@ module Hako
16
16
 
17
17
  def deploy(force: false, tag: 'latest', dry_run: false)
18
18
  containers = load_containers(tag, dry_run: dry_run)
19
- scheduler = load_scheduler(@app.yaml['scheduler'], force: force, dry_run: dry_run)
20
19
  scripts = @app.yaml.fetch('scripts', []).map { |config| load_script(config, dry_run: dry_run) }
20
+ scheduler = load_scheduler(@app.yaml['scheduler'], scripts, force: force, dry_run: dry_run)
21
21
 
22
22
  scripts.each { |script| script.before_deploy(containers) }
23
23
  scheduler.deploy(containers)
data/lib/hako/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Hako
3
- VERSION = '0.9.2'
3
+ VERSION = '0.9.3'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hako
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kohei Suzuki