taperole 2.1.0 → 2.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5d7c99c8d3261b7fd7a4a595d1551d7daa6924a
4
- data.tar.gz: 0476cbf2bc8f9317629a1acd82fab0d4e03bee7f
3
+ metadata.gz: 160d80e50cb582fdcabe09188f90cfc2f8531cc6
4
+ data.tar.gz: 8facf84f4b6dd0157189855d6d48543085f9e22c
5
5
  SHA512:
6
- metadata.gz: 82bf6a576ef91129a8433f3567dd7dfe6d690ba5eb96f2afe357b9d5352a6e9ce5b42989bd3382d3952980d1a671282d485411e8587ed70ec49707e3ab6b6749
7
- data.tar.gz: f23922c737719931053afb7d2487264013838a397db493b0016b1528a0351b0eeb9c1c205bde26aabaf313051bde30b7d7161a5d7762a9e09fc18e462ff81a1d
6
+ metadata.gz: ff22fbec327fcc773cc0d405edc14c44c6615bf6ec674904edd19098c5b75f0b9f030a35b37dc42f3457ccf891d37cd74d6bd2d1cceec909b5061088962a9c42
7
+ data.tar.gz: 8377c54cb42d9c5a4febf7cb937184a06511142623cd8fb7d30dbdd7e31b6e09f0c14ed110a01fdde82480d9ed4a7283f4690b92237181ed5847b31782e567cd
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ### 2.1.0
2
+ * Added logrotate
3
+ * Renamed and revised some role names
4
+ * Removed support for bower
5
+ * Added support for yarn
6
+ * Configure server to automatically clean up unattended upgrade dependency files
7
+ * Fix a bug with the cron job generated by the whenever role
8
+ * Default to 8.x node version
9
+
1
10
  ### 2.0.7
2
11
  * Cleanup to the puma configs installed on a server
3
12
  * omnibox.yml is now provision.yml
@@ -98,4 +107,4 @@
98
107
 
99
108
  ### 1.2.3
100
109
  * Fixed issue where users who were using vagrant could not ssh into the deployer user
101
- * Fixed issue where vagrant boxes init script was failing because .ssh dir already existed
110
+ * Fixed issue where vagrant boxes init script was failing because .ssh dir already existed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- taperole (2.0.7)
4
+ taperole (2.1.1)
5
5
  colorize (~> 0.8.1)
6
6
  slack-notifier (~> 1.5)
7
7
  thor (~> 0.19.1)
@@ -38,4 +38,4 @@ DEPENDENCIES
38
38
  taperole!
39
39
 
40
40
  BUNDLED WITH
41
- 1.16.1
41
+ 1.16.2
data/README.md CHANGED
@@ -208,3 +208,16 @@ Here are the steps needed to enable this functionality:
208
208
  1. Start by setting up [an incoming webhook integration](https://my.slack.com/services/new/incoming-webhook/)
209
209
  2. Add that URL to `tape_vars.yml` as `slack_webhook_url`
210
210
  3. Profit.
211
+
212
+ # Releasing a new version of taperole
213
+
214
+ 1. Bump the version in `lib/taperole/version.rb`
215
+ 2. `gem build taperole.gemspec`
216
+ 3. `bundle install`
217
+ 4. Commit to git, push, and make PR
218
+ 5. Wait for approval, and merge
219
+ 6. `git checkout master`
220
+ 7. `git pull`
221
+ 8. `git tag -a VERSION` (e.g. `git tag -a 2.1.0`)
222
+ 9. `git push --tags`
223
+ 10. `gem push taperole.gemspec` (You'll need access to push the gem on rubygems. Ask Derek for this)
@@ -62,8 +62,11 @@ module Taperole
62
62
 
63
63
  def enforce_roles_path!
64
64
  Dir.mkdir('.tape') unless Dir.exist?('.tape')
65
+ config_file = "#{local_dir}/.tape/ansible.cfg"
65
66
 
66
- File.open("#{local_dir}/.tape/ansible.cfg", 'w') do |f|
67
+ return if File.exist?(config_file)
68
+
69
+ File.open(config_file, 'w') do |f|
67
70
  f.puts '[defaults]'
68
71
  f.puts "roles_path=.tape/roles:#{tape_dir}/roles:#{tape_dir}/vendor"
69
72
  f.puts "inventory=#{tapefiles_dir}/hosts"
@@ -1,3 +1,3 @@
1
1
  module Taperole
2
- VERSION = '2.1.0'.freeze
2
+ VERSION = '2.1.1'.freeze
3
3
  end
data/taperole.gemspec CHANGED
@@ -4,9 +4,9 @@ require 'taperole/version'
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "taperole"
6
6
  spec.version = Taperole::VERSION.dup
7
- spec.authors = ['Jack Forrest', 'Smashing Boxes', 'Brandon Mathis']
7
+ spec.authors = ['Smashing Boxes']
8
8
  spec.description = "General purpose server provisioning and application deployment toolkit"
9
- spec.email = ['jack@smashingboxes.com', 'brandon@sbox.es']
9
+ spec.email = ['architects@smashingboxes.com']
10
10
  spec.summary = 'A tool for provisioning and deploying boxes for hosting Rails apps'
11
11
  spec.license = 'MIT'
12
12
  spec.homepage = 'https://github.com/smashingboxes/taperole'
metadata CHANGED
@@ -1,16 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taperole
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - Jack Forrest
8
7
  - Smashing Boxes
9
- - Brandon Mathis
10
8
  autorequire:
11
9
  bindir: bin
12
10
  cert_chain: []
13
- date: 2018-07-24 00:00:00.000000000 Z
11
+ date: 2018-10-17 00:00:00.000000000 Z
14
12
  dependencies:
15
13
  - !ruby/object:Gem::Dependency
16
14
  name: slack-notifier
@@ -98,8 +96,7 @@ dependencies:
98
96
  version: 12.0.0
99
97
  description: General purpose server provisioning and application deployment toolkit
100
98
  email:
101
- - jack@smashingboxes.com
102
- - brandon@sbox.es
99
+ - architects@smashingboxes.com
103
100
  executables:
104
101
  - tape
105
102
  extensions: []