forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move CI back to latest WordPress version and bump minimum version to …
…4.9.8 (WordPress#8454) * Back to latest WordPress version * Update WordPress is the requested version is 'latest' * REST API: Remove polyfill for assign_terms visibility * Framework: Bump WordPress compatibility to 4.9.8
- Loading branch information
1 parent
17852d6
commit 9c75e47
Showing
6 changed files
with
34 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ set -e | |
CLI='cli' | ||
CONTAINER='wordpress' | ||
SITE_TITLE='Gutenberg Dev' | ||
WP_VERSION=${WP_VERSION-latest} | ||
|
||
# If we're installing/re-installing the test site, change the containers used. | ||
if [ "$1" == '--e2e_tests' ]; then | ||
|
@@ -50,9 +51,11 @@ echo -e $(status_message "Installing WordPress...") | |
# The `-u 33` flag tells Docker to run the command as a particular user and | ||
# prevents permissions errors. See: https://github.com/WordPress/gutenberg/pull/8427#issuecomment-410232369 | ||
docker-compose run --rm -u 33 $CLI core install --title="$SITE_TITLE" --admin_user=admin --admin_password=password [email protected] --skip-email --url=http://localhost:$HOST_PORT >/dev/null | ||
# Check for WordPress updates, just in case the WordPress image isn't up to date. | ||
# (Disabled until https://github.com/WordPress/gutenberg/issues/8445 is fixed.) | ||
# docker-compose run --rm -u 33 $CLI core update >/dev/null | ||
|
||
if [ "$WP_VERSION" == "latest" ]; then | ||
# Check for WordPress updates, to make sure we're running the very latest version. | ||
docker-compose run --rm -u 33 $CLI core update >/dev/null | ||
fi | ||
|
||
# If the 'wordpress' volume wasn't during the down/up earlier, but the post port has changed, we need to update it. | ||
CURRENT_URL=$(docker-compose run -T --rm $CLI option get siteurl) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters