Add example project with locked dependencies and tasks

- Add examples/project with orbit.toml declaring hello and greet (example channel)
- Pin resolved versions and digests in orbit.lock
- Add demo.sh and a demo task that calls hello and greet from .orbit/bin
- Ignore the generated .orbit/ directory and document usage in its README
- Link the example from the main README
This commit is contained in:
nandi committed 2026-11-28 12:13:00 -08:00
1 parent 13aa7d7f77
commit 3ca9e8ed1d
6 files changed
+83

No files matched your search

+2
View File
@@ -101,6 +101,8 @@ greet = { version = ">=1.0.0, <2.0.0", channel = "example" }
hi = "greet"
```
See [examples/project](examples/project/README.md) for a working example project using `hello` and `example::greet`.
Credentials are stored in `~/.orbit/auth.json` (`$ORBIT_ROOT/auth.json`, mode `0600`). Orbit also falls back to `~/.docker/config.json` (`$DOCKER_CONFIG/config.json`) including `credHelpers` and `credsStore`. Use `orbit logout <host>` to remove stored credentials from Orbit.
## Channels