groundskeeper-bitcore 0.2.5 → 0.2.6

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
  SHA1:
3
- metadata.gz: 3cd60d038a36f7efabe506237fa5f5ac4e772a3c
4
- data.tar.gz: 37ed0becd17c123e8a095a0825824e6bc122a9de
3
+ metadata.gz: 31ecdaca3beee2fbae8a7ce1b795d020956a7e5f
4
+ data.tar.gz: 8bb34d5662c3f9f286491fae97c7ebd4bb6f2423
5
5
  SHA512:
6
- metadata.gz: 3060d2836fe43ed2c9a98f4f1340eec3b283ae782428be4895a95ada727d12c143297d196f5d46793237e9cd355f2fe0e484ccd5e4e68ccc536571590d8943cb
7
- data.tar.gz: a8d7a3b89871739d189862e6b229af4ea713e66fa5dbccf66b0a1dbcebbde540a5563acaa3ade78c56d4e9757ce91310d728fb6b9577d2c7205dab3e7f7f88ca
6
+ metadata.gz: 384a579bbbc20e4d86ddb17ba6c66635abb0b65601a64da46cc80ee021ca3a1c542f5b9b83ad96a21e90c144602b479a1c66692f94718b7dc2777c484cf80e9d
7
+ data.tar.gz: b5f9b9c91fa7fa70226008cb934119562d8c79462239c4a6889112324c55fa7b80011a8528e427a86a959e7fa0271b2ec05231cdbd49f77073a16c301ba2c9c8
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.4.0
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 -P HighSecurity
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
@@ -41,7 +41,8 @@ set :shared_dirs, fetch(:shared_dirs, []).push(
41
41
  "tmp/cache",
42
42
  "tmp/sockets",
43
43
  "bundle",
44
- "public/system"
44
+ "public/system",
45
+ "storage"
45
46
  )
46
47
 
47
48
  set :shared_files, fetch(:shared_files, []).push(
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,"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Groundskeeper
4
- VERSION = "0.2.5"
4
+ VERSION = "0.2.6"
5
5
  end
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.5
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-04-18 00:00:00.000000000 Z
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.8
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.