OxygenFlow pipeline: typecheck, bundle, tests and packaging, offline from the image's npm cache 44e7f2609517
refs andymccall/oxygen-vscode#5
- Author
- Andy McCall @andymccall <[email protected]>
- When
- · 2026-09-28 19:39 UTC
- Signature
- ✔ signed by Andy McCall
- Hash
44e7f260951759e54b452a76ccb80cd61ab498557ba362ccdc3fd2981a9efeb6
- Depends on
- f0b06deac4b9
- Depended on by
- 0756e440f1f0 a6b460b1ec04 77998d682d47
- In bookmarks
- main
- In tags
- v0.10.0 v0.10.1 v0.10.2 v0.11.0 v0.11.1 v0.11.2 v0.13.0
- Edits
- 2 atoms, 2 tree operations, 2 files
Browse the tree at this change
added
.flow/pipeline.kdl
+25 −0
|
1 |
+ |
// oxygenhub-vscode's pipeline (OxygenFlow, docs in the oxygenflow repository): |
|
2 |
+ |
// typecheck, bundle, tests and packaging, offline in a Firecracker microVM on |
|
3 |
+ |
// Earth for every push. The hub client tests need a hub binary and skip here. |
|
4 |
+ |
schema-version 1 |
|
5 |
+ |
|
|
6 |
+ |
// The OxygenFlow build image (oxygenflow/images/rust), with an npm cache of |
|
7 |
+ |
// this repository's package-lock.json. Rebuild and re-pin it when that changes. |
|
8 |
+ |
sandbox "node" { |
|
9 |
+ |
runtime "microvm" |
|
10 |
+ |
rootfs "cas://blob/85c744e509d45118942a8ca77408d56894bf7833fa806d20d08511cc90bc5024" |
|
11 |
+ |
memory-limit "2GiB" |
|
12 |
+ |
cpu-limit 2 |
|
13 |
+ |
network "loopback" |
|
14 |
+ |
} |
|
15 |
+ |
|
|
16 |
+ |
job "check" { |
|
17 |
+ |
sandbox "node" |
|
18 |
+ |
exec "sh" "-euc" "npm ci --offline --cache /opt/npm-cache --no-audit --no-fund && npm run check" |
|
19 |
+ |
} |
|
20 |
+ |
|
|
21 |
+ |
job "package" { |
|
22 |
+ |
sandbox "node" |
|
23 |
+ |
depends-on "check" |
|
24 |
+ |
exec "sh" "-euc" "npm ci --offline --cache /opt/npm-cache --no-audit --no-fund && npm run package" |
|
25 |
+ |
} |
modified
.vscodeignore
+2 −0
|
|
… |
7 unchanged lines |
| 8 |
8 |
|
tsconfig.json |
| 9 |
9 |
|
**/*.map |
| 10 |
10 |
|
docs/** |
|
11 |
+ |
.flow/** |
|
12 |
+ |
*.vsix |