diff --git a/CHANGELOG.md b/CHANGELOG.md index 90cae30..ba38539 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,26 @@ -## 4.0.0 (When Released) +## 4.0.0 * Enhancement: [#49][]: Update default database to postgresql * Enhancement: [#58][]: Update mysql dependency to ~> 6.0 * Enhancement: [#61][]: Fix deprecation warning from Berkshelf +* Enhancement: [#98][]: Upgrade web.xml to latest version +* Enhancement: [#101][]: Add and default to Stash 3.10.2 +* Enhancement: [#102][]: Move pid to /var/run/stash/catalina.pid +* Enhancement: [#104][]: Removed redundant stash_test::apache2 integration tests +* Enhancement: [#105][]: Migrate to serverspec tests +* Enhancement: [#107][]: Add postgresql test suite +* Enhancement: [#112][]: Switch to using MySQL 5.5 by default +* Bugfix: [#113][]: Switch to using MySQL 5.5 by default +* Enhancement: [#114][]: Add and default to Stash 3.11.1 +* Bugfix: [#115][]: fix rubocop offenses from master +* Enhancement: [#116][]: Add Bitbucket Server 4.0 Support +* Bugfix: [#118][]: Create backup folder recusively +* Enhancement: [#119][]: Upgrade bitbucket to 4.0.2 +* Enhancement: [#121][]: Add recursive folder creation to DIY backup +* Enhancement: [#122][]: Upgrade bitbucket to 4.0.3 +* Enhancement: [#124][]: Upgrade bitbucket to 4.1.0 +* Bugfix: [#125][]: Fix hard-coded JAVA_HOME ENV +* Enhancement: [#127][]: Set home path to 3.x default when it exists ## 3.16.1 @@ -506,3 +524,21 @@ To switch to new defaults: [#89]: https://github.com/bflad/chef-stash/issues/89 [#90]: https://github.com/bflad/chef-stash/issues/90 [#93]: https://github.com/bflad/chef-stash/issues/93 +[#98]: https://github.com/bflad/chef-stash/issues/98 +[#101]: https://github.com/bflad/chef-stash/issues/101 +[#102]: https://github.com/bflad/chef-stash/issues/102 +[#104]: https://github.com/bflad/chef-stash/issues/104 +[#105]: https://github.com/bflad/chef-stash/issues/105 +[#107]: https://github.com/bflad/chef-stash/issues/107 +[#112]: https://github.com/bflad/chef-stash/issues/112 +[#113]: https://github.com/bflad/chef-stash/issues/113 +[#114]: https://github.com/bflad/chef-stash/issues/114 +[#115]: https://github.com/bflad/chef-stash/issues/115 +[#116]: https://github.com/bflad/chef-stash/issues/116 +[#118]: https://github.com/bflad/chef-stash/issues/118 +[#119]: https://github.com/bflad/chef-stash/issues/119 +[#121]: https://github.com/bflad/chef-stash/issues/121 +[#122]: https://github.com/bflad/chef-stash/issues/122 +[#124]: https://github.com/bflad/chef-stash/issues/124 +[#125]: https://github.com/bflad/chef-stash/issues/125 +[#127]: https://github.com/bflad/chef-stash/issues/127 diff --git a/README.md b/README.md index eea05f1..0d4dcdf 100644 --- a/README.md +++ b/README.md @@ -50,13 +50,13 @@ These attributes are under the `node['stash']` namespace. Attribute | Description | Type | Default ----------|-------------|------|-------- checksum | SHA256 checksum for Stash install | String | auto-detected (see attributes/default.rb) -home_path | home data directory for Stash user | String | /var/atlassian/application-data/stash +home_path | home data directory for Stash user | String | /var/atlassian/application-data/bitbucket (if upgrading from 3.x cookbook it will be /var/atlassian/application-data/stash) install_path | location to install Stash | String | /opt/atlassian install_type | Stash install type - "standalone" only for now | String | standalone url_base | URL base for Stash install | String | http://www.atlassian.com/software/stash/downloads/binary/atlassian-stash url | URL for Stash install | String | auto-detected (see attributes/default.rb) user | user to run Stash | String | stash -version | Stash version to install | String | 4.1.0 +version | Stash version to install | String | 4.1.3 ### Stash Backup Attributes (Shared) @@ -80,7 +80,7 @@ Attribute | Description | Type | Default checksum | SHA256 checksum for Stash Backup Client install | String | auto-detected (see attributes/default.rb) install_path | location to install Stash Backup Client | String | /opt/atlassian/stash-backup-client url_base | URL base for Stash Backup Client install | String | http://downloads.atlassian.com/software/stash/downloads/stash-backup-distribution -version | Stash Backup Client version to install | String | 1.9.1 +version | Stash Backup Client version to install | String | 2.0.1 ### Stash DIY Backup Attributes Documentation: [Using Stash DIY Backup](https://confluence.atlassian.com/display/STASH/Using+Stash+DIY+Backup) @@ -128,7 +128,7 @@ name | Stash database name | String | stash password | Stash database user password | String | changeit port | Stash database port | String | 3306 testInterval | Stash database pool idle test interval in minutes | Fixnum | 2 -type | Stash database type - "hsqldb" (not recommended), "mysql", "postgresql", or "sqlserver" | String | mysql +type | Stash database type - "hsqldb" (not recommended), "mysql", "postgresql", or "sqlserver" | String | postgresql user | Stash database user | String | stash ### Stash JVM Attributes diff --git a/attributes/default.rb b/attributes/default.rb index c2181f3..1b8d2f5 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -1,6 +1,6 @@ set['build-essential']['compile_time'] = true -default['stash']['version'] = '4.1.0' +default['stash']['version'] = '4.1.3' default['stash']['product'] = Chef::Version.new(node['stash']['version']) >= Chef::Version.new('4.0.0') ? 'bitbucket' : 'stash' if Dir.exist?('/var/atlassian/application-data/stash') @@ -126,6 +126,7 @@ when '4.0.3' then '458addf0648186c90f7ffb026eb9464182e03c44a03c5658fe0cb44d2495df09' when '4.0.4' then 'd56ce5db0829b2a013c648c1fb354021166e3babeb84a449a988a42f6fbbe830' when '4.1.0' then '0b1e41ab64c25d446d1cda54392abb9120c4b92413c1d79f6642869cbdcd5a46' +when '4.1.3' then '2cdbab5394a3d82a854f33806d12b40f909ad172ef95064e9f0fce786fc65307' end default['stash']['apache2']['access_log'] = '' @@ -163,7 +164,7 @@ default['stash']['backup']['cron']['weekday'] = '*' default['stash']['backup_client']['install_path'] = node['stash']['install_path'] -default['stash']['backup_client']['version'] = '2.0.0' +default['stash']['backup_client']['version'] = '2.0.1' stash_backup_client_version = Chef::Version.new(node['stash']['backup_client']['version']) default['stash']['backup_client']['url_base'] = @@ -203,6 +204,7 @@ when '1.9.0' then '620776f107a9c10f57f59e52be795621f0f0b8277805e28fff7dc664bbb48fb3' when '1.9.1' then '3cdad3393611d2c8d151c7d265ebd04764cbaba4a4d745a8b534dd9b8cf77d7b' when '2.0.0' then '2d9113ef6e173a65587b373ecc247b58ea8fab5ea826541b1d309ad0402a67be' +when '2.0.1' then '0568b27367a367aebc45cade27bcca693b034a0b18dfd82789c0a6767324b19d' end default['stash']['backup_diy']['install_path'] = "#{node['stash']['install_path']}/stash-diy-backup" @@ -220,9 +222,9 @@ default['stash']['backup_diy']['hipchat_room'] = '' default['stash']['backup_diy']['hipchat_token'] = '' -default['stash']['database']['type'] = 'mysql' -# When not set, the defaults from mysql cookbook are used. -# See: https://github.com/chef-cookbooks/mysql/blob/v6.0.26/libraries/helpers.rb#L414-L432 +default['stash']['database']['type'] = 'postgresql' +# When not set, the defaults from postgresql cookbook are used. +# See: https://github.com/hw-cookbooks/postgresql/blob/v3.4.24/attributes/default.rb#L71-L228 default['stash']['database']['version'] = nil default['stash']['database']['host'] = '127.0.0.1'