tb deployment¶
Deploys your project to the Tinybird platform. Run using --cloud
to deploy to Tinybird Cloud.
Global options apply to this command. See Global options.
The following subcommands are available:
Subcommand | Description |
---|---|
create [OPTIONS] | Validates and deploy the project in Tinybird. |
ls | Lists all the deployments of your project. |
promote | Promotes last deploy to ready and remove old one. Accepts the --wait / --no-wait option. |
rollback | Rollbacks to the previous deployment. Accepts the --wait / --no-wait option. |
tb deployment create¶
Validates and deploys the project in Tinybird. Run using --cloud
to deploy to Tinybird Cloud. When deploying to Tinybird Cloud, the command shows the URL of the deployment.
Option | Description |
---|---|
--wait / --no-wait | Waits for the deployment to finish. Defaults to not waiting. |
--auto / --no-auto | Automatically promotes the deployment. Only works if --wait is used. |
--check / --no-check | Validates the deployment before creating it. Disabled by default. |
--allow-destructive-operations / --no-allow-destructive-operations | Allows destructive operations, like removing data sources, dropping historical data from tables, and so on. Disabled by default. |
Removing data sources is an irreversible operation. Be careful when using the --allow-destructive-operations
flag.