ruby_easy_rsa 0.7.0 → 0.8.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: 9c17b8c1ac355557aa21f14288c3ee126a9faca6682aa935b9fb2f49c15a7de9
4
- data.tar.gz: 7925b760da872dbeed5e1edbf5815ce7b8b52740e44104fd150b55ea6e94a620
3
+ metadata.gz: '096806e4bac9fc7933a2b944c48d9a615c3719510812117c6d5b0779b4810a12'
4
+ data.tar.gz: 5de4e8cf3e97e021dbaaaa02b28c31fd151d140bf7822b7619268f48b91b2f36
5
5
  SHA512:
6
- metadata.gz: b312edc264177e3e098f1f11dbe3f1ebe02f51880fdc0ac41c664b3d50a8740ac3e8ed1cd7cda16af69d335576acf9962f1301d40b8ec1baba0b076422da7764
7
- data.tar.gz: 63c09c2dc31fb5ae2ef9030d21cf76b97a27fa78b42ab8144ccd51ae62e69f3eb0c8b39b61d8b23a9c64e5166b3ad6099e9088e48ae7fcad74e794dedfaafd5f
6
+ metadata.gz: 93589a4b6db7cf9a5d22df31685a93c65408b63f16157f3101cb6cc97c0d32c42851738f57134eeef4f36b8af9e28125c895f79a95ad7de6146257b45f65a762
7
+ data.tar.gz: e612da5ba891ec40b91146eb1b61e93ad4c8b51444557ed389e30cc51bcec982ab0e93450675ccb589e6b874ff74693294553d7852bae97a2e5ad7673cc21085
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_easy_rsa (0.7.0)
4
+ ruby_easy_rsa (0.8.0.pre.1)
5
5
  lino (>= 1.5)
6
6
 
7
7
  GEM
@@ -18,7 +18,7 @@ GEM
18
18
  colored2 (3.1.2)
19
19
  concurrent-ruby (1.1.6)
20
20
  diff-lcs (1.3)
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)
@@ -37,7 +37,7 @@ GEM
37
37
  open4 (1.3.4)
38
38
  public_suffix (4.0.5)
39
39
  rake (13.0.1)
40
- rake_circle_ci (0.7.0)
40
+ rake_circle_ci (0.9.0)
41
41
  colored2 (~> 3.1)
42
42
  excon (~> 0.72)
43
43
  rake_factory (~> 0.23)
@@ -50,6 +50,9 @@ GEM
50
50
  octokit (~> 4.16)
51
51
  rake_factory (~> 0.23)
52
52
  sshkey (~> 2.0)
53
+ rake_gpg (0.14.0)
54
+ rake_factory (>= 0.23, < 1)
55
+ ruby_gpg2 (>= 0.6, < 1)
53
56
  rake_ssh (0.4.0)
54
57
  colored2 (~> 3.1)
55
58
  rake_factory (~> 0.23)
@@ -67,6 +70,8 @@ GEM
67
70
  diff-lcs (>= 1.2.0, < 2.0)
68
71
  rspec-support (~> 3.9.0)
69
72
  rspec-support (3.9.3)
73
+ ruby_gpg2 (0.6.0)
74
+ lino (>= 1.5)
70
75
  sawyer (0.8.2)
71
76
  addressable (>= 2.3.5)
72
77
  faraday (> 0.8, < 2.0)
@@ -83,11 +88,12 @@ DEPENDENCIES
83
88
  bundler (~> 2.1)
84
89
  gem-release (~> 2.0)
85
90
  rake (~> 13.0)
86
- rake_circle_ci (~> 0.7)
87
- rake_github (~> 0.3)
88
- rake_ssh (~> 0.2)
91
+ rake_circle_ci (~> 0.9)
92
+ rake_github (~> 0.5)
93
+ rake_gpg (~> 0.12)
94
+ rake_ssh (~> 0.4)
89
95
  rspec (~> 3.9)
90
96
  ruby_easy_rsa!
91
97
 
92
98
  BUNDLED WITH
93
- 2.1.4
99
+ 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: 'ruby_easy_rsa 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 RubyEasyRSA
2
- VERSION = '0.7.0'
2
+ VERSION = '0.8.0.pre.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_easy_rsa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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-11-24 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: lino
@@ -58,42 +58,56 @@ 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
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.3'
75
+ version: '0.5'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.3'
82
+ version: '0.5'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake_ssh
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.2'
89
+ version: '0.4'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.2'
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
@@ -130,32 +144,12 @@ executables: []
130
144
  extensions: []
