Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

Commit 849be20

Browse files
committed
Merge branch 'release/8.0.0'
* release/8.0.0: prepare release v8.0.0 Add TYPO3 specific configuration for assets and database add mysql string escaping for add_admin_user - removing upload_wrapper task - improving gitignore configuration - renaming custom variable for environment injection to CUSTOM_VARIABLE - update TYPO3 8.7.8 - moving tasks from step_definitions/typo3.rb to deploy.rb Update gems and TYPO3. fix travis ci badge link Updated copyright Pin rubocop to 0.46 Set correct path to typo3_cms.rb
2 parents cf8b4f7 + 3137a5e commit 849be20

34 files changed

Lines changed: 2198 additions & 170 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ tmp
1818
.vagrant
1919
.lock
2020
Gemfile.lock
21+
ubuntu-xenial-16.04-cloudimg-console.log
22+
23+

.rubocop.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ AllCops:
55
- 'config/**/*'
66
- 'Vagrantfile'
77
- 'vendor/**/*'
8+
TargetRubyVersion: 2.2
9+
ExtraDetails: true
10+
DisplayStyleGuide: true
11+
DisplayCopNames: true
812
GlobalVars:
913
AllowedVariables: []
1014
MethodLength:
@@ -21,3 +25,7 @@ AbcSize:
2125
Max: 25
2226
SpaceAfterComma:
2327
Enabled: false
28+
Style/FormatStringToken:
29+
Enabled: false
30+
Metrics/BlockLength:
31+
Enabled: false

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ sudo: false
22
language: ruby
33
cache: bundler
44
rvm:
5-
- 2.1
65
- 2.2
6+
- 2.3
7+
- 2.4
78

89
before_install:
9-
- gem install bundler --version 1.12.5 --no-document
10+
- gem install bundler --no-document
1011

1112
script:
1213
- bundle exec rubocop

Berksfile.lock

Lines changed: 33 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3,64 +3,56 @@ DEPENDENCIES
33
path: config/vm/cookbooks/dkdeploy-typo3-cms
44

