vidar 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +4 -3
- data/Gemfile.lock +11 -11
- data/README.md +40 -4
- data/lib/vidar/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 81b5542b60e88f4165e152cc98bc69d9dd2d3ba34c5d151981a31e23464d9f62
|
|
4
|
+
data.tar.gz: c2d3521c07098cccd4a8a4b3dcf68f7b347acbb5ecbf54ce6e4b541a5dcfa945
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de96d9a6f2d6c774413e25303e5fd79a2b665a261e42cf72122372ec765d5f2f47f1d6fece991e951ec917c6f7f1b2aa80bc260f3b00938bf91170baaf3899f0
|
|
7
|
+
data.tar.gz: 440e62b327e460fe185b8e7a5ceea33a8a57ed4e15f2d9653eceb77527510d6636b8792b4f9275fd67ecac662e3382c796f5739fac31c56ba5ea746b66f75453
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
vidar (1.1.
|
|
4
|
+
vidar (1.1.2)
|
|
5
5
|
colorize
|
|
6
6
|
faraday
|
|
7
7
|
thor (~> 1.0)
|
|
@@ -14,17 +14,17 @@ GEM
|
|
|
14
14
|
coderay (1.1.2)
|
|
15
15
|
colorize (0.8.1)
|
|
16
16
|
diff-lcs (1.3)
|
|
17
|
-
faraday (1.0.
|
|
17
|
+
faraday (1.0.1)
|
|
18
18
|
multipart-post (>= 1.2, < 3)
|
|
19
19
|
jaro_winkler (1.5.4)
|
|
20
|
-
method_source (0.
|
|
20
|
+
method_source (1.0.0)
|
|
21
21
|
multipart-post (2.1.1)
|
|
22
22
|
parallel (1.19.1)
|
|
23
|
-
parser (2.7.0.
|
|
23
|
+
parser (2.7.0.5)
|
|
24
24
|
ast (~> 2.4.0)
|
|
25
|
-
pry (0.
|
|
26
|
-
coderay (~> 1.1
|
|
27
|
-
method_source (~>
|
|
25
|
+
pry (0.13.0)
|
|
26
|
+
coderay (~> 1.1)
|
|
27
|
+
method_source (~> 1.0)
|
|
28
28
|
rainbow (3.0.0)
|
|
29
29
|
rake (13.0.1)
|
|
30
30
|
rexml (3.2.4)
|
|
@@ -34,28 +34,28 @@ GEM
|
|
|
34
34
|
rspec-mocks (~> 3.9.0)
|
|
35
35
|
rspec-core (3.9.1)
|
|
36
36
|
rspec-support (~> 3.9.1)
|
|
37
|
-
rspec-expectations (3.9.
|
|
37
|
+
rspec-expectations (3.9.1)
|
|
38
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
39
39
|
rspec-support (~> 3.9.0)
|
|
40
40
|
rspec-mocks (3.9.1)
|
|
41
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
42
42
|
rspec-support (~> 3.9.0)
|
|
43
43
|
rspec-support (3.9.2)
|
|
44
|
-
rubocop (0.
|
|
44
|
+
rubocop (0.81.0)
|
|
45
45
|
jaro_winkler (~> 1.5.1)
|
|
46
46
|
parallel (~> 1.10)
|
|
47
47
|
parser (>= 2.7.0.1)
|
|
48
48
|
rainbow (>= 2.2.2, < 4.0)
|
|
49
49
|
rexml
|
|
50
50
|
ruby-progressbar (~> 1.7)
|
|
51
|
-
unicode-display_width (>= 1.4.0, <
|
|
51
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
|
52
52
|
rubocop-performance (1.5.2)
|
|
53
53
|
rubocop (>= 0.71.0)
|
|
54
54
|
rubocop-rspec (1.38.1)
|
|
55
55
|
rubocop (>= 0.68.1)
|
|
56
56
|
ruby-progressbar (1.10.1)
|
|
57
57
|
thor (1.0.1)
|
|
58
|
-
unicode-display_width (1.
|
|
58
|
+
unicode-display_width (1.7.0)
|
|
59
59
|
|
|
60
60
|
PLATFORMS
|
|
61
61
|
ruby
|
data/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[](https://rubygems.org/gems/vidar)
|
|
2
2
|
[](https://travis-ci.org/RenoFi/vidar)
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
# vidar
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
`vidar` is a set of docker & k8s deployment tools based on thor gem
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
@@ -25,12 +25,48 @@ Or install it yourself as:
|
|
|
25
25
|
#### Requirements :
|
|
26
26
|
|
|
27
27
|
* multistage `Dockerfile`, with at least 2 stages defined: `base`, `release`.
|
|
28
|
-
* `docker-compose.ci.yml` file with defined services for all mentioned stages
|
|
28
|
+
* `docker-compose.ci.yml` file with defined services for all mentioned stages, e.g.
|
|
29
|
+
|
|
30
|
+
```yml
|
|
31
|
+
version: '3.7'
|
|
32
|
+
|
|
33
|
+
services:
|
|
34
|
+
base:
|
|
35
|
+
image: gcr.io/[GCP-PROJECT-ID]/[APP-NAME]:base-${CURRENT_BRANCH:?err}
|
|
36
|
+
build:
|
|
37
|
+
dockerfile: Dockerfile
|
|
38
|
+
context: .
|
|
39
|
+
target: base
|
|
40
|
+
cache_from:
|
|
41
|
+
- gcr.io/[GCP-PROJECT-ID]/[APP-NAME]:base-master
|
|
42
|
+
- gcr.io/[GCP-PROJECT-ID]/[APP-NAME]:base
|
|
43
|
+
- gcr.io/[GCP-PROJECT-ID]/[APP-NAME]:release
|
|
44
|
+
- gcr.io/[GCP-PROJECT-ID]/[APP-NAME]:$REVISION
|
|
45
|
+
env_file:
|
|
46
|
+
- .env
|
|
47
|
+
environment:
|
|
48
|
+
- RACK_ENV=test
|
|
49
|
+
|
|
50
|
+
release:
|
|
51
|
+
image: gcr.io/[GCP-PROJECT-ID]/[APP-NAME]:release
|
|
52
|
+
build:
|
|
53
|
+
dockerfile: Dockerfile
|
|
54
|
+
context: .
|
|
55
|
+
target: release
|
|
56
|
+
args:
|
|
57
|
+
- REVISION=${REVISION:?err}
|
|
58
|
+
cache_from:
|
|
59
|
+
- gcr.io/[GCP-PROJECT-ID]/[APP-NAME]:base-${CURRENT_BRANCH:?err}
|
|
60
|
+
- gcr.io/[GCP-PROJECT-ID]/[APP-NAME]:base-master
|
|
61
|
+
- gcr.io/[GCP-PROJECT-ID]/[APP-NAME]:base
|
|
62
|
+
- gcr.io/[GCP-PROJECT-ID]/[APP-NAME]:$REVISION
|
|
63
|
+
```
|
|
64
|
+
|
|
29
65
|
* `vidar.yml` file to the project root directory, which following content:
|
|
30
66
|
|
|
31
67
|
```yml
|
|
32
68
|
# docker image name, required
|
|
33
|
-
image: gcr.io/
|
|
69
|
+
image: gcr.io/[GCP-PROJECT-ID]/[APP-NAME]
|
|
34
70
|
# k8s namespace, required
|
|
35
71
|
namespace: borrower
|
|
36
72
|
# github name used to build deployment notification content
|
data/lib/vidar/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vidar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Krzysztof Knapik
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2020-
|
|
12
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: colorize
|
|
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
219
219
|
- !ruby/object:Gem::Version
|
|
220
220
|
version: '0'
|
|
221
221
|
requirements: []
|
|
222
|
-
rubygems_version: 3.
|
|
222
|
+
rubygems_version: 3.1.2
|
|
223
223
|
signing_key:
|
|
224
224
|
specification_version: 4
|
|
225
225
|
summary: K8s deployment tools based on thor
|