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].
-
Build
We can use a
remote executorto build heavy base images for functions withImagebuild kind. Make sure you commit and push your changes to the current branch.tcruns the build by checking out the branch on the remote executor.Terminal window cd any-function-dirtc build --remoteYou could optionally sync those build images locally using
tc build --sync. This is not required if your workflow is completely via remote executor. -
Create
We can create topologies from their respective directories via the
remote executor. The default options are--sync --trace.Terminal window cd topologytc create -s sandbox -e profile --remote -
Update
We can update any branch in the tree recursively or otherwise via the
remote executor. This is incredibly useful to selectivelypatcha subgraph in the topology or a specific node.Terminal window cd topology-or-function-dirtc update -s sandbox -e profile --remote