groundskeeper-bitcore 0.2.5 → 0.2.6
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/.ruby-version +1 -1
- data/README.md +11 -4
- data/config/deploy.rb +2 -1
- data/config/predeploy.rb +9 -0
- data/lib/groundskeeper/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 31ecdaca3beee2fbae8a7ce1b795d020956a7e5f
|
|
4
|
+
data.tar.gz: 8bb34d5662c3f9f286491fae97c7ebd4bb6f2423
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 384a579bbbc20e4d86ddb17ba6c66635abb0b65601a64da46cc80ee021ca3a1c542f5b9b83ad96a21e90c144602b479a1c66692f94718b7dc2777c484cf80e9d
|
|
7
|
+
data.tar.gz: b5f9b9c91fa7fa70226008cb934119562d8c79462239c4a6889112324c55fa7b80011a8528e427a86a959e7fa0271b2ec05231cdbd49f77073a16c301ba2c9c8
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.4.
|
|
1
|
+
2.4.1
|
data/README.md
CHANGED
|
@@ -8,12 +8,9 @@ deploying Rails applications.
|
|
|
8
8
|
Install this gem globally via:
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
gem install groundskeeper-bitcore
|
|
11
|
+
gem install groundskeeper-bitcore
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
The HighSecurity trust profile will verify signed gems and require that all
|
|
15
|
-
dependencies are signed.
|
|
16
|
-
|
|
17
14
|
Note: if you have multiple versions of Ruby installed (via RVM e.g.), you will
|
|
18
15
|
need to install this gem for each of them.
|
|
19
16
|
|
|
@@ -26,6 +23,12 @@ export JIRA_PASSWORD="my-password"
|
|
|
26
23
|
export JIRA_SITE="https://cbit123.atlassian.net"
|
|
27
24
|
```
|
|
28
25
|
|
|
26
|
+
Additionally, you need to add a GitHub API Token with `repo` scope to your `bash_profile`. You can create one [here](https://github.com/settings/tokens) if you don't have one already.
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
export GITHUB_API_TOKEN="my-github-api-token"
|
|
30
|
+
```
|
|
31
|
+
|
|
29
32
|
Jira integration also depends on a repository that contains metadata for
|
|
30
33
|
projects. Clone it as follows:
|
|
31
34
|
|
|
@@ -91,3 +94,7 @@ The gem is available as open source under the terms of the
|
|
|
91
94
|
Everyone interacting in the Groundskeeper project’s codebases, issue trackers,
|
|
92
95
|
chat rooms and mailing lists is expected to follow the
|
|
93
96
|
[code of conduct](https://github.com/NU-CBITS/groundskeeper/blob/master/CODE_OF_CONDUCT.md).
|
|
97
|
+
|
|
98
|
+
## Troubleshooting
|
|
99
|
+
|
|
100
|
+
If ssh connection to github requires a passphrase, this will cause issues with deployment. Add `ssh-add -K ~/.ssh/id_rsa` to the `~/.bash_profile` to solve.
|
data/config/deploy.rb
CHANGED
data/config/predeploy.rb
CHANGED
|
@@ -32,6 +32,10 @@ def remote_shared_path(path)
|
|
|
32
32
|
"#{fetch(:user)}@#{fetch(:domain)}:#{fetch(:shared_path)}/#{path}"
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
def active_storage_dir
|
|
36
|
+
"#{fetch :deploy_to}/shared/storage"
|
|
37
|
+
end
|
|
38
|
+
|
|
35
39
|
# rubocop:disable Metrics/BlockLength
|
|
36
40
|
namespace :deploy_configure do
|
|
37
41
|
desc "Create database and secrets"
|
|
@@ -66,6 +70,11 @@ namespace :deploy_configure do
|
|
|
66
70
|
run :remote do
|
|
67
71
|
command "echo \"#{rails_config}\" > #{rails_config_file}"
|
|
68
72
|
end
|
|
73
|
+
|
|
74
|
+
comment "Creating storage directory #{active_storage_dir}"
|
|
75
|
+
run :remote do
|
|
76
|
+
command "mkdir -p #{active_storage_dir}"
|
|
77
|
+
end
|
|
69
78
|
end
|
|
70
79
|
|
|
71
80
|
desc "Copy secrets,"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: groundskeeper-bitcore
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- BIT Core
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain:
|
|
11
11
|
- certs/ericcf.pem
|
|
12
|
-
date: 2018-
|
|
12
|
+
date: 2018-08-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: jira-ruby
|
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
192
192
|
version: '0'
|
|
193
193
|
requirements: []
|
|
194
194
|
rubyforge_project:
|
|
195
|
-
rubygems_version: 2.6.
|
|
195
|
+
rubygems_version: 2.6.14
|
|
196
196
|
signing_key:
|
|
197
197
|
specification_version: 4
|
|
198
198
|
summary: A gem for managing releases and deployments.
|