instabox 0.8.9 → 0.8.10
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
|
+
18d4f64cfc257bb332c6fd9d8906da2ba33e4d8d198a4967f27b3627b362a973 instabox-darwin-amd64
|
|
2
|
+
caa66d800e41b806b49839b5d24352c692bc66df7c664ac4c8be37df9cddd78d instabox-darwin-arm64
|
|
3
|
+
f76fbb432d06b7291fe697ad76b3bd53dce2a4c445a4cde1e22145d5eafa1238 instabox-linux-amd64
|
|
4
|
+
4fe5191be15a8eeabafe7b8ca5d4e5118e7329cd3bc9ad0a00c95e28d364dca0 instabox-linux-arm64
|
|
5
|
+
2780378439b6d9520dd566037f2fe3ec7e20120a29193807ebff7443cd2a687f instabox-windows-amd64.exe
|
|
6
|
+
bcbe37f6429089ee42665f1ac8be15f1849229985c64fea2234506b564ca8a3d 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
|
|