rake_template 0.3.0.pre.1 → 0.3.0.pre.2

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: 3425772bf3e2def093d525fdd292d3224458b941dcaa58bcc3a22f0946abc5c9
4
- data.tar.gz: a3c7e70bff003ca7d86b1aad183b29ed371a2a1a434382fd5bade92aa10bfd5d
3
+ metadata.gz: 28af32f96b03df724b0d9b7cf0004b6a01d88378dddcefe84f9008b5b64aab25
4
+ data.tar.gz: 94fbf46f671278321490547b941dae64f67433c159c4b9c3f05e97b98d183a21
5
5
  SHA512:
6
- metadata.gz: 7256ee1a87aaa0c0ebd89b1f72ba2bdae764e33fcf6cac157510efb3b0af583a88c5538aa8ef90a8b1a9e81652f8a389998b03d57f158fd4137c9ffe2b1a903f
7
- data.tar.gz: aeafe0e2e031920cbce5cbe3fb16013068781c1991c06eb8ece1a067c2004632c9f9c0a54a95aa80428f82be97041076183e3c6de0e6558356792805cd91b9d8
6
+ metadata.gz: dac2ad99ed501760b3f34e975035a5afc662080826bb7add5d46ba7b55f5bf2b371dcaf785ea32511a1febcc3d2924acecde8fb705ba742fffbc9d5fb6799089
7
+ data.tar.gz: 91a253ff978ed00ad30112b4a212bf3a3be000afdcf145efb4ba5f58aa0ddc67baea0e38f1e198fee850ecb91470b3b9e0036373f5fc459934fbb3e2d96dea09
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_template (0.3.0.pre.1)
4
+ rake_template (0.3.0.pre.2)
5
5
  rake_factory (~> 0.23)
6
6
 
7
7
  GEM
@@ -18,21 +18,27 @@ GEM
18
18
  concurrent-ruby (1.1.6)
19
19
  diff-lcs (1.3)
20
20
  docile (1.3.2)
21
- excon (0.73.0)
21
+ excon (0.78.1)
22
22
  faraday (1.0.1)
23
23
  multipart-post (>= 1.2, < 3)
24
24
  gem-release (2.1.1)
25
+ hamster (3.0.0)
26
+ concurrent-ruby (~> 1.0)
25
27
  i18n (1.8.2)
26
28
  concurrent-ruby (~> 1.0)
29
+ lino (1.7.0)
30
+ hamster (~> 3.0)
31
+ open4 (~> 1.3)
27
32
  memfs (1.0.0)
28
33
  minitest (5.14.1)
29
34
  multipart-post (2.1.1)
30
35
  octokit (4.18.0)
31
36
  faraday (>= 0.9)
32
37
  sawyer (~> 0.8.0, >= 0.5.3)
38
+ open4 (1.3.4)
33
39
  public_suffix (4.0.5)
34
40
  rake (13.0.1)
35
- rake_circle_ci (0.7.0)
41
+ rake_circle_ci (0.9.0)
36
42
  colored2 (~> 3.1)
37
43
  excon (~> 0.72)
38
44
  rake_factory (~> 0.23)
@@ -45,6 +51,9 @@ GEM
45
51
  octokit (~> 4.16)
46
52
  rake_factory (~> 0.23)
47
53
  sshkey (~> 2.0)
54
+ rake_gpg (0.14.0)
55
+ rake_factory (>= 0.23, < 1)
56
+ ruby_gpg2 (>= 0.6, < 1)
48
57
  rake_ssh (0.4.0)
49
58
  colored2 (~> 3.1)
50
59
  rake_factory (~> 0.23)
@@ -62,6 +71,8 @@ GEM
62
71
  diff-lcs (>= 1.2.0, < 2.0)
63
72
  rspec-support (~> 3.9.0)
64
73
  rspec-support (3.9.3)
74
+ ruby_gpg2 (0.6.0)
75
+ lino (>= 1.5)
65
76
  sawyer (0.8.2)
66
77
  addressable (>= 2.3.5)
67
78
  faraday (> 0.8, < 2.0)
@@ -83,12 +94,13 @@ DEPENDENCIES
83
94
  gem-release (~> 2.0)
84
95
  memfs (~> 1.0)
85
96
  rake (~> 13.0)
86
- rake_circle_ci (~> 0.7)
97
+ rake_circle_ci (~> 0.9)
87
98
  rake_github (~> 0.5)
99
+ rake_gpg (~> 0.12)
88
100
  rake_ssh (~> 0.4)
89
101
  rake_template!
90
102
  rspec (~> 3.9)
91
103
  simplecov (~> 0.16)
92
104
 
93
105
  BUNDLED WITH
