rake_docker 2.9.0 → 2.10.0.pre.1

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: dfec90b34456c55cb018ae5b2bdd03db432157189fb0371be11100f42b186ac9
4
- data.tar.gz: c450150ab3d4b97ba9b818378478a99280f2a226363ba8bf1e3bfc460867359d
3
+ metadata.gz: 219086a5b36d6cf873387cf607c598ddd66a5055f0580389fc88e8d7501dcf45
4
+ data.tar.gz: 4bf9a6ff0389f82666a34c9977e6e84a85f2e33db4419bb65cef35832c5a5c24
5
5
  SHA512:
6
- metadata.gz: 6acafad2c56d70454f66ce596abb06081743420d4d41f9ff64c9ef04a3332970c2ab659e6e5534a8f244464b103680bf562cd238eba9fb6ca853f8d5675e2af9
7
- data.tar.gz: 7c06009f9cfee5e5b76c20a58821034ffbbf050663c097b7c3aad266885a5bd9068173910d40bd8ba94859ddda384776bef54dcd312d6c0b5c4f1ef604b01bb9
6
+ metadata.gz: 03f1dbe0cbcbf6641ece37891b8e362dd3a743b60df0240ddb91e8ea231661a45bedadea9b17feac961937a5dcd4ed66787d95af75439df95ddb6a58e2c72542
7
+ data.tar.gz: 84a46c4beef67e4dec0db261503e0c59dc93ebe14b94e1b9229862cbf89bacf4b7d38eb9c84fa05abb7d7ac1c531a060eba90237382aa86dff0a23f29270e200
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_docker (2.9.0)
4
+ rake_docker (2.10.0.pre.1)
5
5
  aws-sdk-ecr (~> 1.2)
6
6
  colored2 (~> 3.1)
7
7
  docker-api (~> 1.34)
@@ -15,56 +15,81 @@ GEM
15
15
  i18n (>= 0.7, < 2)
16
16
  minitest (~> 5.1)
17
17
  tzinfo (~> 1.1)
18
+ addressable (2.7.0)
19
+ public_suffix (>= 2.0.2, < 5.0)
18
20
  aws-eventstream (1.0.3)
19
- aws-partitions (1.272.0)
20
- aws-sdk-core (3.90.0)
21
+ aws-partitions (1.281.0)
22
+ aws-sdk-core (3.91.0)
21
23
  aws-eventstream (~> 1.0, >= 1.0.2)
22
24
  aws-partitions (~> 1, >= 1.239.0)
23
25
  aws-sigv4 (~> 1.1)
24
26
  jmespath (~> 1.0)
25
- aws-sdk-ecr (1.25.0)
27
+ aws-sdk-ecr (1.26.0)
26
28
  aws-sdk-core (~> 3, >= 3.71.0)
27
29
  aws-sigv4 (~> 1.1)
28
- aws-sigv4 (1.1.0)
30
+ aws-sigv4 (1.1.1)
29
31
  aws-eventstream (~> 1.0, >= 1.0.2)
30
32
  colored2 (3.1.2)
31
- concurrent-ruby (1.1.5)
33
+ concurrent-ruby (1.1.6)
32
34
  diff-lcs (1.3)
33
35
  docile (1.3.2)
34
36
  docker-api (1.34.2)
35
37
  excon (>= 0.47.0)
36
38
  multi_json
37
39
  excon (0.72.0)
40
+ faraday (1.0.0)
41
+ multipart-post (>= 1.2, < 3)
38
42
  gem-release (2.1.1)
39
43
  i18n (1.8.2)
40
44
  concurrent-ruby (~> 1.0)
41
45
  jmespath (1.4.0)
42
- json (2.3.0)
43
46
  memfs (1.0.0)
44
47
  minitest (5.14.0)
45
48
  multi_json (1.14.1)
