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 +4 -4
- data/lib/hako/commander.rb +1 -1
- data/lib/hako/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9858d1fedc7ce78adf7d3c96db692b2673e9ac8
|
4
|
+
data.tar.gz: 7980194c281c4d06c09bf8ec80493c43a09c3770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52f519b086b28d5b5931c2ce9409de31d756d2a293fd45cef77dcbd7f4cb902b872dcd36b162c1405538f184037dbbc2ee7bda83d2daf129dbabe23e8a7c1eab
|
7
|
+
data.tar.gz: e1aa506931c6dc14d5fa75ea761504edf78f52d538f9424d25597321545d6c58f3e1cbed9a06057f9bf14103dd99466a2897fa304a776e698720a1c4dcb8b1b3
|
data/lib/hako/commander.rb
CHANGED
@@ -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