File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ services:
2121 FS_METHOD : direct
2222
2323 sut :
24- image : alpine:3
24+ image : alpine:3.21
2525 depends_on :
2626 - wordpress
2727 command : /tmp/run_tests.sh
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if [ ! "$(ls -A "/var/www/wp-content" 2>/dev/null)" ]; then
88 echo ' Setting up wp-content volume'
99 # Copy wp-content from Wordpress src to volume
1010 cp -r /usr/src/wordpress/wp-content /var/www/
11- chown -R nobody. nobody /var/www
11+ chown -R nobody: nobody /var/www
1212fi
1313# Check if wp-secrets.php exists
1414if ! [ -f " /var/www/wp-content/wp-secrets.php" ]; then
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22apk --no-cache add curl
3- while ! curl -fs wordpress > /dev/null; do echo -n ' .' ; sleep 1; done ;
4- curl --silent --fail http://wordpress/wp-admin/install.php | grep ' wp-core-ui' > /dev/null
3+ for i in $( seq 1 10 ) ; do curl -fs wordpress > /dev/null && break || { echo -n ' .' ; sleep 1; } ; done ;
4+ curl --silent --fail http://wordpress/wp-admin/install.php | grep ' wp-core-ui'
You can’t perform that action at this time.
0 commit comments