131
145
  extra_rdoc_files: []
132
146
  files:
133
- - ".circleci/config.yml"
134
- - ".circleci/gpg.private.enc"
135
- - ".envrc"
136
- - ".git-crypt/.gitattributes"
137
- - ".git-crypt/keys/default/0/41D2606F66C3FF28874362B61A16916844CE9D82.gpg"
138
- - ".git-crypt/keys/default/0/AAE932B730C2BA697FFDFAE05DA390873E38358B.gpg"
139
- - ".gitattributes"
140
- - ".gitignore"
141
- - ".rspec"
142
- - ".ruby-version"
143
147
  - CODE_OF_CONDUCT.md
144
148
  - Gemfile
145
149
  - Gemfile.lock
146
150
  - LICENSE.txt
147
151
  - README.md
148
152
  - Rakefile
149
- - config/secrets/.unlocked
150
- - config/secrets/ci/encryption.passphrase
151
- - config/secrets/ci/gpg.private
152
- - config/secrets/ci/gpg.public
153
- - config/secrets/ci/ssh.private
154
- - config/secrets/ci/ssh.public
155
- - config/secrets/circle_ci/config.yaml
156
- - config/secrets/github/config.yaml
157
- - config/secrets/rubygems/credentials
158
- - go
159
153
  - lib/ruby_easy_rsa.rb
160
154
  - lib/ruby_easy_rsa/commands.rb
161
155
  - lib/ruby_easy_rsa/commands/base.rb
@@ -190,14 +184,6 @@ files:
190
184
  - lib/ruby_easy_rsa/commands/update_db.rb
191
185
  - lib/ruby_easy_rsa/commands/upgrade.rb
192
186
  - lib/ruby_easy_rsa/version.rb
193
- - ruby_easy_rsa.gemspec
194
- - scripts/ci/common/configure-git.sh
195
- - scripts/ci/common/configure-rubygems.sh
196
- - scripts/ci/common/install-git-crypt.sh
197
- - scripts/ci/common/install-gpg-key.sh
198
- - scripts/ci/steps/prerelease.sh
199
- - scripts/ci/steps/release.sh
200
- - scripts/ci/steps/test.sh
201
187
  homepage: https://github.com/infrablocks/ruby_easy_rsa
202
188
  licenses:
203
189
  - MIT
@@ -213,9 +199,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
213
199
  version: '2.6'
214
200
  required_rubygems_version: !ruby/object:Gem::Requirement
215
201
  requirements:
216
- - - ">="
202
+ - - ">"
217
203
  - !ruby/object:Gem::Version
218
- version: '0'
204
+ version: 1.3.1
219
205
  requirements: []
220
206
  rubygems_version: 3.0.1
221
207
  signing_key:
