instabox 0.8.9 → 0.8.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/SHA256SUMS +6 -6
- package/cli/instabox-darwin-amd64 +0 -0
- package/cli/instabox-darwin-arm64 +0 -0
- package/cli/instabox-linux-amd64 +0 -0
- package/cli/instabox-linux-arm64 +0 -0
- package/cli/instabox-windows-amd64.exe +0 -0
- package/cli/instabox-windows-arm64.exe +0 -0
- package/package.json +1 -1
- package/skills/instabox/SKILL.md +11 -4
package/cli/SHA256SUMS
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
b790ef7a0a0061739327a4dd72cc7ef924b58cf8340fd033426aa2d60753a59b instabox-darwin-amd64
|
|
2
|
+
2057c2ce9caf54afb785c272a5d970be78ecd85974506d273525e5e13c343396 instabox-darwin-arm64
|
|
3
|
+
ffa924da20c7db0b437cd4d829d83e13ff56283cab71fa7b464992082f7131a1 instabox-linux-amd64
|
|
4
|
+
116fe6e04f9102a3e9770995b4f553c79583f6317316c91f5ae623698cb4d5db instabox-linux-arm64
|
|
5
|
+
bda55c61293157f07db5068f6110038688e180d7784a84ac6012b21ef2a979d7 instabox-windows-amd64.exe
|
|
6
|
+
090dd5aef606ded11d2c22c6da0d6870136e0f0b647f05ce4555a799a9c15afb instabox-windows-arm64.exe
|
|
Binary file
|
|
Binary file
|
package/cli/instabox-linux-amd64
CHANGED
|
Binary file
|
package/cli/instabox-linux-arm64
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/skills/instabox/SKILL.md
CHANGED
|
@@ -142,14 +142,21 @@ instabox webhooks events # the event types
|
|
|
142
142
|
|
|
143
143
|
## CI (GitHub Actions)
|
|
144
144
|
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
When the user asks to run their CI on instabox, set up `runs-on: instabox-medium` in their repo, end to end. Each job then runs on a fresh Ubuntu 24.04 box (like `ubuntu-latest`) that is deleted when the job ends.
|
|
146
|
+
|
|
147
|
+
1. Get OWNER/REPO: `gh repo view --json owner,name,visibility --jq '.owner.login+"/"+.name+" "+.visibility'`. Jobs of a public repository are refused; say so and stop if it's public. Then run `instabox ci` (with `--org ORG` for a workspace): if it says GitHub Actions jobs aren't open on this account yet, use the CLI way below instead.
|
|
148
|
+
2. Send the user the App link, https://dashboard.instabox.sh/auth/github-app/install (for a workspace other than their personal one, add `?org=ORG_ID` from `instabox workspace ls`; linking takes an owner or admin of it). Ask them to install the App on OWNER, give it access to REPO and link it to the workspace, and wait until they say it's done. You can't do this step for them.
|
|
149
|
+
3. Change `runs-on:` of the jobs to move to `instabox-medium` (4 vCPU / 8 GiB), or `instabox-small` (2 / 4) or `instabox-large` (8 / 16) where the plan has them (the free plan runs `instabox-medium` only; any other `instabox` label, `instabox` alone included, is refused). Leave the steps alone; the jobs' secrets stay GitHub Actions secrets, as the box gets none of the user's instabox secrets.
|
|
150
|
+
4. Show the user the diff and push only with their OK.
|
|
151
|
+
5. Check the first run: `gh run watch`, and `instabox ci` (with `--org ORG` for a workspace) shows each job's state and why it waits or was refused. When nothing is linked, `instabox ci` says so and prints the App install link to send. A job that stays queued on GitHub with nothing in `instabox ci` means the App has no access to REPO; go back to step 2.
|
|
152
|
+
|
|
153
|
+
For another CI, or a job that must stay on GitHub's runner, a step runs one command in a box with the CLI, with INSTABOX_API_KEY from a CI secret:
|
|
147
154
|
|
|
148
155
|
```sh
|
|
149
|
-
instabox run --push . --timeout 10m -e CI=1 -- 'npm ci && npm test'
|
|
156
|
+
instabox run --push . --timeout 10m -e CI=1 -- 'npm ci && npm test'
|
|
150
157
|
```
|
|
151
158
|
|
|
152
|
-
|
|
159
|
+
Both ways, their limits and the reasons a job is refused: https://instabox.sh/docs/ci.md
|
|
153
160
|
|
|
154
161
|
## Moving work onto a box
|
|
155
162
|
|