Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .s2i/bin/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set -eo pipefail
# Use latest stable version of WordPress if no version is specified.

if [ -z "$WORDPRESS_INSTALL_VERSION" ]; then
WORDPRESS_INSTALL_VERSION=$(curl -s "https://api.wordpress.org/core/version-check/1.7/?version=4.1" | python -c 'import sys, json; latest = json.load(sys.stdin)["offers"][0]; print(latest["version"] if latest["response"] == "upgrade" else "4.1")')
WORDPRESS_INSTALL_VERSION=$(curl -s "https://api.wordpress.org/core/version-check/1.7/?version=5.5.3" | python -c 'import sys, json; latest = json.load(sys.stdin)["offers"][0]; print(latest["version"] if latest["response"] == "upgrade" else "5.5.3")')
fi

# Download WordPress.
Expand Down
6 changes: 3 additions & 3 deletions templates/classic-standalone.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{
"name": "QUICKSTART_REPOSITORY_URL",
"description": "The URL of the quickstart Git repository.",
"value": "https://github.com/openshift-evangelists/wordpress-quickstart",
"value": "https://github.com/mschindl/wordpress-quickstart",
"required": true
},
{
Expand Down Expand Up @@ -75,13 +75,13 @@
{
"name": "MYSQL_VERSION",
"description": "The version of the MySQL database.",
"value": "5.7",
"value": "latest",
"required": true
},
{
"name": "PHP_VERSION",
"description": "The version of the PHP builder.",
"value": "7.0",
"value": "7.3",
"required": true
}
],
Expand Down