Big News!  Tilt is joining Docker

Tilt CLI Reference

tilt ci

Start Tilt in CI/batch mode with the given Tiltfile args

Synopsis

Starts Tilt and runs resources defined in the Tiltfile.

Exits with failure if any build fails or any server crashes.

Exits with success if all tasks have completed successfully and all servers are healthy.

While Tilt is running, you can view the UI at localhost:10350 (configurable with –host and –port).

See blog post for additional information: https://blog.tilt.dev/2020/04/16/how-to-not-break-server-startup.html

tilt ci [<tilt flags>] [-- <Tiltfile args>]

Options

      --context string                   Kubernetes context override. Equivalent to kubectl --context
  -f, --file string                      Path to Tiltfile (default "Tiltfile")
  -h, --help                             help for ci
      --host string                      Host for the Tilt HTTP server and default host for any port-forwards. Set to 0.0.0.0 to listen on all interfaces. Overrides TILT_HOST env variable. (default "localhost")
      --namespace string                 Default namespace for Kubernetes resources (overrides default namespace from active context in kubeconfig)
      --output-snapshot-on-exit string   If specified, Tilt will dump a snapshot of its state to the specified path when it exits
      --port int                         Port for the Tilt HTTP server. Set to 0 to disable. Overrides TILT_PORT env variable. (default 10350)
      --timeout duration                 Timeout to wait for CI to pass. Set to 0 for no timeout. (default 30m0s)
      --web-mode WebMode                 Values: local, prod. Controls whether to use prod assets or a local dev server. (If flag not specified: if Tilt was built from source, it will use a local asset server; otherwise, prod assets.) (default default)
      --webdev-port int                  Port for the Tilt Dev Webpack server. Only applies when using --web-mode=local (default 46764)

Options inherited from parent commands

  -d, --debug      Enable debug logging
      --klog int   Enable Kubernetes API logging. Uses klog v-levels (0-4 are debug logs, 5-9 are tracing logs)
  -v, --verbose    Enable verbose logging

SEE ALSO

  • tilt - Multi-service development with no stress
Auto generated by spf13/cobra on 26-Apr-2024