wip: ci: build in kubernetes
dustin/mqttdpms/pipeline/pr-master There was a failure building this commit
Details
dustin/mqttdpms/pipeline/pr-master There was a failure building this commit
Details
parent
dc65ca444c
commit
d05a4868bc
|
@ -1,13 +0,0 @@
|
||||||
FROM rust:1.59.0-slim
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get install -y \
|
|
||||||
cmake \
|
|
||||||
git \
|
|
||||||
libssl-dev \
|
|
||||||
libx11-dev \
|
|
||||||
libxext-dev \
|
|
||||||
pkg-config \
|
|
||||||
&& \
|
|
||||||
apt-get clean && \
|
|
||||||
rm -rf /var/cache/apt /var/lib/apt
|
|
|
@ -10,9 +10,9 @@ pipeline {
|
||||||
parallel {
|
parallel {
|
||||||
stage('Build: x86_64') {
|
stage('Build: x86_64') {
|
||||||
agent {
|
agent {
|
||||||
dockerfile {
|
kubernetes {
|
||||||
label 'x86_64'
|
yamlFile 'ci/podTemplate.yaml'
|
||||||
dir 'ci'
|
nodeSelector 'kubernetes.io/arch=amd64'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
@ -27,9 +27,9 @@ pipeline {
|
||||||
|
|
||||||
stage('Build: aarch64') {
|
stage('Build: aarch64') {
|
||||||
agent {
|
agent {
|
||||||
dockerfile {
|
kubernetes {
|
||||||
label 'aarch64'
|
yamlFile 'ci/podTemplate.yaml
|
||||||
dir 'ci'
|
nodeSelector 'kubernetes.io/arch=arm64'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: build
|
||||||
|
image: git.pyrocufflink.net/containerimages/build/mqttdpms
|
||||||
|
command:
|
||||||
|
- cat
|
||||||
|
stdin: true
|
||||||
|
tty: true
|
Loading…
Reference in New Issue