Skip to content

vip validate preflight

Runs preflight tests to validate if your application is ready to be deployed

Usage

vip validate-preflight [options]

Options

OptionDescription
-d, --debug Activate debug output
-h, --help Output the help for the (sub)command
-j, --json Output the results as JSON (disabled by default)
-n, --node-version Select a specific target Node.JS version in semver format (MAJOR.MINOR.PATCH) or a MAJOR
-P, --path [value] Path to the app to be tested (defaults to “/home/runner/work/vip-cli/vip-cli”)
-p, --port Configure the port to use for the app (defaults to a random port between 3001 and 3999)
-V, --verbose Increase logging level to include app build and server boot up messages (disabled by default)
-v, --version Output the version number
-w, --wait Configure the time to wait in ms for the app to boot up. Do not change unless you have issues (defaults to 3000)

Examples

- Runs the preflight tests to validate if your application is ready to be deployed to VIP Go
$ vip @mysite.production validate preflight

- Runs the preflight tests, but output the results in JSON format, and redirect the output to a file
$ vip @mysite.production validate preflight --json > results.json

Last updated: February 29, 2024