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,15 +9,28 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Build Backend') {
|
stage('Build') {
|
||||||
steps {
|
parallel {
|
||||||
container('python') {
|
stage('Build Backend') {
|
||||||
dir('svc') {
|
steps {
|
||||||
sh '. ../ci/build-svc.sh'
|
container('python') {
|
||||||
|
dir('svc') {
|
||||||
|
sh '. ../ci/build-svc.sh'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
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