Balena push new release
balena push
is a command-line tool used to deploy a new release of your application to a balenaCloud fleet. Here's a breakdown of the command and its options:
Basic syntax:
balena push <release-name> <app-name>
Options:
<release-name>
: The name of the new release you want to deploy.<app-name>
: The name of the balena application you want to deploy the release to.
Example:
balena push my-new-release my-app
This command will deploy the new release named my-new-release
to the my-app
balena application.
Additional options:
-a, --app <app-name>
: Specify the balena application name. (Default: the current working directory)-r, --release <release-name>
: Specify the release name. (Default: the current working directory)-f, --force
: Force the deployment, even if there are changes to the application code.-v, --verbose
: Enable verbose mode, which will display more detailed output.-h, --help
: Display help information.
Example with additional options:
balena push -a my-app -r my-new-release -f -v
This command will deploy the new release named my-new-release
to the my-app
balena application, force the deployment even if there are changes to the application code, and display verbose output.
Tips:
- Make sure you have the
balena
CLI installed and configured on your machine. - The
balena push
command will automatically detect the changes in your application code and deploy the new release accordingly. - You can also use the
balena push
command with abalena.yml
file to specify the deployment configuration.