kontena-mortar 0.3.3 → 0.4.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: cbd4ea84667260b55677b48e37179d797df96229de1fceb554e74a057bd252b4
4
- data.tar.gz: cbbede278db98e73915b26b98470cc29180a919f665e0e234d916f9902f9c9b8
3
+ metadata.gz: 89aa53bb29dce693a1eedb9dafb40e57d42e8aa89efada79074307dfcf28036f
4
+ data.tar.gz: 5b8465e380155c90a4517daf23b2ef6d779c5512c303b01cb554be66830ec80b
5
5
  SHA512:
6
- metadata.gz: d66c65d27de5fcd5f37b1093c7bffcee571c2a2fe58c0075c0f203777eb6e8d6dddc6ad8c3b9868b119a90221f43077ed0feb6e5b5bb0b645438604fcb29011b
7
- data.tar.gz: 495221a643e54b05dde1f103bdc943f43f8734ec906e6e4ff4f4f150f70148978c7115c7ff0f170666dc7eebc34db461d3fa48e5b3fd916e4b60114d6981492a
6
+ metadata.gz: d41589715e1ec3c3273e20f9e00234e0aad296d962407cbbfad9ed3eb43a67e90c1841d9bb33f31210f866014209438bdd75795568dc62dd80a6e61474747198
7
+ data.tar.gz: 6792265d0dd4a4e94264d2aa31fe66b09fbcbc07f39941c5227cd9dec697405cb86640adc555202c5faaf30d871a11431f61b610fadac72759a57212c160f87e
data/.drone.yml CHANGED
@@ -1,33 +1,48 @@
1
- pipeline:
2
- test:
1
+ kind: pipeline
2
+ name: amd64
3
+
4
+ platform:
5
+ os: linux
6
+ arch: amd64
7
+ steps:
8
+ - name: test
3
9
  image: ruby:2.4
4
10
  commands:
5
11
  - bundle install --path bundler
6
12
  - bundle exec rspec spec/ # && bundle exec rubocop --fail-level A -S --format c --parallel
7
13
  - bundle exec rubocop lib/
8
- docker_latest:
9
- registry: quay.io
14
+ - name: docker_latest
10
15
  image: plugins/docker
11
- secrets: [ docker_username, docker_password ]
12
- repo: quay.io/kontena/mortar
13
- dockerfile: Dockerfile
14
- auto_tag: true
16
+ settings:
17
+ registry: quay.io
18
+ username:
19
+ from_secret: docker_username
20
+ password:
21
+ from_secret: docker_password
22
+ repo: quay.io/kontena/mortar
23
+ dockerfile: Dockerfile
24
+ auto_tag: true
15
25
  when:
16
26
  branch: ['master']
17
27
  event: ['push']
18
- docker_release:
19
- registry: quay.io
28
+ - name: docker_release
20
29
  image: plugins/docker
21
- secrets: [ docker_username, docker_password ]
22
- repo: quay.io/kontena/mortar
23
- dockerfile: Dockerfile
24
- auto_tag: true
30
+ settings:
31
+ registry: quay.io
32
+ username:
33
+ from_secret: docker_username
34
+ password:
35
+ from_secret: docker_password
36
+ repo: quay.io/kontena/mortar
37
+ dockerfile: Dockerfile
38
+ auto_tag: true
25
39
  when:
26
40
  event: ['tag']
27
-
28
- release-gem:
41
+ - name: release-gem
29
42
  image: ruby:2.4
30
- secrets: [ rubygems_auth ]
43
+ environment:
44
+ RUBYGEMS_AUTH:
45
+ from_secret: rubygems_auth
31
46
  commands:
32
47
  - mkdir -p ~/.gem
33
48
  - echo $RUBYGEMS_AUTH | base64 -d > ~/.gem/credentials && chmod 0600 ~/.gem/credentials
@@ -35,19 +50,21 @@ pipeline:
35
50
  - gem push *.gem
36
51
  when:
37
52
  event: ['tag']
38
-
39
- create_gh_release:
53
+ - name: create_gh_release
40
54
  image: ubuntu:xenial
41
- secrets: [ github_token ]
55
+ environment:
56
+ GITHUB_TOKEN:
57
+ from_secret: github_token
42
58
  commands:
43
59
  - ./build/drone/create_release.sh
44
60
  when:
45
61
  event: tag
46
- build_xenial:
62
+ - name: build_xenial
47
63
  image: ubuntu:xenial
