Skip to content

Commit fe54409

Browse files
committed
Merge branch 'codex/sdn-browser-ui' into main
2 parents 4c94d8c + 862c29b commit fe54409

285 files changed

Lines changed: 18707 additions & 15206 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docker-publish.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,19 @@ jobs:
3535
- name: Checkout repository
3636
uses: actions/checkout@v4
3737

38+
- name: Set up Node.js
39+
uses: actions/setup-node@v4
40+
with:
41+
node-version: '20'
42+
cache: 'npm'
43+
cache-dependency-path: sdn-js/package-lock.json
44+
45+
- name: Build shared admin shell assets
46+
working-directory: sdn-js
47+
run: |
48+
npm ci
49+
npm run build:ui
50+
3851
- name: Check if Dockerfile exists
3952
id: check
4053
run: |
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build Linux VM Bundle
2+
3+
on:
4+
push:
5+
branches: [main]
6+
tags: ['v*']
7+
workflow_dispatch:
8+
9+
jobs:
10+
build-vm-bundle:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Set up Go
17+
uses: actions/setup-go@v5
18+
with:
19+
go-version-file: sdn-server/go.mod
20+
cache-dependency-path: sdn-server/go.sum
21+
22+
- name: Set up Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: '20'
26+
cache: 'npm'
27+
cache-dependency-path: sdn-js/package-lock.json
28+
29+
- name: Install sdn-js dependencies
30+
working-directory: sdn-js
31+
run: npm ci
32+
33+
- name: Install WasmEdge
34+
run: ./scripts/install-wasmedge.sh
35+
36+
- name: Build Linux VM bundle
37+
run: ./deployment/scripts/package-linux-vm-bundle.sh
38+
39+
- name: Upload Linux VM bundle
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: linux-vm-bundle
43+
path: dist/linux-vm/*.tar.gz

0 commit comments

Comments
 (0)