Releases and review
Your app on SleekSky
- The platform creates your app with its
idand name.sleeksky.json'sidis that id: it's how publishing knows which app the folder is. A release for an id the platform hasn't created is refused. - The platform adds the people who publish it, by email, each with a role. Admins can add more from the app's People tab.
| Role | Publishes | A changed sleeksky.json |
Supplied secrets | People |
|---|---|---|---|---|
| Admin | yes | goes live at once | sets and clears | adds, removes, changes roles |
| Developer | yes | waits for the platform's review | sees which are set | sees the list |
Publishing
npx @sleeksky/cli publish \
--notes "First line|Second line" [--data-note "Adds 2 tables"] [--security] [--allow-destructive "why"]
- Version:
"version"insleeksky.json, like package.json's:YYYY.M.NorMAJOR.MINOR.PATCH. Raise it for each release: a version that's already published, or lower than the last one, is refused. Changing it isn't a manifest change, so it's never reviewed. - Run it in the folder with
sleeksky.json. It checks migrations only add, runsrelease.build, bundles withrelease.config, uploads code, migrations and static files, and registers the release. - Signing in. The first time, the CLI makes a random token on your computer and opens a page in the console
(
--no-browseronly prints the link). Sign in with the email the platform added, check the page shows the code your terminal shows, and approve. From then on that computer publishes that app as you for 30 days. The sign-in is kept in~/.sleeksky/credentials.json;npx @sleeksky/cli logoutforgets it, and the People tab lists every signed-in computer, which you (or an admin) can sign out. Taking a person off the app stops their sign-ins at once. - Only approve a sign-in you just started yourself. If someone sends you a sign-in link, turn it down.
- It publishes to
https://apps.sleeksky.comunlessSLEEKSKY_CONSOLE(or--console <url>) names another console. This console ishttps://apps.sleeksky.com. - Supplied secrets:
printf %s "$VALUE" | npx @sleeksky/cli secret set --name NAME,npx @sleeksky/cli secret clear --name NAME,npx @sleeksky/cli secret list.
Review
- From a developer, the first manifest and every change to it (anything but
versionandrelease) is reviewed by a person. The release is held until then; no instance gets it. - From an admin, a changed manifest is approved as it's published, unless its product SKUs belong to another app (then it waits for review too).
- Code-only releases roll out without review.
- Your Developer page shows the listing as it will appear, and the pending one beside it.
Rollout
Customers get releases by their update channel: Automatic (in waves), Manual, Early access or Pinned. --security
releases are forced on Manual instances after 14 days. An owner can also pause updates on one app: nothing installs
on it, security releases included, until they install a version by hand or resume. A failed /_health after a deploy rolls the instance back.