ci: Begin Jenkins build pipeline
dustin/hudctrl/pipeline/head There was a failure building this commit
Details
dustin/hudctrl/pipeline/head There was a failure building this commit
Details
parent
3c5ee6fa00
commit
3555c07aa0
|
@ -0,0 +1,23 @@
|
|||
// vim: set sw=4 ts=4 sts=4 et :
|
||||
// vim: set ft=groovy :
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
kubernetes {
|
||||
yamlFile 'ci/podTemplate.yaml'
|
||||
}
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Build Backend') {
|
||||
steps {
|
||||
container('python') {
|
||||
dir('svc') {
|
||||
sh '. ../ci/build-svc.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh -ex
|
||||
|
||||
python -m venv .venv
|
||||
.venv/bin/python -m pip install -U pip setuptools wheel
|
||||
.venv/bin/python -m pip install poetry
|
||||
|
||||
.venv/bin/poetry build
|
|
@ -0,0 +1,7 @@
|
|||
spec:
|
||||
containers:
|
||||
- name: python
|
||||
image: docker.io/python:3.10
|
||||
command:
|
||||
- sleep
|
||||
- infinity
|
Loading…
Reference in New Issue