@@ -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,4 +0,0 @@
1
- � -�/�e���(� "H @��Kc��Ş�L�Y<o�9��\�qw�;��.���Vp@�;i��G �� �dʘ�)�K˃߽��Nl�tr����M.�%G2
2
- B�I6ݴ��Unr�R�9�5Ocm ���50�P��A\�^,b��*��@����{�iD�t0��Z�y�X�\��C�ЋT��ʋ�wn��A��K�ވ� �ڢ}�D�/��Jf�q%�ϣW$2����b��5�z�Jx�G�h��.7 )O�u
3
- T�s���s�gG�����ž��k(�|u)N�)6�'F8cW\�fL�(q%™��|X�P�
4
-
@@ -1 +0,0 @@
1
- config/secrets/** filter=git-crypt diff=git-crypt
data/.gitignore DELETED
@@ -1,32 +0,0 @@
1
- ## Standard stuff:
2
- *.gem
3
- *.rbc
4
- /.config
5
- /coverage/
6
- /InstalledFiles
7
- /pkg/
8
- .rspec_status
9
- /spec/reports/
10
- /spec/examples.txt
11
- /test/tmp/
12
- /test/version_tmp/
13
- /tmp/
14
- .rakeTasks
15
-
16
- ## Documentation cache and generated files:
17
- /.yardoc/
18
- /_yardoc/
19
- /doc/
20
- /rdoc/
21
- /coverage/
22
-
23
- ## Environment normalization:
24
- /.bundle/
25
- /vendor/bundle
26
- /lib/bundler/man/
27
-
28
- ## IDE:
29
- .idea
30
- *.ipr
31
- *.iws
32
- *.iml
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --format documentation
@@ -1 +0,0 @@
1
- 2.6.0
@@ -1 +0,0 @@
1
- true
@@ -1 +0,0 @@
1
- fmFsBRd0haxdPyYDNZkgDHojaZ3MgWg5DFZKrzJtQCVdehpX
@@ -1,58 +0,0 @@
1
- -----BEGIN PGP PRIVATE KEY BLOCK-----
2
-
3
- lQOYBF5iajgBCADpMbSEz+Fl4HgUxXQLTuIi01QMf/dkwVDuwNrPdVtkKKi27RS5
4
- OOiJYYzHkSqJwdbrMf1R/Uj1S4D4zP9BPc9VmKm1tPRnk4rrhpJPE9jR9X/6RTw3
5
- ilIqelK84WfR74yAbaQYtEF3YEOhWSCvwsf3jQuE8LBMGh+Zf8DlYeH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l0scODDZ70Ziok0QB9Iac4/dSBlcWcLi
49
- NwffwlApV6HNSZRlGkT3u+xTrEIeLv1BMVnaYGE5c5kD1ShRCRDiVyiH/krrftzh
50
- xJPOWfZDN+KNaGh5mxc81ptJzh7RMa43phNOi1Dz4QMxbMgt9DPqNuTvQbk=
51
- -----END RSA PRIVATE KEY-----
@@ -1 +0,0 @@
1
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC2CfgUJz6kTPnal9BPjnBT0w5MXSQmqnd34P3CQgUfSm1huB0980ZCbccSsfTS4NBg6WCLFiqLGGr8dMt/Mw5I6Kgi+ijnnWQ8ZU/MsFOcr5DgKkEQkaqCyQbSCg9yeLFd5OmDzNH3fPCjdjBoOgh2K1uUOpC3oYdyhc5xDTK0g4ufzjfkH/mmdrXCvdytIdPMdFJJSkD8v4YeEcJ4UAKYnErl81c4SeAUrJrZPhTrNTBOmGknggJz2szmsw6tJW8zsnIM9MtCVLoxqEENQT6wanEUtkNwo05OSrfMHSTbiIUQwj+30seyvDbrT8y+nXBY3MVT4X2iBFUrFEHwNR5+kCxyHN5MNVKpftWSaRUYv4pCXXLbfV71ZgDETqUZTmTAJVlK22uYX6KxPqenK8/YRBbn21I0x7tPIoGbU6KihjQVEddBB4pIgUOzc3eLYmD0sEoBQBlXBxhL4SPhHuq+EEFOonCUqK66PdJdM91FG3afmOb8o+jCF0nL0Xpcbuv2dsztqeXHFwMu2abVYpwRsn1xAriR0vEBMtPQzPZ9vwJf0CuAt6DuWEZLsXeU/FVC53mcGcwjevcVmvCg2uC0lgXHsJjW+0oCNRIPOntsrjipWniSH2lWwEkrITOo9F2oSFDuMU9XAwNd/d5SXovJKO+vEQy5W9k6cKoivtMiIQ== 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 > /dev/null
41
- fi
42
-
43
- echo "Installing ruby dependencies."
44
- if [[ "$verbose" = "yes" ]]; then
45
- bundle install
46
- else
47
- bundle install > /dev/null
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,36 +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 'ruby_easy_rsa/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'ruby_easy_rsa'
8
- spec.version = RubyEasyRSA::VERSION
9
- spec.authors = ['Toby Clemson']
10
- spec.email = ['tobyclemson@gmail.com']
11
-
12
- spec.summary = 'A simple Ruby wrapper for invoking EasyRSA commands.'
13
- spec.description = 'Wraps the EasyRSA scripts so that they can be ' +
14
- 'invoked from a Ruby script or Rakefile.'
15
- spec.homepage = 'https://github.com/infrablocks/ruby_easy_rsa'
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 'lino', '>= 1.5'
28
-
29
- spec.add_development_dependency 'bundler', '~> 2.1'
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.3'
33
- spec.add_development_dependency 'rake_ssh', '~> 0.2'
34
- spec.add_development_dependency 'rspec', '~> 3.9'
35
- spec.add_development_dependency 'gem-release', '~> 2.0'
36
- 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