draft: ci: add ui build step
dustin/hudctrl/pipeline/head Something is wrong with the build of this commit
Details
dustin/hudctrl/pipeline/head Something is wrong with the build of this commit
Details
parent
e7ace41657
commit
b9c7b0a1dd
|
@ -9,6 +9,8 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
stage('Build') {
|
||||||
|
parallel {
|
||||||
stage('Build Backend') {
|
stage('Build Backend') {
|
||||||
steps {
|
steps {
|
||||||
container('python') {
|
container('python') {
|
||||||
|
@ -18,6 +20,17 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
stage('Build Frontent') {
|
||||||
|
steps {
|
||||||
|
container('node') {
|
||||||
|
dir('ui') {
|
||||||
|
sh '. ../ci/build-ui.sh'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh -ex
|
||||||
|
|
||||||
|
npm install
|
||||||
|
npm run build
|
|
@ -5,3 +5,8 @@ spec:
|
||||||
command:
|
command:
|
||||||
- sleep
|
- sleep
|
||||||
- infinity
|
- infinity
|
||||||
|
- name: node
|
||||||
|
image: docker.io/node:16-bullseye-slim
|
||||||
|
command:
|
||||||
|
- sleep
|
||||||
|
- infinity
|
||||||
|
|
Loading…
Reference in New Issue