rake_github 0.6.0.pre.1 → 0.8.0.pre.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/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile.lock +59 -33
- data/Rakefile +31 -5
- data/lib/rake_github/tasks.rb +1 -0
- data/lib/rake_github/tasks/deploy_keys/destroy.rb +2 -2
- data/lib/rake_github/tasks/deploy_keys/ensure.rb +2 -2
- data/lib/rake_github/tasks/deploy_keys/provision.rb +2 -2
- data/lib/rake_github/tasks/releases.rb +1 -0
- data/lib/rake_github/tasks/releases/create.rb +59 -0
- data/lib/rake_github/version.rb +1 -1
- metadata +27 -38
- data/.circleci/config.yml +0 -56
- data/.circleci/gpg.private.enc +0 -0
- data/.envrc +0 -5
- data/.git-crypt/.gitattributes +0 -4
- data/.git-crypt/keys/default/0/41D2606F66C3FF28874362B61A16916844CE9D82.gpg +0 -0
- data/.git-crypt/keys/default/0/AAE932B730C2BA697FFDFAE05DA390873E38358B.gpg +0 -0
- data/.gitattributes +0 -1
- data/.gitignore +0 -33
- data/.rspec +0 -2
- data/.ruby-version +0 -1
- data/config/secrets/.unlocked +0 -1
- data/config/secrets/ci/encryption.passphrase +0 -1
- data/config/secrets/ci/gpg.private +0 -58
- data/config/secrets/ci/gpg.public +0 -31
- data/config/secrets/ci/ssh.private +0 -51
- data/config/secrets/ci/ssh.public +0 -1
- data/config/secrets/circle_ci/config.yaml +0 -2
- data/config/secrets/github/config.yaml +0 -2
- data/config/secrets/rubygems/credentials +0 -2
- data/go +0 -56
- data/rake_github.gemspec +0 -41
- data/scripts/ci/common/configure-git.sh +0 -8
- data/scripts/ci/common/configure-rubygems.sh +0 -16
- data/scripts/ci/common/install-git-crypt.sh +0 -8
- data/scripts/ci/common/install-gpg-key.sh +0 -19
- data/scripts/ci/steps/prerelease.sh +0 -16
- data/scripts/ci/steps/release.sh +0 -18
- data/scripts/ci/steps/test.sh +0 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e220fd6e42edbeddaace2b3d15f6cff7a97ee0563cb3180702842d3b4bebe5ba
|
|
4
|
+
data.tar.gz: 8d5c4e5924d9e49b04160abd9783e0c0ac10cddea028e00f733faa371751028f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f73fd1a1812a80d7fba7b29159ab4c864c528472548e20765284466a158a90ab94b6df7c8b932c5cc99dfc31dfeb8b5f12677e53b56783bf3d65400e2197dda
|
|
7
|
+
data.tar.gz: 7db09491c8ef39dbb6c44c395846c8bc8112230d4f85955a9d71af5298c47b8ee5390fb2d95f737469b1f26334876f59706a092c9d196a027d8e2d6d17efaff3
|
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
|
10
|
+
orientation.
|
|
11
|
+
|
|
12
|
+
## Our Standards
|
|
13
|
+
|
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
|
15
|
+
include:
|
|
16
|
+
|
|
17
|
+
* Using welcoming and inclusive language
|
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
|
19
|
+
* Gracefully accepting constructive criticism
|
|
20
|
+
* Focusing on what is best for the community
|
|
21
|
+
* Showing empathy towards other community members
|
|
22
|
+
|
|
23
|
+
Examples of unacceptable behavior by participants include:
|
|
24
|
+
|
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
+
advances
|
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
+
* Public or private harassment
|
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
|
30
|
+
address, without explicit permission
|
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
+
professional setting
|
|
33
|
+
|
|
34
|
+
## Our Responsibilities
|
|
35
|
+
|
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
+
response to any instances of unacceptable behavior.
|
|
39
|
+
|
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
+
threatening, offensive, or harmful.
|
|
45
|
+
|
|
46
|
+
## Scope
|
|
47
|
+
|
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
+
when an individual is representing the project or its community. Examples of
|
|
50
|
+
representing a project or community include using an official project e-mail
|
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
|
53
|
+
further defined and clarified by project maintainers.
|
|
54
|
+
|
|
55
|
+
## Enforcement
|
|
56
|
+
|
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
+
reported by contacting the project team at maintainers@infrablocks.io. All
|
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
|
63
|
+
|
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
|
66
|
+
members of the project's leadership.
|
|
67
|
+
|
|
68
|
+
## Attribution
|
|
69
|
+
|
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
|
72
|
+
|
|
73
|
+
[homepage]: http://contributor-covenant.org
|
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rake_github (0.
|
|
4
|
+
rake_github (0.8.0.pre.2)
|
|
5
5
|
colored2 (~> 3.1)
|
|
6
6
|
octokit (~> 4.16)
|
|
7
7
|
rake_factory (~> 0.23)
|
|
@@ -10,7 +10,7 @@ PATH
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
activesupport (5.2.
|
|
13
|
+
activesupport (5.2.6)
|
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
15
15
|
i18n (>= 0.7, < 2)
|
|
16
16
|
minitest (~> 5.1)
|
|
@@ -18,58 +18,83 @@ GEM
|
|
|
18
18
|
addressable (2.7.0)
|
|
19
19
|
public_suffix (>= 2.0.2, < 5.0)
|
|
20
20
|
colored2 (3.1.2)
|
|
21
|
-
concurrent-ruby (1.1.
|
|
22
|
-
diff-lcs (1.
|
|
23
|
-
docile (1.
|
|
24
|
-
excon (0.
|
|
25
|
-
faraday (1.
|
|
21
|
+
concurrent-ruby (1.1.8)
|
|
22
|
+
diff-lcs (1.4.4)
|
|
23
|
+
docile (1.4.0)
|
|
24
|
+
excon (0.82.0)
|
|
25
|
+
faraday (1.4.2)
|
|
26
|
+
faraday-em_http (~> 1.0)
|
|
27
|
+
faraday-em_synchrony (~> 1.0)
|
|
28
|
+
faraday-excon (~> 1.1)
|
|
29
|
+
faraday-net_http (~> 1.0)
|
|
30
|
+
faraday-net_http_persistent (~> 1.1)
|
|
26
31
|
multipart-post (>= 1.2, < 3)
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
ruby2_keywords (>= 0.0.4)
|
|
33
|
+
faraday-em_http (1.0.0)
|
|
34
|
+
faraday-em_synchrony (1.0.0)
|
|
35
|
+
faraday-excon (1.1.0)
|
|
36
|
+
faraday-net_http (1.0.1)
|
|
37
|
+
faraday-net_http_persistent (1.1.0)
|
|
38
|
+
gem-release (2.2.1)
|
|
39
|
+
hamster (3.0.0)
|
|
29
40
|
concurrent-ruby (~> 1.0)
|
|
41
|
+
i18n (1.8.10)
|
|
42
|
+
concurrent-ruby (~> 1.0)
|
|
43
|
+
lino (3.0.0)
|
|
44
|
+
hamster (~> 3.0)
|
|
45
|
+
open4 (~> 1.3)
|
|
30
46
|
memfs (1.0.0)
|
|
31
|
-
minitest (5.14.
|
|
47
|
+
minitest (5.14.4)
|
|
32
48
|
multipart-post (2.1.1)
|
|
33
|
-
octokit (4.
|
|
49
|
+
octokit (4.21.0)
|
|
34
50
|
faraday (>= 0.9)
|
|
35
51
|
sawyer (~> 0.8.0, >= 0.5.3)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
52
|
+
open4 (1.3.4)
|
|
53
|
+
public_suffix (4.0.6)
|
|
54
|
+
rake (13.0.3)
|
|
55
|
+
rake_circle_ci (0.9.0)
|
|
39
56
|
colored2 (~> 3.1)
|
|
40
57
|
excon (~> 0.72)
|
|
41
58
|
rake_factory (~> 0.23)
|
|
42
59
|
sshkey (~> 2.0)
|
|
43
|
-
rake_factory (0.
|
|
60
|
+
rake_factory (0.29.0)
|
|
44
61
|
activesupport (>= 4)
|
|
45
62
|
rake (~> 13.0)
|
|
46
|
-
|
|
63
|
+
rake_gpg (0.16.0)
|
|
64
|
+
rake_factory (>= 0.23, < 1)
|
|
65
|
+
ruby_gpg2 (>= 0.6, < 1)
|
|
66
|
+
rake_ssh (0.6.0)
|
|
47
67
|
colored2 (~> 3.1)
|
|
48
68
|
rake_factory (~> 0.23)
|
|
49
69
|
sshkey (~> 2.0)
|
|
50
|
-
rspec (3.
|
|
51
|
-
rspec-core (~> 3.
|
|
52
|
-
rspec-expectations (~> 3.
|
|
53
|
-
rspec-mocks (~> 3.
|
|
54
|
-
rspec-core (3.
|
|
55
|
-
rspec-support (~> 3.
|
|
56
|
-
rspec-expectations (3.
|
|
70
|
+
rspec (3.10.0)
|
|
71
|
+
rspec-core (~> 3.10.0)
|
|
72
|
+
rspec-expectations (~> 3.10.0)
|
|
73
|
+
rspec-mocks (~> 3.10.0)
|
|
74
|
+
rspec-core (3.10.1)
|
|
75
|
+
rspec-support (~> 3.10.0)
|
|
76
|
+
rspec-expectations (3.10.1)
|
|
57
77
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
58
|
-
rspec-support (~> 3.
|
|
59
|
-
rspec-mocks (3.
|
|
78
|
+
rspec-support (~> 3.10.0)
|
|
79
|
+
rspec-mocks (3.10.2)
|
|
60
80
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
61
|
-
rspec-support (~> 3.
|
|
62
|
-
rspec-support (3.
|
|
81
|
+
rspec-support (~> 3.10.0)
|
|
82
|
+
rspec-support (3.10.2)
|
|
83
|
+
ruby2_keywords (0.0.4)
|
|
84
|
+
ruby_gpg2 (0.8.0)
|
|
85
|
+
lino (>= 1.5)
|
|
63
86
|
sawyer (0.8.2)
|
|
64
87
|
addressable (>= 2.3.5)
|
|
65
88
|
faraday (> 0.8, < 2.0)
|
|
66
|
-
simplecov (0.
|
|
89
|
+
simplecov (0.21.2)
|
|
67
90
|
docile (~> 1.1)
|
|
68
91
|
simplecov-html (~> 0.11)
|
|
69
|
-
|
|
92
|
+
simplecov_json_formatter (~> 0.1)
|
|
93
|
+
simplecov-html (0.12.3)
|
|
94
|
+
simplecov_json_formatter (0.1.3)
|
|
70
95
|
sshkey (2.0.0)
|
|
71
96
|
thread_safe (0.3.6)
|
|
72
|
-
tzinfo (1.2.
|
|
97
|
+
tzinfo (1.2.9)
|
|
73
98
|
thread_safe (~> 0.1)
|
|
74
99
|
|
|
75
100
|
PLATFORMS
|
|
@@ -81,11 +106,12 @@ DEPENDENCIES
|
|
|
81
106
|
gem-release (~> 2.0)
|
|
82
107
|
memfs (~> 1.0)
|
|
83
108
|
rake (~> 13.0)
|
|
84
|
-
rake_circle_ci (~> 0.
|
|
109
|
+
rake_circle_ci (~> 0.9)
|
|
85
110
|
rake_github!
|
|
86
|
-
|
|
111
|
+
rake_gpg (~> 0.12)
|
|
112
|
+
rake_ssh (~> 0.4)
|
|
87
113
|
rspec (~> 3.9)
|
|
88
114
|
simplecov (~> 0.16)
|
|
89
115
|
|
|
90
116
|
BUNDLED WITH
|
|
91
|
-
2.
|
|
117
|
+
2.2.25
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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_github 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",
|
|
@@ -53,7 +77,9 @@ end
|
|
|
53
77
|
|
|
54
78
|
namespace :pipeline do
|
|
55
79
|
task :prepare => [
|
|
80
|
+
:'circle_ci:project:follow',
|
|
56
81
|
:'circle_ci:env_vars:ensure',
|
|
82
|
+
:'circle_ci:checkout_keys:ensure',
|
|
57
83
|
:'circle_ci:ssh_keys:ensure',
|
|
58
84
|
:'github:deploy_keys:ensure'
|
|
59
85
|
]
|
data/lib/rake_github/tasks.rb
CHANGED
|
@@ -6,9 +6,9 @@ module RakeGithub
|
|
|
6
6
|
module DeployKeys
|
|
7
7
|
class Destroy < RakeFactory::Task
|
|
8
8
|
default_name :destroy
|
|
9
|
-
default_description
|
|
9
|
+
default_description(RakeFactory::DynamicValue.new { |t|
|
|
10
10
|
"Destroys deploy keys from the #{t.repository} repository"
|
|
11
|
-
}
|
|
11
|
+
})
|
|
12
12
|
|
|
13
13
|
parameter :repository, required: true
|
|
14
14
|
parameter :access_token, required: true
|
|
@@ -5,10 +5,10 @@ module RakeGithub
|
|
|
5
5
|
module DeployKeys
|
|
6
6
|
class Ensure < RakeFactory::Task
|
|
7
7
|
default_name :ensure
|
|
8
|
-
default_description
|
|
8
|
+
default_description(RakeFactory::DynamicValue.new { |t|
|
|
9
9
|
"Ensure deploy keys are configured on the " +
|
|
10
10
|
"#{t.repository} repository"
|
|
11
|
-
}
|
|
11
|
+
})
|
|
12
12
|
|
|
13
13
|
parameter :repository, required: true
|
|
14
14
|
|
|
@@ -6,9 +6,9 @@ module RakeGithub
|
|
|
6
6
|
module DeployKeys
|
|
7
7
|
class Provision < RakeFactory::Task
|
|
8
8
|
default_name :provision
|
|
9
|
-
default_description
|
|
9
|
+
default_description(RakeFactory::DynamicValue.new { |t|
|
|
10
10
|
"Provision deploy keys to the #{t.repository} repository"
|
|
11
|
-
}
|
|
11
|
+
})
|
|
12
12
|
|
|
13
13
|
parameter :repository, required: true
|
|
14
14
|
parameter :access_token, required: true
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require_relative 'releases/create'
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'rake_factory'
|
|
4
|
+
require 'octokit'
|
|
5
|
+
|
|
6
|
+
module RakeGithub
|
|
7
|
+
module Tasks
|
|
8
|
+
module Releases
|
|
9
|
+
class Create < RakeFactory::Task
|
|
10
|
+
default_description(RakeFactory::DynamicValue.new do |t|
|
|
11
|
+
"Creates a release on the #{t.repository} repository"
|
|
12
|
+
end)
|
|
13
|
+
|
|
14
|
+
parameter :repository, required: true
|
|
15
|
+
parameter :access_token, required: true
|
|
16
|
+
parameter :tag_name, required: true
|
|
17
|
+
parameter :target_commitish
|
|
18
|
+
parameter :release_name
|
|
19
|
+
parameter :body
|
|
20
|
+
parameter :draft, default: false
|
|
21
|
+
parameter :prerelease, default: false
|
|
22
|
+
parameter :discussion_category_name
|
|
23
|
+
parameter :assets, default: []
|
|
24
|
+
|
|
25
|
+
action do |t|
|
|
26
|
+
client = Octokit::Client.new(access_token: access_token)
|
|
27
|
+
|
|
28
|
+
puts 'Creating release' \
|
|
29
|
+
"#{t.release_name ? " '#{t.release_name}'" : ''} " \
|
|
30
|
+
"with tag '#{t.tag_name}' " \
|
|
31
|
+
"on '#{t.repository}' repository..."
|
|
32
|
+
release = client.create_release(
|
|
33
|
+
t.repository,
|
|
34
|
+
t.tag_name,
|
|
35
|
+
target_commitish: t.target_commitish,
|
|
36
|
+
release_name: t.release_name,
|
|
37
|
+
body: t.body,
|
|
38
|
+
draft: t.draft,
|
|
39
|
+
prerelease: t.prerelease,
|
|
40
|
+
discussion_category_name: t.discussion_category_name)
|
|
41
|
+
|
|
42
|
+
t.assets.each do |asset|
|
|
43
|
+
if asset.is_a?(String)
|
|
44
|
+
puts "Uploading asset '#{asset}' to release with tag '#{t.tag_name}'..."
|
|
45
|
+
client.upload_asset(release.url, asset)
|
|
46
|
+
else
|
|
47
|
+
puts(
|
|
48
|
+
"Uploading asset '#{asset[:path]}'" +
|
|
49
|
+
"#{asset[:name] ? " with name '#{asset[:name]}'" : ''} " +
|
|
50
|
+
"to release with tag '#{t.tag_name}'...")
|
|
51
|
+
client.upload_asset(
|
|
52
|
+
release.url, asset[:path], { name: asset[:name] })
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
data/lib/rake_github/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rake_github
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0.pre.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- InfraBlocks Maintainers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-08-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake_factory
|
|
@@ -100,42 +100,56 @@ dependencies:
|
|
|
100
100
|
requirements:
|
|
101
101
|
- - "~>"
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: '0.
|
|
103
|
+
version: '0.9'
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
108
|
- - "~>"
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: '0.
|
|
110
|
+
version: '0.9'
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
112
|
name: rake_github
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
|
115
115
|
- - "~>"
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: '0.
|
|
117
|
+
version: '0.5'
|
|
118
118
|
type: :development
|
|
119
119
|
prerelease: false
|
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
|
122
122
|
- - "~>"
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: '0.
|
|
124
|
+
version: '0.5'
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
126
|
name: rake_ssh
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
|
129
129
|
- - "~>"
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: '0.
|
|
131
|
+
version: '0.4'
|
|
132
132
|
type: :development
|
|
133
133
|
prerelease: false
|
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
135
|
requirements:
|
|
136
136
|
- - "~>"
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: '0.
|
|
138
|
+
version: '0.4'
|
|
139
|
+
- !ruby/object:Gem::Dependency
|
|
140
|
+
name: rake_gpg
|
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
|
142
|
+
requirements:
|
|
143
|
+
- - "~>"
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: '0.12'
|
|
146
|
+
type: :development
|
|
147
|
+
prerelease: false
|
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
+
requirements:
|
|
150
|
+
- - "~>"
|
|
151
|
+
- !ruby/object:Gem::Version
|
|
152
|
+
version: '0.12'
|
|
139
153
|
- !ruby/object:Gem::Dependency
|
|
140
154
|
name: rspec
|
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -208,21 +222,12 @@ dependencies:
|
|
|
208
222
|
version: '0.16'
|
|
209
223
|
description: Allows managing repository deploy keys.
|
|
210
224
|
email:
|
|
211
|
-
-
|
|
225
|
+
- maintainers@infrablocks.io
|
|
212
226
|
executables: []
|
|
213
227
|
extensions: []
|
|
214
228
|
extra_rdoc_files: []
|
|
215
229
|
files:
|
|
216
|
-
-
|
|
217
|
-
- ".circleci/gpg.private.enc"
|
|
218
|
-
- ".envrc"
|
|
219
|
-
- ".git-crypt/.gitattributes"
|
|
220
|
-
- ".git-crypt/keys/default/0/41D2606F66C3FF28874362B61A16916844CE9D82.gpg"
|
|
221
|
-
- ".git-crypt/keys/default/0/AAE932B730C2BA697FFDFAE05DA390873E38358B.gpg"
|
|
222
|
-
- ".gitattributes"
|
|
223
|
-
- ".gitignore"
|
|
224
|
-
- ".rspec"
|
|
225
|
-
- ".ruby-version"
|
|
230
|
+
- CODE_OF_CONDUCT.md
|
|
226
231
|
- Gemfile
|
|
227
232
|
- Gemfile.lock
|
|
228
233
|
- LICENSE.txt
|
|
@@ -230,16 +235,6 @@ files:
|
|
|
230
235
|
- Rakefile
|
|
231
236
|
- bin/console
|
|
232
237
|
- bin/setup
|
|
233
|
-
- config/secrets/.unlocked
|
|
234
|
-
- config/secrets/ci/encryption.passphrase
|
|
235
|
-
- config/secrets/ci/gpg.private
|
|
236
|
-
- config/secrets/ci/gpg.public
|
|
237
|
-
- config/secrets/ci/ssh.private
|
|
238
|
-
- config/secrets/ci/ssh.public
|
|
239
|
-
- config/secrets/circle_ci/config.yaml
|
|
240
|
-
- config/secrets/github/config.yaml
|
|
241
|
-
- config/secrets/rubygems/credentials
|
|
242
|
-
- go
|
|
243
238
|
- lib/rake_github.rb
|
|
244
239
|
- lib/rake_github/task_sets.rb
|
|
245
240
|
- lib/rake_github/task_sets/deploy_keys.rb
|
|
@@ -249,15 +244,9 @@ files:
|
|
|
249
244
|
- lib/rake_github/tasks/deploy_keys/destroy.rb
|
|
250
245
|
- lib/rake_github/tasks/deploy_keys/ensure.rb
|
|
251
246
|
- lib/rake_github/tasks/deploy_keys/provision.rb
|
|
247
|
+
- lib/rake_github/tasks/releases.rb
|
|
248
|
+
- lib/rake_github/tasks/releases/create.rb
|
|
252
249
|
- lib/rake_github/version.rb
|
|
253
|
-
- rake_github.gemspec
|
|
254
|
-
- scripts/ci/common/configure-git.sh
|
|
255
|
-
- scripts/ci/common/configure-rubygems.sh
|
|
256
|
-
- scripts/ci/common/install-git-crypt.sh
|
|
257
|
-
- scripts/ci/common/install-gpg-key.sh
|
|
258
|
-
- scripts/ci/steps/prerelease.sh
|
|
259
|
-
- scripts/ci/steps/release.sh
|
|
260
|
-
- scripts/ci/steps/test.sh
|
|
261
250
|
homepage: https://github.com/infrablocks/rake_github
|
|
262
251
|
licenses:
|
|
263
252
|
- MIT
|
data/.circleci/config.yml
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
version: 2.1
|
|
2
|
-
jobs:
|
|
3
|
-
test:
|
|
4
|
-
working_directory: ~/rake-github
|
|
5
|
-
docker:
|
|
6
|
-
- image: ruby:2.6.0
|
|
7
|
-
steps:
|
|
8
|
-
- checkout
|
|
9
|
-
- run: ./scripts/ci/steps/test.sh
|
|
10
|
-
prerelease:
|
|
11
|
-
working_directory: ~/rake-github
|
|
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: ~/rake-github
|
|
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
|
data/.circleci/gpg.private.enc
DELETED
|
Binary file
|
data/.envrc
DELETED
data/.git-crypt/.gitattributes
DELETED
|
Binary file
|
|
Binary file
|
data/.gitattributes
DELETED
|
@@ -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
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.6.0
|
data/config/secrets/.unlocked
DELETED
|
@@ -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+Zf8DlYeH5wBvIIF5x
|
|
6
|
-
y0GDktvq5+dr/szqi8rMCz3MdiouUDby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RHpdhy6yJjPB7ebXf0aHOfVqczbydWMcATwt+
|
|
51
|
-
-----END RSA PRIVATE KEY-----
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDODY1Bw/oaCXQIcwkjRlL5cqN2hH8YEqRxebJ0adtD7mHX9knVW/FXYROuT5f2p7/omVU2qHsbf9HLXDoXGX2Z9qOfPY17id88lDrZCFDNcBZZ0O6Nrz+3pPci6/vHi1KIl2V7hcQYxn+CDgOy5gXjJMY6AC0UvB6dDgeSwvHgvtwkZ8ypox2hZWWotuo6iqhGenfoLJlQbqpk8occEQnzm1mquj/5Vw2AydBFYb9ZEHS6C6gGzGIf/4GPm9rx5MX7iF2rJtN/9hEwQ9RAOY5uyAJDe3D0GrmvFG7yhaxqKAKUUIx/EZH2Z4UfEJ5kNBAUB9YldGXHrRKXJANAwwBmwnsnFtTzfAo4wV6LzmPnrQFkl7gukqOkwJgVbkuY1cJDeMzfq5HgaNkvSa0EnipW5TPV82BMO8Q5sM5GsBLah3MzYenFaVVnvWM6vhFrphEkkltFb228uRY4AR6qI+t02524aHzKvgeSreamMBmE8XKmjFq1SE04LF/52RpK9SbEC9VktsCJ3cvSca4w0e5HlN/eWhDpEnY0vdz64NcU6JgHcMW9ebkTEkS6+S1B1oxHeDFpwBTWqucTH5ES+5ayZozs2br9t1raAYDQS8ffeHyihuz91yeCa3x3NBDvStLlvZDWQWUWQXLmidGRV5yoNP86guq06r9RvkPfYsY7dw== maintainers@infrablocks.io
|
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
|
data/rake_github.gemspec
DELETED
|
@@ -1,41 +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_github/version'
|
|
5
|
-
|
|
6
|
-
Gem::Specification.new do |spec|
|
|
7
|
-
spec.name = 'rake_github'
|
|
8
|
-
spec.version = RakeGithub::VERSION
|
|
9
|
-
spec.authors = ['Toby Clemson']
|
|
10
|
-
spec.email = ['tobyclemson@gmail.com']
|
|
11
|
-
|
|
12
|
-
spec.summary = 'Rake tasks for managing Github repositories.'
|
|
13
|
-
spec.description = 'Allows managing repository deploy keys.'
|
|
14
|
-
spec.homepage = "https://github.com/infrablocks/rake_github"
|
|
15
|
-
spec.license = 'MIT'
|
|
16
|
-
|
|
17
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
18
|
-
f.match(%r{^(test|spec|features)/})
|
|
19
|
-
end
|
|
20
|
-
spec.bindir = 'exe'
|
|
21
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
22
|
-
spec.require_paths = ['lib']
|
|
23
|
-
|
|
24
|
-
spec.required_ruby_version = '>= 2.6'
|
|
25
|
-
|
|
26
|
-
spec.add_dependency 'rake_factory', '~> 0.23'
|
|
27
|
-
spec.add_dependency 'sshkey', '~> 2.0'
|
|
28
|
-
spec.add_dependency 'octokit', '~> 4.16'
|
|
29
|
-
spec.add_dependency 'colored2', '~> 3.1'
|
|
30
|
-
|
|
31
|
-
spec.add_development_dependency 'bundler', '~> 2.0'
|
|
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'
|
|
36
|
-
spec.add_development_dependency 'rspec', '~> 3.9'
|
|
37
|
-
spec.add_development_dependency 'gem-release', '~> 2.0'
|
|
38
|
-
spec.add_development_dependency 'activesupport', '~> 5.2'
|
|
39
|
-
spec.add_development_dependency 'memfs', '~> 1.0'
|
|
40
|
-
spec.add_development_dependency 'simplecov', '~> 0.16'
|
|
41
|
-
end
|
|
@@ -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,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
|
data/scripts/ci/steps/release.sh
DELETED
|
@@ -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
|
data/scripts/ci/steps/test.sh
DELETED