Misc snippets & Examples

To ingest a local git repo, use this ImportRef:

"ingest:git:.:HEAD"

To ingest a local filesystem (using tar as the pack format), use this ImportRef:

"ingest:pack:tar:./"

To wiggle a host mount into a container through module imports, use this ImportRef:

ingest:literal:mount:ro:/etc/host/mount/path

(This might be useful for making secrets available to a container in a build pipeline, for example. But be careful with this feature! It (obviously) makes your system unreproducible on other machines without the same host state!)

Note: in order to do this in a Repeatr Formula inputs (as contrasted to Module imports), use this shorter string:

mount:ro:/etc/host/mount/path