Skip to:
Content

bbPress.org

Changeset 7525


Ignore:
Timestamp:
09/16/2026 05:36:34 AM (4 days ago)
Author:
johnjamesjacoby
Message:

Build: Keep smoke-test credentials out of logs.

Suppress WP-CLI command echoes while creating the disposable WordPress configuration and installing WordPress. Retain sanitized progress messages in release evidence.

In trunk, for 2.7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/smoke-test-plugin.sh

    r7429 r7525  
    1818
    1919wp core download --path="$wp_root"
    20 printf '%s\n' "${BBPRESS_SMOKE_DB_PASSWORD}" | wp config create --prompt=dbpass --path="$wp_root" --dbname="${BBPRESS_SMOKE_DB_NAME:-wordpress_smoke}" --dbuser="${BBPRESS_SMOKE_DB_USER:-root}" --dbhost="${BBPRESS_SMOKE_DB_HOST:-127.0.0.1}"
    21 openssl rand -base64 24 | wp core install --prompt=admin_password --path="$wp_root" --url="http://127.0.0.1:$port" --title="bbPress Smoke Test" --admin_user=admin --admin_email=admin@example.com
     20printf '%s\n' "${BBPRESS_SMOKE_DB_PASSWORD}" | wp config create --prompt=dbpass --path="$wp_root" --dbname="${BBPRESS_SMOKE_DB_NAME:-wordpress_smoke}" --dbuser="${BBPRESS_SMOKE_DB_USER:-root}" --dbhost="${BBPRESS_SMOKE_DB_HOST:-127.0.0.1}" >/dev/null
     21printf 'WordPress configuration created.\n'
     22openssl rand -base64 24 | wp core install --prompt=admin_password --path="$wp_root" --url="http://127.0.0.1:$port" --title="bbPress Smoke Test" --admin_user=admin --admin_email=admin@example.com >/dev/null
     23printf 'WordPress installed.\n'
    2224wp theme install twentytwentyone --path="$wp_root" --activate
    2325wp plugin install "$candidate_zip" --path="$wp_root" --activate
Note: See TracChangeset for help on using the changeset viewer.