Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ jobs:
if [ -n "${prerelease}" ]; then
add ''
add 'This is a prerelease: the plain one-liner does not install it. To try it:'
add " curl -fsSL https://raw.githubusercontent.com/rossoctl/cortex/main/scripts/install.sh | sh -s -- --ref=${TAG}"
add " curl -fsSL https://www.rossoctl.dev/cortex/install.sh | sh -s -- --ref=${TAG}"
fi
# The rolling release is not a release, and its notes should not read like
# one — someone landing on it from a search result needs to know that
Expand All @@ -249,7 +249,7 @@ jobs:
add 'Unreleased build from the tip of `main`, rebuilt on every merge. Not a release.'
add ''
add 'Install with:'
add ' curl -fsSL https://raw.githubusercontent.com/rossoctl/cortex/main/scripts/install.sh | sh -s -- --ref=main'
add ' curl -fsSL https://www.rossoctl.dev/cortex/install.sh | sh -s -- --ref=main'
add ''
add 'Each binary reports its own build (`agentop --version` -> `main-<sha>`). For a'
add 'supported install, use the plain one-liner, which installs the newest stable release.'
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ Testers install it by name — the release page prints the same command — and
one-liner takes them back to the newest stable release afterwards:

```sh
curl -fsSL https://raw.githubusercontent.com/rossoctl/cortex/main/scripts/install.sh \
curl -fsSL https://www.rossoctl.dev/cortex/install.sh \
| sh -s -- --ref=v0.9.0-rc.1
```

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ One binary, no Kubernetes. macOS or Linux, amd64 or arm64.
Change both, or they drift — the --ref wording already did once. -->

```sh
curl -fsSL https://raw.githubusercontent.com/rossoctl/cortex/main/scripts/install.sh | sh
curl -fsSL https://www.rossoctl.dev/cortex/install.sh | sh
```

Setup lists every change it will make, and asks once.
Setup lists every change it will make, and asks once. If rossoctl.dev is unreachable
from where you are, the same script is served straight from this repository, at
`https://raw.githubusercontent.com/rossoctl/cortex/main/scripts/install.sh`.

Then connect your agent — once, in a new terminal. The table below has each command.

Expand Down
2 changes: 1 addition & 1 deletion cmd/agentop/setup_step_binaries.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

// installerOneLiner is the fix for "nothing is installed": the documented install.
const installerOneLiner = "curl -fsSL https://raw.githubusercontent.com/rossoctl/cortex/main/authbridge/install.sh | sh"
const installerOneLiner = "curl -fsSL https://www.rossoctl.dev/cortex/install.sh | sh"

// setupBinaryNames are what the binaries step installs; cortex-session-dump only
// when the installer staged it (its fetch is never fatal).
Expand Down
76 changes: 38 additions & 38 deletions docs/assets/cortex-demo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# install.sh — one-line installer for Cortex on a local machine.
#
# curl -fsSL https://raw.githubusercontent.com/rossoctl/cortex/main/scripts/install.sh | sh
# curl -fsSL https://www.rossoctl.dev/cortex/install.sh | sh
#
# Detects your OS/arch, downloads the prebuilt `agentop` and `cortex` binaries for
# the newest stable release, verifies their SHA-256 checksums, and stages them in a
Expand Down Expand Up @@ -155,7 +155,7 @@ usage() {
install.sh — install Cortex on a local machine (macOS/Linux, amd64/arm64).

Usage:
curl -fsSL https://raw.githubusercontent.com/rossoctl/cortex/main/scripts/install.sh | sh
curl -fsSL https://www.rossoctl.dev/cortex/install.sh | sh
curl -fsSL ...install.sh | sh -s -- [option]

Downloads agentop and cortex for the newest stable release, verifies their checksums
Expand Down Expand Up @@ -439,7 +439,8 @@ if [ -n "${_reexec}" ]; then
# Explicitly asked for the channel, by either name. `main` is the documented
# spelling; CHANNEL_TAG is what the Releases page shows, so someone who saw the
# title there will type that instead and must get the same thing. This copy
# already is main, so there is nothing to re-exec.
# already is main — piped from www.rossoctl.dev, main as of the site's last
# deploy — so there is nothing to re-exec.
SCRIPT_REF="main"
VERSION_REF="main"
else
Expand Down
2 changes: 1 addition & 1 deletion scripts/readme-demo/demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ acts:
kind: shell
runtime: 13s
steps:
- cmd: "curl -fsSL https://raw.githubusercontent.com/rossoctl/cortex/main/scripts/install.sh | sh"
- cmd: "curl -fsSL https://www.rossoctl.dev/cortex/install.sh | sh"
out:
- " rosso cortex · installer v0.9.3 · darwin/arm64"
- " \e[38;5;167m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\e[0m 100% 15.6 MB · sha256 ✓ 2.0s"
Expand Down
Loading