48
- secrets: [ github_token ]
49
64
  environment:
50
- - CPPFLAGS=-P
65
+ CPPFLAGS: '-P'
66
+ GITHUB_TOKEN:
67
+ from_secret: github_token
51
68
  commands:
52
69
  - ./build/drone/ubuntu_xenial.sh
53
70
  when:
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kontena-mortar (0.3.3)
4
+ kontena-mortar (0.4.0)
5
5
  clamp (~> 1.3)
6
6
  deep_merge (~> 1.2)
7
- k8s-client (~> 0.8.3)
7
+ k8s-client (~> 0.10.1)
8
8
  pastel (~> 0.7.2)
9
9
  rouge (~> 3.2)
10
10
  tty-table (~> 0.10.0)
@@ -17,7 +17,7 @@ GEM
17
17
  concurrent-ruby (1.1.5)
18
18
  deep_merge (1.2.1)
19
19
  diff-lcs (1.3)
20
- dry-configurable (0.8.2)
20
+ dry-configurable (0.8.3)
21
21
  concurrent-ruby (~> 1.0)
22
22
  dry-core (~> 0.4, >= 0.4.7)
23
23
  dry-container (0.7.0)
@@ -27,8 +27,8 @@ GEM
27
27
  concurrent-ruby (~> 1.0)
28
28
  dry-equalizer (0.2.2)
29
29
  dry-inflector (0.1.2)
30
- dry-logic (0.5.0)
31
- dry-container (~> 0.2, >= 0.2.6)
30
+ dry-logic (0.6.1)
31
+ concurrent-ruby (~> 1.0)
32
32
  dry-core (~> 0.2)
33
33
  dry-equalizer (~> 0.2)
34
34
  dry-struct (0.5.1)
@@ -36,23 +36,24 @@ GEM
36
36
  dry-equalizer (~> 0.2)
37
37
  dry-types (~> 0.13)
38
38
  ice_nine (~> 0.11)
39
- dry-types (0.14.0)
39
+ dry-types (0.13.4)
40
40
  concurrent-ruby (~> 1.0)
41
41
  dry-container (~> 0.3)
42
42
  dry-core (~> 0.4, >= 0.4.4)
43
43
  dry-equalizer (~> 0.2)
44
44
  dry-inflector (~> 0.1, >= 0.1.2)
45
- dry-logic (~> 0.5, >= 0.5)
45
+ dry-logic (~> 0.4, >= 0.4.2)
46
46
  equatable (0.5.0)
47
47
  excon (0.62.0)
48
- hashdiff (0.3.8)
48
+ hashdiff (0.3.9)
49
49
  ice_nine (0.11.2)
50
50
  jaro_winkler (1.5.2)
51
51
  jsonpath (0.9.9)
52
52
  multi_json
53
53
  to_regexp (~> 0.2.1)
54
- k8s-client (0.8.3)
54
+ k8s-client (0.10.1)
55
55
  dry-struct (~> 0.5.0)
56
+ dry-types (~> 0.13.0)
56
57
  excon (~> 0.62.0)
57
58
  hashdiff (~> 0.3.7)
58
59
  jsonpath (~> 0.9.5)
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.post_install_message = "To install shell auto-completions, use:\n mortar install-completions"
27
27
 
28
28
  spec.add_runtime_dependency "clamp", "~> 1.3"
29
- spec.add_runtime_dependency "k8s-client", "~> 0.8.3"
29
+ spec.add_runtime_dependency "k8s-client", "~> 0.10.1"
30
30
  spec.add_runtime_dependency "rouge", "~> 3.2"
31
31
  spec.add_runtime_dependency "deep_merge", "~> 1.2"
32
32
  spec.add_runtime_dependency "pastel", "~> 0.7.2"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mortar
4
- VERSION = "0.3.3"
4
+ VERSION = "0.4.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kontena-mortar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kontena, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-12 00:00:00.000000000 Z
11
+ date: 2019-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.8.3
33
+ version: 0.10.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.8.3
40
+ version: 0.10.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rouge
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -227,8 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  - !ruby/object:Gem::Version
228
228
  version: '0'
229
229
  requirements: []
230
- rubyforge_project:
231
- rubygems_version: 2.7.6
230
+ rubygems_version: 3.0.3
232
231
  signing_key:
233
232
  specification_version: 4
234
233
  summary: Kubernetes manifest shooter