55
GRAPH
6-
apache2 (3.2.2)
6+
apache2 (5.0.1)
77
apt (3.0.0)
8-
build-essential (4.0.0)
9-
mingw (>= 0.0.0)
8+
build-essential (8.0.3)
9+
mingw (>= 1.1)
1010
seven_zip (>= 0.0.0)
11-
chef-sugar (3.3.0)
12-
chef_handler (1.4.0)
13-
compat_resource (12.10.1)
11+
compat_resource (12.19.0)
1412
database (5.1.2)
1513
postgresql (>= 1.0.0)
1614
dkdeploy-typo3-cms (1.0.0)
17-
apache2 (~> 3.2)
15+
apache2 (~> 5.0.1)
1816
apt (~> 3.0)
1917
database (~> 5.1)
20-
mysql (~> 6.1)
18+
mysql (~> 8.5.1)
2119
mysql2_chef_gem (~> 1.0)
22-
php (~> 1.9)
23-
iis (4.1.7)
24-
windows (>= 1.34.6)
25-
mariadb (0.3.1)
20+
php (~> 4.5.0)
21+
inifile_chef_gem (0.1.0)
22+
build-essential (>= 0.0.0)
23+
mariadb (1.5.2)
2624
apt (>= 0.0.0)
25+
build-essential (>= 0.0.0)
26+
selinux_policy (~> 2.0)
2727
yum (>= 0.0.0)
2828
yum-epel (>= 0.0.0)
29-
mingw (1.0.0)
30-
compat_resource (>= 0.0.0)
29+
yum-scl (>= 0.0.0)
30+
mingw (2.0.1)
3131
seven_zip (>= 0.0.0)
32-
mysql (6.1.3)
33-
smf (>= 0.0.0)
34-
yum-mysql-community (>= 0.0.0)
32+
mysql (8.5.1)
3533
mysql2_chef_gem (1.1.0)
3634
build-essential (>= 0.0.0)
3735
mariadb (>= 0.0.0)
3836
mysql (>= 6.0)
39-
openssl (4.4.0)
40-
chef-sugar (>= 3.1.1)
41-
php (1.9.0)
37+
ohai (5.2.0)
38+
openssl (7.1.0)
39+
php (4.5.0)
4240
build-essential (>= 0.0.0)
43-
iis (>= 0.0.0)
4441
mysql (>= 6.0.0)
45-
windows (>= 1.39.1)
46-
xml (>= 0.0.0)
4742
yum-epel (>= 0.0.0)
48-
postgresql (4.0.6)
49-
apt (>= 1.9.0)
50-
build-essential (>= 0.0.0)
51-
openssl (~> 4.0)
52-
rbac (1.0.3)
53-
seven_zip (2.0.0)
43+
postgresql (6.1.1)
44+
build-essential (>= 2.0.0)
45+
compat_resource (>= 12.16.3)
46+
openssl (>= 4.0)
47+
selinux_policy (2.0.1)
48+
compat_resource (>= 12.16.3)
49+
seven_zip (2.0.2)
5450
windows (>= 1.2.2)
55-
smf (2.2.8)
56-
rbac (>= 1.0.1)
57-
windows (1.41.0)
58-
chef_handler (>= 0.0.0)
59-
xml (2.0.0)
60-
build-essential (>= 0.0.0)
61-
chef-sugar (>= 0.0.0)
62-
yum (3.10.0)
63-
yum-epel (0.7.0)
64-
yum (>= 3.6.3)
65-
yum-mysql-community (0.2.0)
66-
yum (>= 3.2)
51+
windows (3.2.0)
52+
ohai (>= 4.0.0)
53+
yum (5.0.1)
54+
yum-epel (2.1.2)
55+
compat_resource (>= 12.16.3)
56+
yum-scl (0.2.0)
57+
inifile_chef_gem (>= 0.0.0)
58+
yum (>= 0.0.0)

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,28 @@
33
All notable changes to this project will be documented in this file.
44
This project adheres to [Semantic Versioning](http://semver.org/).
55

6+
## [8.0.0] - 2018-02-09
7+
### Summary
8+
9+
- rubocop upgrade to 0.50
10+
- ruby upgrade to 2.2
11+
- bundler upgrade
12+
- rake upgrade
13+
- dkdeploy-test_environment upgrade to 2.0
14+
- dkdeploy-core upgrade 9.0
15+
- dkdeploy-php upgrade 8.0
16+
- Add dependencies for `cucumber`, `rubocop`, `aruba` and `mysql2`
17+
- upgrade vagrant box to `ubuntu/xenial64`
18+
- update TYPO3 8.7
19+
- dropped support for TYPO3 7.6
20+
- moving deploy tasks from step_definitions/typo3.rb to deploy.rb for the testing
21+
- Add TYPO3 specific configuration for assets and database
22+
623
## [7.0.0] - 2017-01-16
724
### Summary
825

926
- first public release
1027

1128
[Unreleased]: https://github.com/dkdeploy/dkdeploy-typo3-cms/compare/master...develop
29+
[8.0.0]: https://github.com/dkdeploy/dkdeploy-typo3-cms/releases/tag/v8.0.0
1230
[7.0.0]: https://github.com/dkdeploy/dkdeploy-typo3-cms/releases/tag/v7.0.0

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014-2016 dkd Internet Service GmbH, Frankfurt am Main (Germany), https://dkd.de
1+
Copyright (c) 2014-2018 dkd Internet Service GmbH, Frankfurt am Main (Germany), https://dkd.de
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# Dkdeploy::Typo3::Cms
44

5-
[![Build Status](https://api.travis-ci.org/dkdeploy/dkdeploy-typo3-cms.svg?branch=master)](https://travis-ci.org/repositories/dkdeploy/dkdeploy-typo3-cms)
6-
[![Gem Version](https://badge.fury.io/rb/dkdeploy-typo3-cms.svg)](https://badge.fury.io/rb/dkdeploy-typo3-cms) [![Inline docs](http://inch-ci.org/github/dkdeploy/dkdeploy-typo3-cms.svg?branch=master)](http://inch-ci.org/github/dkdeploy/dkdeploy-typo3-cms)
5+
[![Build Status](https://travis-ci.org/dkdeploy/dkdeploy-typo3-cms.svg?branch=master)](https://travis-ci.org/dkdeploy/dkdeploy-typo3-cms)
6+
[![Gem Version](https://badge.fury.io/rb/dkdeploy-typo3-cms.svg)](https://badge.fury.io/rb/dkdeploy-typo3-cms) [![Inline docs](http://inch-ci.org/github/dkdeploy/dkdeploy-typo3-cms.svg?branch=develop)](http://inch-ci.org/github/dkdeploy/dkdeploy-typo3-cms)
77

88
## Description
99

@@ -13,7 +13,7 @@ dkdeploy-typo3-cms ruby gem represents the extension of [Capistrano](http://capi
1313

1414
Add this line to your application's `Gemfile`
1515

16-
gem 'dkdeploy-typo3-cms', '~> 7.0'
16+
gem 'dkdeploy-typo3-cms', '~> 8.0'
1717

1818
and then execute
1919

@@ -46,7 +46,7 @@ Certainly you have to adjust `config/deploy.rb` and respective stages and custom
4646

4747
As next you have to append the following line to the `Capfile` in order to make use of dkdeploy extensions in addition to the standard Capistrano tasks:
4848

49-
require 'capistrano/dkdeploy/typo3-cms'
49+
require 'capistrano/dkdeploy/typo3_cms'
5050

5151
To convince yourself, that Capistrano tasks list has benn extended, please run
5252

@@ -77,7 +77,7 @@ Add the virtual box alias to your `hosts` file
7777
## Contributing
7878

7979
1. Install [git flow](https://github.com/nvie/gitflow)
80-
2. Install [Homebrew](http://brew.sh/) and run `brew install mysql-connector-c`
80+
2. Install [Homebrew](http://brew.sh/) and run `brew install mysql`
8181
3. If project is not checked out already do git clone `git@github.com:dkdeploy/dkdeploy-typo3-cms.git`
8282
4. Checkout origin develop branch (`git checkout --track -b develop origin/develop`)
8383
5. Git flow initialize `git flow init -d`

Vagrantfile

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,25 @@ unless Vagrant.has_plugin?('vagrant-berkshelf')
55
abort
66
end
77

8-
unless Vagrant.has_plugin?('vagrant-omnibus')
9-
puts "Please install vagrant plugin vagrant-omnibus first\n"
10-
puts " vagrant plugin install vagrant-omnibus\n\n"
11-
puts "Exit vagrant\n\n"
12-
abort
13-
end
14-
8+
Vagrant.require_version '~> 2.0.0'
159
chef_version = '12.9.41'
1610

17-
Vagrant.require_version '>= 1.8.1'
18-
19-
Vagrant.configure('2') do |config|
11+
Vagrant.configure(2) do |config|
2012
domain = 'dkdeploy-typo3-cms.dev'
2113
ip_address = '192.168.156.183'
2214

23-
config.vm.box = 'ubuntu/trusty64'
15+
config.vm.box = 'ubuntu/xenial64'
2416
config.vm.box_check_update = false
25-
2617
config.berkshelf.enabled = true
27-
config.omnibus.chef_version = chef_version
2818

2919
config.vm.define 'dkdeploy-typo3-cms', primary: true do |master_config|
3020
master_config.vm.network 'private_network', ip: ip_address
21+
22+
# Chef settings
3123
master_config.vm.provision :chef_solo do |chef|
32-
chef.install = false # omnibus does it already
3324
chef.version = chef_version
25+
chef.install = true
26+
chef.channel = 'stable'
3427
chef.log_level = :info
3528
chef.add_recipe 'dkdeploy-typo3-cms'
3629

config/vm/cookbooks/dkdeploy-typo3-cms/metadata.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
description 'Project cookbook'
55
version '1.0'
66

7-
depends 'mysql', '~> 6.1'
7+
depends 'mysql', '~> 8.5.1'
88
depends 'mysql2_chef_gem', '~> 1.0'
99
depends 'database', '~> 5.1'
10-
depends 'apache2', '~> 3.2'
11-
depends 'php', '~> 1.9'
10+
depends 'apache2', '~> 5.0.1'
11+
depends 'php', '~> 4.5.0'
1212
depends 'apt', '~> 3.0' # version 2.9 is causing dependency issues

config/vm/cookbooks/dkdeploy-typo3-cms/recipes/default.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
group 'www-data' do
1616
action :create
1717
append true
18-
members 'vagrant'
18+
members 'ubuntu'
1919
end
2020

2121
# PHP
@@ -24,7 +24,7 @@
2424

2525
# Apache
2626
include_recipe 'apache2'
27-
include_recipe 'apache2::mod_php5'
27+
include_recipe 'apache2::mod_php'
2828

2929
# install apache2-utils. It is needed for the assets:add_htpasswd task
3030
package 'apache2-utils' do
@@ -64,7 +64,7 @@
6464
end
6565

6666
directory '/var/www/' do
67-
owner 'vagrant' # deployment is done by vagrant user
67+
owner 'ubuntu' # deployment is done by ubuntu user
6868
group 'www-data' # apache2 is executed by www-data and needs access to directory
6969
mode '0770'
7070
action :create

0 commit comments

Comments
 (0)