A command-line tool for monitoring and managing Shopware applications with deployment telemetry.
- Track deployment commands and their execution details to Shopmon monitoring service
composer require frosh/shopmon-cli
# Downloads on the fly shopmon-cli and executes the command
vendor/bin/shopmon-cli deploy -- <command>COPY --from=ghcr.io/friendsofshopware/shopmon-cli:0.0.6 /shopmon-cli /usr/local/bin/shopmon-cli./shopmon-cli deploy -- <command># Execute a simple command
./shopmon-cli deploy -- vendor/bin/shopware-deployment-helper runSHOPMON_BASE_URL: Override the default monitoring service URL (default:https://shopmon.fos.gg)SHOPMON_API_KEY: Authorization token for the monitoring service (required, sent as Bearer token)SHOPMON_SHOP_ID: Shop ID to include in telemetrySHOPMON_DEPLOYMENT_VERSION_REFERENCE: Override the version reference (defaults togit rev-parse HEAD)
# With custom URL
SHOPMON_BASE_URL="http://localhost:8080" \
SHOPMON_API_KEY="your-secret-token" \
./shopmon-cli deploy -- vendor/bin/shopware-deployment-helper run
# With authorization token
SHOPMON_API_KEY="your-secret-token" ./shopmon-cli deploy -- vendor/bin/shopware-deployment-helper runMIT