File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ services:
21
21
FS_METHOD : direct
22
22
23
23
sut :
24
- image : alpine:3
24
+ image : alpine:3.21
25
25
depends_on :
26
26
- wordpress
27
27
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
8
8
echo ' Setting up wp-content volume'
9
9
# Copy wp-content from Wordpress src to volume
10
10
cp -r /usr/src/wordpress/wp-content /var/www/
11
- chown -R nobody. nobody /var/www
11
+ chown -R nobody: nobody /var/www
12
12
fi
13
13
# Check if wp-secrets.php exists
14
14
if ! [ -f " /var/www/wp-content/wp-secrets.php" ]; then
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
2
apk --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