94
- 2.1.4
106
+ 2.2.4
data/Rakefile CHANGED
@@ -2,17 +2,40 @@ require 'yaml'
2
2
  require 'rake_circle_ci'
3
3
  require 'rake_github'
4
4
  require 'rake_ssh'
5
+ require 'rake_gpg'
6
+ require 'securerandom'
5
7
  require 'rspec/core/rake_task'
6
8
 
7
9
  task :default => :spec
8
10
 
9
11
  RSpec::Core::RakeTask.new(:spec)
10
12
 
11
- RakeSSH.define_key_tasks(
12
- namespace: :deploy_key,
13
- path: 'config/secrets/ci/',
14
- comment: 'maintainers@infrablocks.io'
15
- )
13
+ namespace :encryption do
14
+ namespace :passphrase do
15
+ task :generate do
16
+ File.open('config/secrets/ci/encryption.passphrase', 'w') do |f|
17
+ f.write(SecureRandom.base64(36))
18
+ end
19
+ end
20
+ end
21
+ end
22
+
23
+ namespace :keys do
24
+ namespace :deploy do
25
+ RakeSSH.define_key_tasks(
26
+ path: 'config/secrets/ci/',
27
+ comment: 'maintainers@infrablocks.io')
28
+ end
29
+
30
+ namespace :gpg do
31
+ RakeGPG.define_generate_key_task(
32
+ output_directory: 'config/secrets/ci',
33
+ name_prefix: 'gpg',
34
+ owner_name: 'InfraBlocks Maintainers',
35
+ owner_email: 'maintainers@infrablocks.io',
36
+ owner_comment: 'rake_template CI Key')
37
+ end
38
+ end
16
39
 
