hako 2.15.0 → 2.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +42 -0
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/hako.gemspec +0 -1
- data/lib/hako/cli.rb +3 -3
- data/lib/hako/version.rb +1 -1
- metadata +4 -18
- data/.travis.yml +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c14a60c35c89be5465d9844da304c8dad15dce069edf54ccbba7f47376dc536
|
4
|
+
data.tar.gz: c9714116d65bc4d3746cbc968a0bd0315cd3677d3e5042e0937e4cfd29a48620
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12f663b6e4c17872e8d117f0a5fb4049b786e4af0e76ac7ff0b0d9bcb490299da15c0bc24a86a8a16a7d286585e9b428b68eba6121ed0212d353027db049cbe9
|
7
|
+
data.tar.gz: ee0bc9a4692583f332ac08060088f3e5374fd2297d6c54b9208ec529a813413ee11f3847788b32aa43f5c1d7b40814889de86b9290c4000707060ea51a68e8cb
|
@@ -0,0 +1,42 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
pull_request:
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
rspec:
|
10
|
+
name: RSpec
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
continue-on-error: ${{ matrix.experimental }}
|
13
|
+
strategy:
|
14
|
+
fail-fast: false
|
15
|
+
matrix:
|
16
|
+
ruby:
|
17
|
+
- 2.5
|
18
|
+
- 2.6
|
19
|
+
- 2.7
|
20
|
+
- 3.0
|
21
|
+
experimental: [false]
|
22
|
+
include:
|
23
|
+
- ruby: head
|
24
|
+
experimental: true
|
25
|
+
steps:
|
26
|
+
- uses: actions/checkout@v2
|
27
|
+
- uses: ruby/setup-ruby@v1
|
28
|
+
with:
|
29
|
+
ruby-version: ${{ matrix.ruby }}
|
30
|
+
bundler-cache: true
|
31
|
+
- run: bundle exec rspec
|
32
|
+
rubocop:
|
33
|
+
name: RuboCop
|
34
|
+
runs-on: ubuntu-latest
|
35
|
+
steps:
|
36
|
+
- uses: actions/checkout@v2
|
37
|
+
- uses: ruby/setup-ruby@v1
|
38
|
+
with:
|
39
|
+
# Use the same version with .rubocop.yml
|
40
|
+
ruby-version: 2.5
|
41
|
+
bundler-cache: true
|
42
|
+
- run: bundle exec rubocop
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Hako
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/hako.svg)](http://badge.fury.io/rb/hako)
|
3
|
-
|
3
|
+
![CI](https://github.com/eagletmt/hako/workflows/CI/badge.svg)
|
4
4
|
|
5
5
|
Deploy Docker container.
|
6
6
|
|
data/hako.gemspec
CHANGED
@@ -36,7 +36,6 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_dependency 'jsonnet'
|
37
37
|
|
38
38
|
spec.add_development_dependency 'bundler'
|
39
|
-
spec.add_development_dependency 'coveralls'
|
40
39
|
spec.add_development_dependency 'rake'
|
41
40
|
spec.add_development_dependency 'rspec'
|
42
41
|
spec.add_development_dependency 'rubocop', '>= 0.53.0'
|
data/lib/hako/cli.rb
CHANGED
@@ -73,7 +73,7 @@ module Hako
|
|
73
73
|
else
|
74
74
|
{}
|
75
75
|
end
|
76
|
-
Commander.new(Application.new(@definition_path, options)).deploy(force: @force, tag: @tag, dry_run: @dry_run, timeout: @timeout)
|
76
|
+
Commander.new(Application.new(@definition_path, **options)).deploy(force: @force, tag: @tag, dry_run: @dry_run, timeout: @timeout)
|
77
77
|
end
|
78
78
|
|
79
79
|
DEFAULT_TIMEOUT = 1200 # 20 minutes
|
@@ -121,7 +121,7 @@ module Hako
|
|
121
121
|
else
|
122
122
|
{}
|
123
123
|
end
|
124
|
-
Commander.new(Application.new(@definition_path, options)).rollback(dry_run: @dry_run)
|
124
|
+
Commander.new(Application.new(@definition_path, **options)).rollback(dry_run: @dry_run)
|
125
125
|
end
|
126
126
|
|
127
127
|
def parse!(argv)
|
@@ -164,7 +164,7 @@ module Hako
|
|
164
164
|
else
|
165
165
|
{}
|
166
166
|
end
|
167
|
-
Commander.new(Application.new(@definition_path, options)).oneshot(@argv, tag: @tag, containers: @containers, env: @env, dry_run: @dry_run, no_wait: @no_wait, overrides: @overrides)
|
167
|
+
Commander.new(Application.new(@definition_path, **options)).oneshot(@argv, tag: @tag, containers: @containers, env: @env, dry_run: @dry_run, no_wait: @no_wait, overrides: @overrides)
|
168
168
|
end
|
169
169
|
|
170
170
|
def parse!(argv)
|
data/lib/hako/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hako
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.15.
|
4
|
+
version: 2.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kohei Suzuki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-applicationautoscaling
|
@@ -206,20 +206,6 @@ dependencies:
|
|
206
206
|
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
|
-
name: coveralls
|
211
|
-
requirement: !ruby/object:Gem::Requirement
|
212
|
-
requirements:
|
213
|
-
- - ">="
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: '0'
|
216
|
-
type: :development
|
217
|
-
prerelease: false
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - ">="
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: '0'
|
223
209
|
- !ruby/object:Gem::Dependency
|
224
210
|
name: rake
|
225
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -298,11 +284,11 @@ executables:
|
|
298
284
|
extensions: []
|
299
285
|
extra_rdoc_files: []
|
300
286
|
files:
|
287
|
+
- ".github/workflows/ci.yml"
|
301
288
|
- ".gitignore"
|
302
289
|
- ".rspec"
|
303
290
|
- ".rubocop.yml"
|
304
291
|
- ".rubocop_todo.yml"
|
305
|
-
- ".travis.yml"
|
306
292
|
- ".yardopts"
|
307
293
|
- CHANGELOG.md
|
308
294
|
- Gemfile
|
@@ -398,7 +384,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
398
384
|
- !ruby/object:Gem::Version
|
399
385
|
version: '0'
|
400
386
|
requirements: []
|
401
|
-
rubygems_version: 3.
|
387
|
+
rubygems_version: 3.2.21
|
402
388
|
signing_key:
|
403
389
|
specification_version: 4
|
404
390
|
summary: Deploy Docker container
|