You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The handler only matches single-label arrays containing `ubuntu-24.04-riscv` today. Anything else returns `(_, _, false)` and is ignored with `outcome=IGNORED_NO_LABEL`. New labels are added by extending `matchLabelsToK8s`.
63
63
@@ -99,7 +99,7 @@ On `workflow_job.in_progress`, the handler updates `status` to `running` and set
99
99
100
100
| Variable | Purpose |
101
101
|---|---|
102
-
|`PROD`|`true` to use the `prod` schema and `*-latest` image tags, otherwise `staging` schema and `*-staging` tags |
102
+
|`PROD`|`true` to use the `prod` schema and `*-prod` image tags, otherwise `staging` schema and `*-staging` tags |
103
103
|`PROD_URL`, `STAGING_URL`| URL of the prod/staging ghfe; used by the staging proxy |
104
104
|`POSTGRES_URL`| PostgreSQL connection string |
105
105
|`GHAPP_WEBHOOK_SECRET`| Shared HMAC secret used by both apps |
Copy file name to clipboardExpand all lines: website/docs/architecture/images.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ A single `build-runner` matrix job builds the runner image. Currently only `ubun
59
59
-**Platform:**`linux/riscv64`, built natively on self-hosted `ubuntu-24.04-riscv` runners. No QEMU emulation in the build path.
60
60
-**Caching:** GitHub Actions Cache (`type=gha`) for Docker layer reuse. A concurrency group ensures only one build runs per scope.
61
61
-**Registry choice:** Scaleway for `riseproject-dev/main`, `ghcr.io` for other internal branches, a tar artifact for external PRs.
62
-
-**Deploy:** after `main` builds, `deploy-staging` retags `:ubuntu-24.04-staging`, then `deploy-prod` retags `:ubuntu-24.04-latest` after an environment-gated approval. Both deploys `kubectl rollout restart daemonset/rise-riscv-runner-device-plugin` so each node pre-pulls the new image via the init container in the daemonset.
62
+
-**Deploy:** after `main` builds, `deploy-staging` retags `:ubuntu-24.04-staging`, then `deploy-prod` retags `:ubuntu-24.04-prod` after an environment-gated approval. Both deploys `kubectl rollout restart daemonset/rise-riscv-runner-device-plugin` so each node pre-pulls the new image via the init container in the daemonset.
Copy file name to clipboardExpand all lines: website/docs/operations/runbooks.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,6 +146,6 @@ Best run on a RISC-V host so no emulation is involved. On x86_64, `binfmt_misc`
146
146
147
147
1. Merge a PR that changes `images/**`. CI builds `:ubuntu-24.04-sha-<sha>` and pushes it.
148
148
2.`deploy-staging` retags as `:ubuntu-24.04-staging`, then `kubectl rollout restart daemonset/rise-riscv-runner-device-plugin -n kube-system`. The init container in the daemonset pre-pulls the new image to every node.
149
-
3. The `deploy-prod` job waits for an environment-gated approval before retagging as `:ubuntu-24.04-latest`. New runner pods provisioned after that point pull the new image.
149
+
3. The `deploy-prod` job waits for an environment-gated approval before retagging as `:ubuntu-24.04-prod`. New runner pods provisioned after that point pull the new image.
150
150
151
151
A runner pod that is currently running an old image will keep that image for the duration of its job. Image updates are not retroactive.
0 commit comments