Skip to content

Commit

Permalink
fix: Add host.docker.internal and customizations to ddev debug test (#…
Browse files Browse the repository at this point in the history
…6144)

Co-authored-by: Stanislav Zhuk <stasadev@gmail.com>
  • Loading branch information
rfay and stasadev committed May 1, 2024
1 parent a96ab26 commit 3a821f3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions cmd/ddev/cmd/scripts/test_ddev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ fi

ddev debug configyaml | grep -v web_environment

header "existing project customizations"
grep -r -L "#ddev-generated" .ddev/docker-compose.*.yaml .ddev/php .ddev/mutagen .ddev/apache .ddev/nginx* .ddev/*-build .ddev/mysql .ddev/postgres 2>/dev/null

header "installed DDEV add-ons"

ddev get --installed

header "mutagen situation"

echo "looking for #ddev-generated in mutagen.yml in project ${PWD}"
Expand Down Expand Up @@ -207,6 +214,9 @@ curl "${http_url}"
header "Full curl of ${https_url} (router https URL) from outside"
curl "${https_url}"

header "host.docker.internal status"
ddev exec ping -c 1 host.docker.internal

header "Project ownership on host"
ls -ld "${PROJECT_DIR}"
header "Project ownership in container"
Expand Down
3 changes: 2 additions & 1 deletion pkg/ddevapp/dotddev_assets/php/php-example.ini.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#ddev-generated
[PHP]
max_execution_time = 240;
max_execution_time = 240;

0 comments on commit 3a821f3

Please sign in to comment.