File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 3030 fail-fast : true
3131 steps :
3232 - uses : actions/checkout@v6
33+ with :
34+ path : kubernetes-dashboard
35+
36+ - uses : pnpm/action-setup@v4
37+ name : Install pnpm
38+ with :
39+ run_install : false
40+ package_json_file : ./kubernetes-dashboard/package.json
41+
42+ - uses : actions/setup-node@v6
43+ with :
44+ node-version : 22
3345
3446 - name : Update podman to 5.x
3547 if : runner.os == 'Linux'
7789 curl -sL "https://github.com/podman-desktop/podman-desktop/releases/download/v${PD_VERSION}/podman-desktop-${PD_VERSION}.tar.gz" | tar xvz
7890 # Move the extracted folder to the podman-desktop folder
7991 mv podman-desktop-${PD_VERSION}/ podman-desktop/
92+
93+ - name : Execute pnpm in extension
94+ working-directory : ./kubernetes-dashboard
95+ run : pnpm install --no-frozen-lockfile
96+
97+ - name : Build Image
98+ working-directory : ./kubernetes-dashboard
99+ id : build-image
100+ run : |
101+ pnpm build
102+ podman build -t local_extension_image -f build/Containerfile ./
103+ CONTAINER_ID=$(podman create localhost/local_extension_image --entrypoint "")
104+ mkdir -p tests/extension_sources/
105+ podman export $CONTAINER_ID | tar -x -C tests/extension_sources/
106+ podman rm -f $CONTAINER_ID
107+ podman rmi -f localhost/local_extension_image:latest
108+
109+ - name : show extension files
110+ working-directory : ./kubernetes-dashboard
111+ run : |
112+ ls -laR tests/extension_sources/
You can’t perform that action at this time.
0 commit comments