49
+ multipart-post (2.1.1)
50
+ octokit (4.17.0)
51
+ faraday (>= 0.9)
52
+ sawyer (~> 0.8.0, >= 0.5.3)
53
+ public_suffix (4.0.3)
46
54
  rake (13.0.1)
47
- rake_factory (0.23.0)
55
+ rake_circle_ci (0.3.0)
56
+ colored2 (~> 3.1)
57
+ excon (~> 0.72)
58
+ rake_factory (~> 0.23)
59
+ sshkey (~> 2.0)
60
+ rake_factory (0.25.0)
48
61
  activesupport (>= 4)
49
62
  rake (~> 13.0)
63
+ rake_github (0.3.0)
64
+ colored2 (~> 3.1)
65
+ octokit (~> 4.16)
66
+ rake_factory (~> 0.23)
67
+ sshkey (~> 2.0)
68
+ rake_ssh (0.2.0)
69
+ colored2 (~> 3.1)
70
+ rake_factory (~> 0.23)
71
+ sshkey (~> 2.0)
50
72
  rspec (3.9.0)
51
73
  rspec-core (~> 3.9.0)
52
74
  rspec-expectations (~> 3.9.0)
53
75
  rspec-mocks (~> 3.9.0)
54
76
  rspec-core (3.9.1)
55
77
  rspec-support (~> 3.9.1)
56
- rspec-expectations (3.9.0)
78
+ rspec-expectations (3.9.1)
57
79
  diff-lcs (>= 1.2.0, < 2.0)
58
80
  rspec-support (~> 3.9.0)
59
81
  rspec-mocks (3.9.1)
60
82
  diff-lcs (>= 1.2.0, < 2.0)
61
83
  rspec-support (~> 3.9.0)
62
84
  rspec-support (3.9.2)
63
- simplecov (0.17.1)
85
+ sawyer (0.8.2)
86
+ addressable (>= 2.3.5)
87
+ faraday (> 0.8, < 2.0)
88
+ simplecov (0.18.5)
64
89
  docile (~> 1.1)
65
- json (>= 1.8, < 3)
66
- simplecov-html (~> 0.10.0)
67
- simplecov-html (0.10.2)
90
+ simplecov-html (~> 0.11)
91
+ simplecov-html (0.12.2)
92
+ sshkey (2.0.0)
68
93
  thread_safe (0.3.6)
69
94
  tzinfo (1.2.6)
70
95
  thread_safe (~> 0.1)
@@ -78,7 +103,10 @@ DEPENDENCIES
78
103
  gem-release (~> 2.0)
79
104
  memfs (~> 1.0)
80
105
  rake (~> 13.0)
106
+ rake_circle_ci (~> 0.3)
81
107
  rake_docker!
108
+ rake_github (~> 0.3)
109
+ rake_ssh (~> 0.2)
82
110
  rspec (~> 3.9)
83
111
  simplecov (~> 0.16)
84
112
 
data/Rakefile CHANGED
@@ -1,11 +1,66 @@
1
- require "rspec/core/rake_task"
1
+ require 'yaml'
2
+ require 'rake_circle_ci'
3
+ require 'rake_github'
4
+ require 'rake_ssh'
5
+ require 'rspec/core/rake_task'
6
+
7
+ task :default => :spec
2
8
 
3
9
  RSpec::Core::RakeTask.new(:spec)
4
10
 