17
40
  RakeCircleCI.define_project_tasks(
18
41
  namespace: :circle_ci,
@@ -27,6 +50,7 @@ RakeCircleCI.define_project_tasks(
27
50
  File.read('config/secrets/ci/encryption.passphrase')
28
51
  .chomp
29
52
  }
53
+ t.checkout_keys = []
30
54
  t.ssh_keys = [
31
55
  {
32
56
  hostname: "github.com",
@@ -55,6 +79,7 @@ namespace :pipeline do
55
79
  task :prepare => [
56
80
  :'circle_ci:project:follow',
57
81
  :'circle_ci:env_vars:ensure',
82
+ :'circle_ci:checkout_keys:ensure',
58
83
  :'circle_ci:ssh_keys:ensure',
59
84
  :'github:deploy_keys:ensure'
60
85
  ]
@@ -1,3 +1,3 @@
1
1
  module RakeTemplate
2
- VERSION = '0.3.0.pre.1'
2
+ VERSION = '0.3.0.pre.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.pre.1
4
+ version: 0.3.0.pre.2
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-05-25 00:00:00.000000000 Z
11
+ date: 2021-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake_factory
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.7'
61
+ version: '0.9'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.7'
68
+ version: '0.9'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake_github
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.4'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake_gpg
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.12'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.12'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rspec
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -171,16 +185,6 @@ executables: []
171
185
  extensions: []
172
186
  extra_rdoc_files: []
173
187
  files:
174
- - ".circleci/config.yml"
175
- - ".circleci/gpg.private.enc"
176
- - ".envrc"
177
- - ".git-crypt/.gitattributes"
178
- - ".git-crypt/keys/default/0/41D2606F66C3FF28874362B61A16916844CE9D82.gpg"
179
- - ".git-crypt/keys/default/0/AAE932B730C2BA697FFDFAE05DA390873E38358B.gpg"
180
- - ".gitattributes"
181
- - ".gitignore"
182
- - ".rspec"
183
- - ".ruby-version"
184
188
  - Gemfile
185
189
  - Gemfile.lock
186
190
  - LICENSE.txt
@@ -188,29 +192,11 @@ files:
188
192
  - Rakefile
189
193
  - bin/console
190
194
  - bin/setup
191
- - config/secrets/.unlocked
192
- - config/secrets/ci/encryption.passphrase
193
- - config/secrets/ci/gpg.private
194
- - config/secrets/ci/gpg.public
195
- - config/secrets/ci/ssh.private
196
- - config/secrets/ci/ssh.public
197
- - config/secrets/circle_ci/config.yaml
198
- - config/secrets/github/config.yaml
199
- - config/secrets/rubygems/credentials
200
- - go
201
195
  - lib/rake_template.rb
202
196
  - lib/rake_template/tasks.rb
203
197
  - lib/rake_template/tasks/render.rb
204
198
  - lib/rake_template/template.rb
205
199
  - lib/rake_template/version.rb
206
- - rake_template.gemspec
207
- - scripts/ci/common/configure-git.sh
208
- - scripts/ci/common/configure-rubygems.sh
209
- - scripts/ci/common/install-git-crypt.sh
210
- - scripts/ci/common/install-gpg-key.sh
211
- - scripts/ci/steps/prerelease.sh
212
- - scripts/ci/steps/release.sh
213
- - scripts/ci/steps/test.sh
214
200
  homepage: https://github.com/infrablocks/rake_template
215
201
  licenses:
216
202
  - MIT
@@ -1,56 +0,0 @@
1
- version: 2.1
2
- jobs:
3
- test:
4
- working_directory: ~/source
5
- docker:
6
- - image: ruby:2.6.0
7
- steps:
8
- - checkout
9
- - run: ./scripts/ci/steps/test.sh
10
- prerelease:
11
- working_directory: ~/source
12
- docker:
13
- - image: ruby:2.6.0
14
- steps:
15
- - checkout
16
- - run: ./scripts/ci/common/install-git-crypt.sh
17
- - run: ./scripts/ci/common/install-gpg-key.sh
18
- - run: ./scripts/ci/common/configure-git.sh
19
- - run: ./scripts/ci/common/configure-rubygems.sh
20
- - run: ./scripts/ci/steps/prerelease.sh
21
- release:
22
- working_directory: ~/source
23
- docker:
24
- - image: ruby:2.6.0
25
- steps:
26
- - checkout
27
- - run: ./scripts/ci/common/install-git-crypt.sh
28
- - run: ./scripts/ci/common/install-gpg-key.sh
29
- - run: ./scripts/ci/common/configure-git.sh
30
- - run: ./scripts/ci/common/configure-rubygems.sh
31
- - run: ./scripts/ci/steps/release.sh
32
-
33
- workflows:
34
- version: 2
35
- pipeline:
36
- jobs:
37
- - test
38
- - prerelease:
39
- requires:
40
- - test
41
- filters:
42
- branches:
43
- only: master
44
- - hold:
45
- type: approval
46
- requires:
47
- - prerelease
48
- filters:
49
- branches:
50
- only: master
51
- - release:
52
- requires:
53
- - hold
54
- filters:
55
- branches:
56
- only: master
Binary file
data/.envrc DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- PROJECT_DIR="$(pwd)"
4
-
5
- PATH_add ${PROJECT_DIR}
@@ -1,4 +0,0 @@
1
- # Do not edit this file. To specify the files to encrypt, create your own
2
- # .gitattributes file in the directory where your files are.
3
- * !filter !diff
4
- *.gpg binary
@@ -1 +0,0 @@
1
- config/secrets/** filter=git-crypt diff=git-crypt
data/.gitignore DELETED
@@ -1,33 +0,0 @@
1
- ## Standard stuff:
2
- *.gem
3
- *.rbc
4
- /build
5
- /.config
6
- /coverage/
7
- /InstalledFiles
8
- /pkg/
9
- .rspec_status
10
- /spec/reports/
11
- /spec/examples.txt
12
- /test/tmp/
13
- /test/version_tmp/
14
- /tmp/
15
- .rakeTasks
16
-
17
- ## Documentation cache and generated files:
18
- /.yardoc/
19
- /_yardoc/
20
- /doc/
21
- /rdoc/
22
- /coverage/
23
-
24
- ## Environment normalization:
25
- /.bundle/
26
- /vendor/bundle
27
- /lib/bundler/man/
28
-
29
- ## IDE:
30
- .idea
31
- *.ipr
32
- *.iws
33
- *.iml
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
@@ -1 +0,0 @@
1
- 2.6.0
@@ -1 +0,0 @@
1
- true
@@ -1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Z3ttr1TfApHbpDzQwDntg3K0sdh+ST03bqy12GYsXdv5XUX6UrmCQgL3yrc+LgU9lJDBgNPgNM1ehcQHJcH6JbOY+MTz/UK8XHV7YODcQrJSc8w4M7FhfZwQoUw== maintainers@infrablocks.io
@@ -1,2 +0,0 @@
1
- ---
2
- circle_ci_api_token: "27393e98772c1342785957a776ca4acbaea7f7cb"
@@ -1,2 +0,0 @@
1
- ---
2
- github_personal_access_token: "6deebdb15c371069618942f48acd76f35880ebb5"
@@ -1,2 +0,0 @@
1
- ---
2
- :rubygems_api_key: bd53d6202bc5ec5d4c51dd2b245f2f14
data/go DELETED
@@ -1,56 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$GO_DEBUG" ] && set -x
4
- set -e
5
-
6
- project_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
7
-
8
- verbose="no"
9
- skip_checks="no"
10
- offline="no"
11
-
12
- missing_dependency="no"
13
-
14
- [ -n "$GO_DEBUG" ] && verbose="yes"
15
- [ -n "$GO_SKIP_CHECKS" ] && skip_checks="yes"
16
- [ -n "$GO_OFFLINE" ] && offline="yes"
17
-
18
-
19
- if [[ "$skip_checks" = "no" ]]; then
20
- echo "Checking for system dependencies."
21
- ruby_version="$(cat "$project_dir"/.ruby-version)"
22
- if ! type ruby >/dev/null 2>&1 || ! ruby -v | grep -q "$ruby_version"; then
23
- echo "This codebase requires Ruby $ruby_version."
24
- missing_dependency="yes"
25
- fi
26
-
27
- if [[ "$missing_dependency" = "yes" ]]; then
28
- echo "Please install missing dependencies to continue."
29
- exit 1
30
- fi
31
-
32
- echo "All system dependencies present. Continuing."
33
- fi
34
-
35
- if [[ "$offline" = "no" ]]; then
36
- echo "Installing bundler."
37
- if [[ "$verbose" = "yes" ]]; then
38
- gem install --no-document bundler
39
- else
40
- gem install --no-document bundler --silent
41
- fi
42
-
43
- echo "Installing ruby dependencies."
44
- if [[ "$verbose" = "yes" ]]; then
45
- bundle install
46
- else
47
- bundle install --quiet
48
- fi
49
- fi
50
-
51
- echo "Starting rake."
52
- if [[ "$verbose" = "yes" ]]; then
53
- time bundle exec rake --verbose "$@"
54
- else
55
- time bundle exec rake "$@"
56
- fi
@@ -1,39 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'rake_template/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'rake_template'
8
- spec.version = RakeTemplate::VERSION
9
- spec.authors = ['Toby Clemson']
10
- spec.email = ['tobyclemson@gmail.com']
11
-
12
- spec.summary = 'Rake tasks for rendering templates.'
13
- spec.description = 'Allows templates to be rendered based on values ' +
14
- 'available within a Rakefile.'
15
- spec.homepage = "https://github.com/infrablocks/rake_template"
16
- spec.license = 'MIT'
17
-
18
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
- f.match(%r{^(test|spec|features)/})
20
- end
21
- spec.bindir = 'exe'
22
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
- spec.require_paths = ['lib']
24
-
25
- spec.required_ruby_version = '>= 2.6'
26
-
27
- spec.add_dependency 'rake_factory', '~> 0.23'
28
-
29
- spec.add_development_dependency 'bundler', '~> 2.0'
30
- spec.add_development_dependency 'rake', '~> 13.0'
31
- spec.add_development_dependency 'rake_circle_ci', '~> 0.7'
32
- spec.add_development_dependency 'rake_github', '~> 0.5'
33
- spec.add_development_dependency 'rake_ssh', '~> 0.4'
34
- spec.add_development_dependency 'rspec', '~> 3.9'
35
- spec.add_development_dependency 'gem-release', '~> 2.0'
36
- spec.add_development_dependency 'activesupport', '~> 5.2'
37
- spec.add_development_dependency 'memfs', '~> 1.0'
38
- spec.add_development_dependency 'simplecov', '~> 0.16'
39
- end
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- git config --global user.email "circleci@infrablocks.io"
8
- git config --global user.name "Circle CI"
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8
- PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
9
-
10
- cd "$PROJECT_DIR"
11
-
12
- git crypt unlock
13
-
14
- mkdir -p ~/.gem
15
- cp config/secrets/rubygems/credentials ~/.gem/credentials
16
- chmod 0600 ~/.gem/credentials
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- apt-get update
8
- apt-get install -y --no-install-recommends git ssh git-crypt
@@ -1,19 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8
- PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
9
-
10
- cd "$PROJECT_DIR"
11
-
12
- set +e
13
- openssl version
14
- openssl aes-256-cbc \
15
- -d \
16
- -md sha1 \
17
- -in ./.circleci/gpg.private.enc \
18
- -k "${ENCRYPTION_PASSPHRASE}" | gpg --import -
19
- set -e
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8
- PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
9
-
10
- cd "$PROJECT_DIR"
11
-
12
- ./go version:bump[pre]
13
- ./go release
14
-
15
- git status
16
- git push
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8
- PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
9
-
10
- cd "$PROJECT_DIR"
11
-
12
- git pull
13
-
14
- ./go version:bump[minor]
15
- ./go release
16
-
17
- git status
18
- git push
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8
- PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
9
-
10
- cd "$PROJECT_DIR"
11
-
12
- ./go spec