Move hello to the example channel
The smoke test installs means instead, the smallest package left in main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
58e271967b
commit
fec3c120f4
4 files changed
+10
-11
No files matched your search
@@ -78,8 +78,8 @@ jobs:
|
||||
- name: Smoke test
|
||||
run: |
|
||||
export ORBIT_ROOT="$RUNNER_TEMP/orbit-smoke"
|
||||
dist/orbit-linux-x86_64 install hello
|
||||
"$ORBIT_ROOT/bin/hello"
|
||||
dist/orbit-linux-x86_64 install means
|
||||
"$ORBIT_ROOT/bin/means" version
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
||||
@@ -102,8 +102,9 @@ The manifest has `artifactType` `application/vnd.latha.orbit.index.v1` and one J
|
||||
orbit login git.site.latha.org # once, with a Gitea token (needed to publish)
|
||||
eval "$(orbit env)"
|
||||
|
||||
orbit publish examples/hello
|
||||
orbit install hello
|
||||
orbit channel add example git.site.latha.org/nandi/example # once
|
||||
orbit publish examples/hello --channel example
|
||||
orbit install example::hello
|
||||
hello # -> hello from orbit
|
||||
orbit upgrade
|
||||
orbit rollback hello
|
||||
@@ -116,7 +117,7 @@ Inside a directory with `orbit.toml` (or pass `--manifest-path <path>`), command
|
||||
|
||||
```sh
|
||||
orbit new myapp && cd myapp
|
||||
orbit add hello example::greet
|
||||
orbit add example::hello example::greet
|
||||
orbit run greet
|
||||
orbit lock --update
|
||||
orbit install --locked
|
||||
@@ -137,14 +138,14 @@ name = "example"
|
||||
url = "git.site.latha.org/nandi/example"
|
||||
|
||||
[dependencies]
|
||||
hello = "^1.0.0"
|
||||
hello = { version = "^1.0.0", channel = "example" }
|
||||
greet = { version = ">=1.0.0, <2.0.0", channel = "example" }
|
||||
|
||||
[tasks]
|
||||
hi = "greet"
|
||||
```
|
||||
|
||||
See [examples/project](examples/project/README.md) for a working example project using `hello` and `example::greet`.
|
||||
See [examples/project](examples/project/README.md) for a working example project using `example::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.
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
# greet
|
||||
|
||||
`greet` is an example Orbit package from the `example` channel. It installs a
|
||||
small greeting command and depends on `hello` from the built-in `main`
|
||||
channel.
|
||||
small greeting command and depends on `hello` from the same channel.
|
||||
|
||||
- [Installation and usage](files/share/doc/greet/README.md)
|
||||
- [Package on Gitea](https://git.site.latha.org/nandi/-/packages/container/example%2Fgreet/latest)
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
# greet
|
||||
|
||||
`greet` is a small Orbit package that demonstrates installing from a custom
|
||||
channel. It depends on the `hello` package from Orbit's built-in `main`
|
||||
channel.
|
||||
channel. It depends on the `hello` package from the same channel.
|
||||
|
||||
```sh
|
||||
# Add the example channel once.
|
||||
|
||||
Reference in new issue
Block a user