Skip to content

Commit cdd34c0

Browse files
author
Andrew Welch
committed
Merge branch 'release/2.5.8' into devmode-vite
2 parents 628691d + d63bff1 commit cdd34c0

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# nystudio107/devmode Change Log
22

3+
## 2.5.8 - 2022.04.08
4+
### Changed
5+
* Run migrations first via `composer.json` scripts, because Craft won't apply Project Config if there are pending migrations
6+
* Added `tty: true` back in now that the issue has been fixed in the Docker Compose API `2.4.1` ([#9348](https://github.com/docker/compose/pull/9348))
7+
* Wait for both `vendor/autoload.php` as we as `composer.lock` before starting up the queue listener
8+
39
## 2.5.7 - 2022.04.06
410
### Changed
511
* Updated to latest `composer.json` and `package.json` deps

cms/composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868
"post-craft-update": [
6969
"Composer\\Config::disableProcessTimeout",
7070
"@php craft install/check && php craft clear-caches/all --interactive=0 || exit 0",
71-
"@php craft install/check && php craft project-config/apply --interactive=0 || exit 0",
72-
"@php craft install/check && php craft migrate/all --interactive=0 || exit 0"
71+
"@php craft install/check && php craft migrate/all --interactive=0 || exit 0",
72+
"@php craft install/check && php craft project-config/apply --interactive=0 || exit 0"
7373
],
7474
"post-root-package-install": [
7575
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""

docker-compose.yml

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ services:
2727
expose:
2828
- "9000"
2929
init: true
30+
tty: true
3031
volumes: &php-volumes
3132
- cpresources:/var/www/project/cms/web/cpresources:delegated
3233
- storage:/var/www/project/cms/storage:delegated
@@ -48,6 +49,7 @@ services:
4849
expose:
4950
- "9000"
5051
init: true
52+
tty: true
5153
volumes:
5254
*php-volumes
5355
# postgres - database
@@ -77,6 +79,7 @@ services:
7779
env_file:
7880
*env
7981
init: true
82+
tty: true
8083
volumes:
8184
*php-volumes
8285
# redis - key/value database for caching & php sessions
@@ -97,6 +100,7 @@ services:
97100
init: true
98101
ports:
99102
- "3000:3000"
103+
tty: true
100104
volumes:
101105
- ./buildchain:/var/www/project/buildchain:cached
102106
- ./buildchain/node_modules:/var/www/project/buildchain/node_modules:delegated

docker-config/php-prod-craft/run_queue.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ do
2121
done
2222
# Wait until the `composer install` is done by looking for the `vendor/autoload.php` file
2323
echo "### Waiting for vendor/autoload.php"
24-
while [ ! -f vendor/autoload.php ]
24+
while [ ! -f vendor/autoload.php ] || [ ! -f composer.lock ]
2525
do
2626
sleep 1
2727
done

0 commit comments

Comments
 (0)