[E2E] Fix `wp-content/upgrade` folder permissions to fix recently failing daily and release tests (#37783)
This commit is contained in:
commit
b78e320c1c
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
Fix recent failures in "Smoke test release" workflow.
|
|
@ -8,7 +8,9 @@ echo -e 'Normalize permissions for wp-content directory \n'
|
|||
docker-compose -f $(wp-env install-path)/docker-compose.yml run --rm -u www-data -e HOME=/tmp tests-wordpress sh -c "chmod -c ugo+w /var/www/html/wp-config.php \
|
||||
&& chmod -c ugo+w /var/www/html/wp-content \
|
||||
&& chmod -c ugo+w /var/www/html/wp-content/themes \
|
||||
&& chmod -c ugo+w /var/www/html/wp-content/plugins"
|
||||
&& chmod -c ugo+w /var/www/html/wp-content/plugins \
|
||||
&& mkdir -p /var/www/html/wp-content/upgrade \
|
||||
&& chmod -c ugo+w /var/www/html/wp-content/upgrade"
|
||||
|
||||
docker-compose -f $(wp-env install-path)/docker-compose.yml run --rm -u www-data -e HOME=/tmp tests-cli sh -c "ls \
|
||||
&& wp theme install twentynineteen --activate \
|
||||
|
|
Loading…
Reference in New Issue