Skip to content

Commit 1a94f34

Browse files
authored
[BUGFIX] Update testbed TYPO3 13 LTS dependencies, make testbed working offline (#124)
1 parent 9581518 commit 1a94f34

File tree

5 files changed

+21
-68
lines changed

5 files changed

+21
-68
lines changed

.ddev/apache/20.conf

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
<VirtualHost *:80>
22
ServerName sub.t3api.ddev.site
33
ServerAlias *.t3api.ddev.site
4-
ServerAlias *-api.t3api.ddev.site
4+
ServerAlias *.api.t3api.ddev.site
55
DocumentRoot /var/www/html/.test
66
<Directory "/var/www/html/.test">
77
AllowOverride All
88
Allow from All
99
</Directory>
1010

1111
RewriteEngine On
12-
RewriteCond %{HTTP_HOST} ^([a-z0-9-]+)\.t3api\.ddev\.site$
13-
RewriteRule ^(.*)$ /var/www/html/.test/%1/public/$1 [L]
12+
RewriteCond %{HTTP_HOST} ^([a-z0-9-]+)\.t3api\.ddev\.site$ [OR]
13+
RewriteCond %{HTTP_HOST} ^([a-z0-9-]+)\.api\.t3api\.ddev\.site$
14+
RewriteRule ^(.*)$ /var/www/html/.test/%1/public/$1 [L]
1415

1516
RewriteCond %{HTTP:X-Forwarded-Proto} =https
1617
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} -d
@@ -24,15 +25,16 @@
2425
<VirtualHost *:443>
2526
ServerName sub.t3api.ddev.site
2627
ServerAlias *.t3api.ddev.site
27-
ServerAlias *-api.t3api.ddev.site
28+
ServerAlias *.api.t3api.ddev.site
2829
DocumentRoot /var/www/html/.test
2930
<Directory "/var/www/html/.test">
3031
AllowOverride All
3132
Allow from All
3233
</Directory>
3334

3435
RewriteEngine On
35-
RewriteCond %{HTTP_HOST} ^([a-z0-9-]+)\.t3api\.ddev\.site$
36+
RewriteCond %{HTTP_HOST} ^([a-z0-9-]+)\.t3api\.ddev\.site$ [OR]
37+
RewriteCond %{HTTP_HOST} ^([a-z0-9-]+)\.api\.t3api\.ddev\.site$
3638
RewriteRule ^(.*)$ /var/www/html/.test/%1/public/$1 [L]
3739

3840
RewriteCond %{HTTP:X-Forwarded-Proto} =https

.ddev/commands/web/.install-12

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ composer req typo3/cms-backend:'^12.4' typo3/cms-core:'^12.4' typo3/cms-extbase:
1414
typo3/cms-fluid:'^12.4' typo3/cms-frontend:'^12.4' typo3/cms-recycler:'^12.4' typo3/cms-tstemplate:'^12.4' \
1515
typo3/cms-info:'^12.4' typo3/cms-lowlevel:'^12.4' typo3/cms-rte-ckeditor:'^12.4' typo3/cms-impexp:'^12.4' \
1616
typo3/cms-install:'^12.4' \
17-
helhum/typo3-console:'^8.1' \
18-
cweagans/composer-patches:'^1.7.3' georgringer/news:'dev-12-13' \
17+
helhum/typo3-console:'^8.2.1' \
18+
cweagans/composer-patches:'^1.7.3' georgringer/news:'^12.1' \
1919
sourcebroker/t3apinews:'^1.0.0' v/site:'^1.0.0' \
2020
sourcebroker/t3api:'@dev' \
2121
--no-progress --no-interaction --working-dir "$BASE_PATH"

.ddev/commands/web/.install-13

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,14 @@ set -e
1010
source .ddev/test/utils-install.sh
1111
install_start "13"
1212

13-
# remove next two lines later after stable version of helhum/typo3-console START
14-
composer config repositories.helhum/typo3-console vcs https://github.com/bmack/TYPO3-Console --working-dir $BASE_PATH
15-
cp ".ddev/test/files/patches/typo3-cms-core-review-85198.patch" $BASE_PATH/patches/
1613
composer req typo3/cms-backend:'^13.3' typo3/cms-core:'^13.3' typo3/cms-extbase:'^13.3' typo3/cms-filelist:'^13.3' \
17-
typo3/cms-fluid:'^13.3' typo3/cms-frontend:'^13.3' typo3/cms-recycler:'^13.3' typo3/cms-tstemplate:'^13.3' \
18-
typo3/cms-info:'^13.3' typo3/cms-lowlevel:'^13.3' typo3/cms-rte-ckeditor:'^13.3' typo3/cms-impexp:'^13.3' \
19-
typo3/cms-install:'^13.3' \
20-
helhum/typo3-console:'dev-issue/1169' \
21-
cweagans/composer-patches:'^1.7.3' georgringer/news:'dev-12-13' \
22-
sourcebroker/t3apinews:'^1.0.0' v/site:'^1.0.0' \
23-
sourcebroker/t3api:'@dev' \
24-
--no-progress --no-interaction --working-dir "$BASE_PATH"
14+
typo3/cms-fluid:'^13.3' typo3/cms-frontend:'^13.3' typo3/cms-recycler:'^13.3' typo3/cms-tstemplate:'^13.3' \
15+
typo3/cms-info:'^13.3' typo3/cms-lowlevel:'^13.3' typo3/cms-rte-ckeditor:'^13.3' typo3/cms-impexp:'^13.3' \
16+
typo3/cms-install:'^13.3' \
17+
helhum/typo3-console:'^8.2.1' \
18+
cweagans/composer-patches:'^1.7.3' georgringer/news:'^12.1' \
19+
sourcebroker/t3apinews:'^1.0.0' v/site:'^1.0.0' \
20+
sourcebroker/t3api:'@dev' \
21+
--no-progress --no-interaction --working-dir "$BASE_PATH"
2522

2623
install_end

.ddev/config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ router_http_port: "80"
77
router_https_port: "443"
88
xdebug_enabled: false
99
additional_hostnames:
10-
- '*.t3api'
11-
- '*.api.t3api'
10+
- 12.t3api
11+
- 12.api.t3api
12+
- 13.t3api
13+
- 13.api.t3api
1214
additional_fqdns: []
1315
database:
1416
type: mariadb

.ddev/test/files/patches/typo3-cms-core-review-85198.patch

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)