bump upstream to 0.4.1, add the status page UI, fix CI branch triggers
Community-registry audit ahead of listing. Upstream 0.4.1 renames the model catalog (private/kimi-k2-6 → private/kimi-k3, drops qwen3-vl-30b) and serves a status page at GET /, so the package was documenting a stale model list and hiding a whole surface. Export that page as a `ui` interface alongside the existing `api` on one host, and unmask the API interface — its URL carries no credentials, so masking hid the address for nothing. PPQ_DATA_DIR stays unset deliberately. With it set, upstream persists a browser-entered key to its own config.json while the StartOS-supplied PPQ_API_KEY still wins at every restart, silently reverting the user. StartOS owns the key via the action; the status page's form renders disabled. CI never ran: build.yml's PR target and tagAndRelease.yml's push trigger both named `master` on a repo whose only branch is `main`. Point them at `main` and reset all three workflows to the package template, dropping the guard job retired in start-technologies@ed0dca2. packageRepo now names the Start9-Community fork, which is where CI runs, where the org's registry variables live, and where releases are cut. Also: drop three .catch handlers on file-model reads, which swallowed a genuine read failure into "no key configured" — readOnce already returns null for a missing file; pass null rather than an empty Mounts for the unmounted subcontainer; inline two single-use interface consts; and rewrite README/instructions against the writing guides, fixing a YAML block that claimed a /data mount the package deliberately does not make.
This commit is contained in:
17 files changed
+204
-168
No files matched your search
@@ -4,7 +4,7 @@ on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
paths-ignore: ['*.md']
|
||||
branches: ['master']
|
||||
branches: ['main']
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
|
||||
@@ -14,6 +14,4 @@ jobs:
|
||||
build:
|
||||
if: github.event.pull_request.draft == false
|
||||
uses: Start9Labs/start-technologies/.github/workflows/build.yml@master
|
||||
# with:
|
||||
# FREE_DISK_SPACE: true
|
||||
# No DEV_KEY — a PR build doesn't publish, so it doesn't need the signing key.
|
||||
@@ -6,23 +6,9 @@ on:
|
||||
- 'v*.*'
|
||||
|
||||
jobs:
|
||||
guard:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
id: ${{ steps.read.outputs.id }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- id: read
|
||||
run: |
|
||||
id="$(awk -F"'" '/id:/ {print $2; exit}' startos/manifest/index.ts)"
|
||||
echo "id=$id" >> "$GITHUB_OUTPUT"
|
||||
|
||||
release:
|
||||
needs: guard
|
||||
if: needs.guard.outputs.id != 'hello-world'
|
||||
uses: Start9Labs/start-technologies/.github/workflows/release.yml@master
|
||||
with:
|
||||
# FREE_DISK_SPACE: true
|
||||
RELEASE_REGISTRY: ${{ vars.RELEASE_REGISTRY }}
|
||||
S3_S9PKS_BASE_URL: ${{ vars.S3_S9PKS_BASE_URL }}
|
||||
secrets:
|
||||
|
||||
@@ -2,7 +2,7 @@ name: Tag and Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ['master']
|
||||
branches: ['main']
|
||||
paths-ignore: ['*.md']
|
||||
|
||||
concurrency:
|
||||
@@ -10,24 +10,10 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
guard:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
id: ${{ steps.read.outputs.id }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- id: read
|
||||
run: |
|
||||
id="$(awk -F"'" '/id:/ {print $2; exit}' startos/manifest/index.ts)"
|
||||
echo "id=$id" >> "$GITHUB_OUTPUT"
|
||||
|
||||
tag:
|
||||
needs: guard
|
||||
if: needs.guard.outputs.id != 'hello-world'
|
||||
uses: Start9Labs/start-technologies/.github/workflows/tagAndRelease.yml@master
|
||||
with:
|
||||
REFERENCE_REGISTRY: ${{ vars.REFERENCE_REGISTRY }}
|
||||
# FREE_DISK_SPACE: true
|
||||
RELEASE_REGISTRY: ${{ vars.RELEASE_REGISTRY }}
|
||||
S3_S9PKS_BASE_URL: ${{ vars.S3_S9PKS_BASE_URL }}
|
||||
secrets:
|
||||
|
||||
Reference in new issue
Block a user