vip validate preflight
Runs preflight tests to validate if your application is ready to be deployed
Usage
vip validate-preflight [options]
Options
Option | Description |
---|---|
-d , --debug |
Generate verbose output during command execution to help identify or fix errors or bugs. |
-f , --format |
[value] Output the log lines in CSV or JSON format (defaults to “table”) |
-h , --help |
Retrieve a description, examples, and available options for a (sub)command. |
-n , --node-version |
Select a specific target Node.JS version in semver format (MAJOR.MINOR.PATCH) or a MAJOR (18, 20, 22) |
-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 |
Retrieve the version number of VIP-CLI currently installed on the local machine. |
-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 --format json > results.json
Last updated: November 18, 2024