Skip to content

codeintel: Make docker/firecracker abstraction in indexer

Administrator requested to merge ef/indexer-runner into main

Created by: efritz

This adds an interface CommandFormatter that prepares shell commands to be invoked on the host. There are two concrete implementations: dockerCommandFormatter, which uses plain docker containers so that we can run in a non-firecracker environment (testing and dev), and firecrackerCommandFormatter, which wraps docker commands in ignite. The latter environment needs an explicit setup/teardown step.

Merge request reports

Loading