5
- task :default => :spec
11
+ RakeSSH.define_key_tasks(
12
+ namespace: :deploy_key,
13
+ path: 'config/secrets/ci/',
14
+ comment: 'maintainers@infrablocks.io'
15
+ )
16
+
17
+ RakeCircleCI.define_project_tasks(
18
+ namespace: :circle_ci,
19
+ project_slug: 'github/infrablocks/rake_docker'
20
+ ) do |t|
21
+ circle_ci_config =
22
+ YAML.load_file('config/secrets/circle_ci/config.yaml')
23
+
24
+ t.api_token = circle_ci_config["circle_ci_api_token"]
25
+ t.environment_variables = {
26
+ ENCRYPTION_PASSPHRASE:
27
+ File.read('config/secrets/ci/encryption.passphrase')
28
+ .chomp
29
+ }
30
+ t.ssh_keys = [
31
+ {
32
+ hostname: "github.com",
33
+ private_key: File.read('config/secrets/ci/ssh.private')
34
+ }
35
+ ]
36
+ end
37
+
38
+ RakeGithub.define_repository_tasks(
39
+ namespace: :github,
40
+ repository: 'infrablocks/rake_docker',
41
+ ) do |t|
42
+ github_config =
43
+ YAML.load_file('config/secrets/github/config.yaml')
44
+
45
+ t.access_token = github_config["github_personal_access_token"]
46
+ t.deploy_keys = [
47
+ {
48
+ title: 'CircleCI',
49
+ public_key: File.read('config/secrets/ci/ssh.public')
50
+ }
51
+ ]
52
+ end
53
+
54
+ namespace :pipeline do
55
+ task :prepare => [
56
+ :'circle_ci:env_vars:ensure',
57
+ :'circle_ci:ssh_keys:ensure',
58
+ :'github:deploy_keys:ensure'
59
+ ]
60
+ end
6
61
 
7
62
  namespace :version do
8
- desc "Bump version for specified type (pre, major, minor patch)"
63
+ desc "Bump version for specified type (pre, major, minor, patch)"
9
64
  task :bump, [:type] do |_, args|
10
65
  bump_version_for(args.type)
11
66
  end
@@ -0,0 +1,2 @@
1
+ ---
2
+ circle_ci_api_token: "27393e98772c1342785957a776ca4acbaea7f7cb"
@@ -0,0 +1,2 @@
1
+ ---
2
+ github_personal_access_token: "6deebdb15c371069618942f48acd76f35880ebb5"
@@ -1,3 +1,3 @@
1
1
  module RakeDocker
2
- VERSION = '2.9.0'
2
+ VERSION = '2.10.0.pre.1'
3
3
  end
data/rake_docker.gemspec CHANGED
@@ -30,6 +30,9 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  spec.add_development_dependency 'bundler', '~> 2.0'
32
32
  spec.add_development_dependency 'rake', '~> 13.0'
33
+ spec.add_development_dependency 'rake_circle_ci', '~> 0.3'
34
+ spec.add_development_dependency 'rake_github', '~> 0.3'
35
+ spec.add_development_dependency 'rake_ssh', '~> 0.2'
33
36
  spec.add_development_dependency 'rspec', '~> 3.9'
34
37
  spec.add_development_dependency 'gem-release', '~> 2.0'
35
38
  spec.add_development_dependency 'activesupport', '~> 5.2'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.10.0.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-06 00:00:00.000000000 Z
11
+ date: 2020-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docker-api
@@ -94,6 +94,48 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '13.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake_circle_ci
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.3'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.3'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake_github
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.3'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.3'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake_ssh
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.2'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.2'
97
139
  - !ruby/object:Gem::Dependency
98
140
  name: rspec
99
141
  requirement: !ruby/object:Gem::Requirement
@@ -197,6 +239,8 @@ files:
197
239
  - config/secrets/ci/gpg.public
198
240
  - config/secrets/ci/ssh.private
199
241
  - config/secrets/ci/ssh.public
242
+ - config/secrets/circle_ci/config.yaml
243
+ - config/secrets/github/config.yaml
200
244
  - config/secrets/rubygems/credentials
201
245
  - go
202
246
  - lib/rake_docker.rb
@@ -242,9 +286,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
242
286
  version: '2.6'
243
287
  required_rubygems_version: !ruby/object:Gem::Requirement
244
288
  requirements:
245
- - - ">="
289
+ - - ">"
246
290
  - !ruby/object:Gem::Version
247
- version: '0'
291
+ version: 1.3.1
248
292
  requirements: []
249
293
  rubygems_version: 3.0.1
250
294
  signing_key: