Skip to content

Remote Development

Most tc commands can optionally run in a remote executor - typically your CI environment or a container in the cloud.

We can configure the executor to use in config.executor.provider [See Configuration].

  1. Build

    We can use a remote executor to build heavy base images for functions with Image build kind. Make sure you commit and push your changes to the current branch. tc runs the build by checking out the branch on the remote executor.

    Terminal window
    cd any-function-dir
    tc build --remote

    You could optionally sync those build images locally using tc build --sync. This is not required if your workflow is completely via remote executor.

  2. Create

    We can create topologies from their respective directories via the remote executor. The default options are --sync --trace.

    Terminal window
    cd topology
    tc create -s sandbox -e profile --remote
  3. Update

    We can update any branch in the tree recursively or otherwise via the remote executor. This is incredibly useful to selectively patch a subgraph in the topology or a specific node.

    Terminal window
    cd topology-or-function-dir
    tc update -s sandbox -e profile --remote